?? winboard.cs
字號:
this.countLabel.TabIndex = 0;
this.countLabel.Text = "Count of rows";
this.countLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// adminButton
//
this.adminButton.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.adminButton.Location = new System.Drawing.Point(304, 16);
this.adminButton.Name = "adminButton";
this.adminButton.Size = new System.Drawing.Size(80, 24);
this.adminButton.TabIndex = 1;
this.adminButton.Text = "Admin";
this.adminButton.Click += new System.EventHandler(this.adminButton_Click);
//
// mainGrid
//
this.mainGrid.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right);
this.mainGrid.CaptionVisible = false;
this.mainGrid.DataMember = "";
this.mainGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.mainGrid.Location = new System.Drawing.Point(0, 56);
this.mainGrid.Name = "mainGrid";
this.mainGrid.ReadOnly = true;
this.mainGrid.Size = new System.Drawing.Size(480, 232);
this.mainGrid.TabIndex = 3;
this.mainGrid.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
this.tableStyle});
this.mainGrid.MouseDown += new System.Windows.Forms.MouseEventHandler(this.mainGrid_Click);
//
// tableStyle
//
this.tableStyle.DataGrid = this.mainGrid;
this.tableStyle.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
this.idStyle,
this.stepStyle,
this.titleStyle,
this.writerStyle,
this.emailStyle,
this.uploadStyle,
this.hitStyle,
this.dateStyle});
this.tableStyle.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.tableStyle.MappingName = "board";
this.tableStyle.RowHeadersVisible = false;
//
// stepStyle
//
this.stepStyle.Format = "";
this.stepStyle.FormatInfo = null;
this.stepStyle.HeaderText = "Step";
this.stepStyle.MappingName = "step";
this.stepStyle.Width = 0;
//
// titleStyle
//
this.titleStyle.Format = "";
this.titleStyle.FormatInfo = null;
this.titleStyle.HeaderText = "Title";
this.titleStyle.MappingName = "title";
this.titleStyle.Width = 300;
//
// writerStyle
//
this.writerStyle.Format = "";
this.writerStyle.FormatInfo = null;
this.writerStyle.HeaderText = "Writer";
this.writerStyle.MappingName = "writer";
this.writerStyle.Width = 75;
//
// emailStyle
//
this.emailStyle.Format = "";
this.emailStyle.FormatInfo = null;
this.emailStyle.HeaderText = "Email";
this.emailStyle.MappingName = "email";
this.emailStyle.Width = 20;
//
// uploadStyle
//
this.uploadStyle.Format = "";
this.uploadStyle.FormatInfo = null;
this.uploadStyle.HeaderText = "File";
this.uploadStyle.MappingName = "upload";
this.uploadStyle.Width = 20;
//
// hitStyle
//
this.hitStyle.Format = "";
this.hitStyle.FormatInfo = null;
this.hitStyle.HeaderText = "Hit";
this.hitStyle.MappingName = "hit";
this.hitStyle.Width = 20;
//
// dateStyle
//
this.dateStyle.Format = "";
this.dateStyle.FormatInfo = null;
this.dateStyle.HeaderText = "Date";
this.dateStyle.MappingName = "createdDate";
this.dateStyle.Width = 20;
//
// inputPanel
//
this.inputPanel.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right);
this.inputPanel.Controls.AddRange(new System.Windows.Forms.Control[] {
this.bottomGroup,
this.topGroup});
this.inputPanel.Location = new System.Drawing.Point(8, 8);
this.inputPanel.Name = "inputPanel";
this.inputPanel.Size = new System.Drawing.Size(480, 352);
this.inputPanel.TabIndex = 0;
this.inputPanel.Visible = false;
//
// bottomGroup
//
this.bottomGroup.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right);
this.bottomGroup.Controls.AddRange(new System.Windows.Forms.Control[] {
this.uploadButton,
this.uploadBox,
this.uploadLabel,
this.msgLabel,
this.pwdLabel,
this.emailLabel,
this.writerLabel,
this.titleLabel,
this.titleBox,
this.writerBox,
this.pwdBox,
this.msgBox,
this.emailBox});
this.bottomGroup.Location = new System.Drawing.Point(0, 56);
this.bottomGroup.Name = "bottomGroup";
this.bottomGroup.Size = new System.Drawing.Size(480, 288);
this.bottomGroup.TabIndex = 0;
this.bottomGroup.TabStop = false;
this.bottomGroup.Text = "Contents";
//
// uploadButton
//
this.uploadButton.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
this.uploadButton.Location = new System.Drawing.Point(368, 256);
this.uploadButton.Name = "uploadButton";
this.uploadButton.Size = new System.Drawing.Size(96, 23);
this.uploadButton.TabIndex = 13;
this.uploadButton.Click += new System.EventHandler(this.uploadButton_Click);
//
// uploadBox
//
this.uploadBox.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
this.uploadBox.Location = new System.Drawing.Point(80, 256);
this.uploadBox.MaxLength = 300;
this.uploadBox.Name = "uploadBox";
this.uploadBox.Size = new System.Drawing.Size(280, 21);
this.uploadBox.TabIndex = 12;
this.uploadBox.Text = "";
//
// msgLabel
//
this.msgLabel.Location = new System.Drawing.Point(8, 112);
this.msgLabel.Name = "msgLabel";
this.msgLabel.Size = new System.Drawing.Size(64, 23);
this.msgLabel.TabIndex = 0;
this.msgLabel.Text = "Message";
this.msgLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// pwdLabel
//
this.pwdLabel.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
this.pwdLabel.Location = new System.Drawing.Point(8, 224);
this.pwdLabel.Name = "pwdLabel";
this.pwdLabel.Size = new System.Drawing.Size(64, 23);
this.pwdLabel.TabIndex = 0;
this.pwdLabel.Text = "Password";
this.pwdLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// emailLabel
//
this.emailLabel.Location = new System.Drawing.Point(8, 80);
this.emailLabel.Name = "emailLabel";
this.emailLabel.Size = new System.Drawing.Size(64, 23);
this.emailLabel.TabIndex = 0;
this.emailLabel.Text = "E-mail";
this.emailLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// titleLabel
//
this.titleLabel.Location = new System.Drawing.Point(8, 16);
this.titleLabel.Name = "titleLabel";
this.titleLabel.Size = new System.Drawing.Size(64, 23);
this.titleLabel.TabIndex = 0;
this.titleLabel.Text = "Title";
this.titleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// writerBox
//
this.writerBox.Location = new System.Drawing.Point(80, 48);
this.writerBox.MaxLength = 50;
this.writerBox.Name = "writerBox";
this.writerBox.Size = new System.Drawing.Size(192, 21);
this.writerBox.TabIndex = 8;
this.writerBox.Text = "";
//
// pwdBox
//
this.pwdBox.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
this.pwdBox.Location = new System.Drawing.Point(80, 224);
this.pwdBox.MaxLength = 20;
this.pwdBox.Name = "pwdBox";
this.pwdBox.Size = new System.Drawing.Size(96, 21);
this.pwdBox.TabIndex = 11;
this.pwdBox.Text = "";
//
// msgBox
//
this.msgBox.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right);
this.msgBox.BackColor = System.Drawing.SystemColors.Window;
this.msgBox.ContextMenu = this.editMenu;
this.msgBox.DetectUrls = false;
this.msgBox.Location = new System.Drawing.Point(80, 112);
this.msgBox.MaxLength = 1000000;
this.msgBox.Name = "msgBox";
this.msgBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
this.msgBox.Size = new System.Drawing.Size(392, 104);
this.msgBox.TabIndex = 10;
this.msgBox.Text = "";
//
// emailBox
//
this.emailBox.Location = new System.Drawing.Point(80, 80);
this.emailBox.MaxLength = 100;
this.emailBox.Name = "emailBox";
this.emailBox.Size = new System.Drawing.Size(192, 21);
this.emailBox.TabIndex = 9;
this.emailBox.Text = "";
//
// topGroup
//
this.topGroup.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right);
this.topGroup.Controls.AddRange(new System.Windows.Forms.Control[] {
this.deleteButton,
this.modifyButton,
this.replyButton,
this.listButton,
this.saveButton,
this.resetButton});
this.topGroup.Name = "topGroup";
this.topGroup.Size = new System.Drawing.Size(480, 48);
this.topGroup.TabIndex = 0;
this.topGroup.TabStop = false;
this.topGroup.Text = "Action";
//
// deleteButton
//
this.deleteButton.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.deleteButton.Location = new System.Drawing.Point(408, 16);
this.deleteButton.Name = "deleteButton";
this.deleteButton.Size = new System.Drawing.Size(64, 24);
this.deleteButton.TabIndex = 6;
this.deleteButton.Text = "Delete";
this.deleteButton.Click += new System.EventHandler(this.deleteButton_Click);
//
// modifyButton
//
this.modifyButton.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.modifyButton.Location = new System.Drawing.Point(336, 16);
this.modifyButton.Name = "modifyButton";
this.modifyButton.Size = new System.Drawing.Size(64, 24);
this.modifyButton.TabIndex = 5;
this.modifyButton.Text = "Modify";
this.modifyButton.Click += new System.EventHandler(this.modifyButton_Click);
//
// replyButton
//
this.replyButton.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.replyButton.Location = new System.Drawing.Point(264, 16);
this.replyButton.Name = "replyButton";
this.replyButton.Size = new System.Drawing.Size(64, 24);
this.replyButton.TabIndex = 4;
this.replyButton.Text = "Reply";
this.replyButton.Click += new System.EventHandler(this.replyButton_Click);
//
// listButton
//
this.listButton.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.listButton.Location = new System.Drawing.Point(48, 16);
this.listButton.Name = "listButton";
this.listButton.Size = new System.Drawing.Size(64, 24);
this.listButton.TabIndex = 1;
this.listButton.Text = "List";
this.listButton.Click += new System.EventHandler(this.listButton_Click);
//
// saveButton
//
this.saveButton.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.saveButton.Location = new System.Drawing.Point(120, 16);
this.saveButton.Name = "saveButton";
this.saveButton.Size = new System.Drawing.Size(64, 24);
this.saveButton.TabIndex = 2;
this.saveButton.Text = "Save";
this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
//
// resetButton
//
this.resetButton.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.resetButton.Location = new System.Drawing.Point(192, 16);
this.resetButton.Name = "resetButton";
this.resetButton.Size = new System.Drawing.Size(64, 24);
this.resetButton.TabIndex = 3;
this.resetButton.Text = "Reset";
this.resetButton.Click += new System.EventHandler(this.resetButton_Click);
//
// saveDialog
//
this.saveDialog.FileOk += new System.ComponentModel.CancelEventHandler(this.saveDialogButton_Click);
//
// WinBoard
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(496, 357);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
this.inputPanel,
this.listPanel});
this.Name = "WinBoard";
this.Text = "Aicaca WinBoard";
this.Load += new System.EventHandler(this.this_Load);
this.Closed += new System.EventHandler(this.this_Closed);
this.listPanel.ResumeLayout(false);
this.searchGroup.ResumeLayout(false);
this.actionGroup.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.mainGrid)).EndInit();
this.inputPanel.ResumeLayout(false);
this.bottomGroup.ResumeLayout(false);
this.topGroup.ResumeLayout(false);
this.ResumeLayout(false);
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -