jishiben.designer.cs
来自「改程序实现了记事本的一些基本操作」· CS 代码 · 共 486 行 · 第 1/2 页
CS
486 行
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(168, 6);
//
// tSMEdit_search
//
this.tSMEdit_search.Name = "tSMEdit_search";
this.tSMEdit_search.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)));
this.tSMEdit_search.Size = new System.Drawing.Size(171, 22);
this.tSMEdit_search.Text = "查找(&F)...";
this.tSMEdit_search.Click += new System.EventHandler(this.tSMEdit_search_Click);
//
// tSMEdit_searchnext
//
this.tSMEdit_searchnext.Name = "tSMEdit_searchnext";
this.tSMEdit_searchnext.ShortcutKeys = System.Windows.Forms.Keys.F3;
this.tSMEdit_searchnext.Size = new System.Drawing.Size(171, 22);
this.tSMEdit_searchnext.Text = "查找下一个(&N)";
this.tSMEdit_searchnext.Click += new System.EventHandler(this.tSMEdit_searchnext_Click);
//
// tSMEdit_replace
//
this.tSMEdit_replace.Name = "tSMEdit_replace";
this.tSMEdit_replace.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H)));
this.tSMEdit_replace.Size = new System.Drawing.Size(171, 22);
this.tSMEdit_replace.Text = "替换(&R)...";
this.tSMEdit_replace.Click += new System.EventHandler(this.tSMEdit_replace_Click);
//
// tSMEdit_goto
//
this.tSMEdit_goto.Enabled = false;
this.tSMEdit_goto.Name = "tSMEdit_goto";
this.tSMEdit_goto.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.G)));
this.tSMEdit_goto.Size = new System.Drawing.Size(171, 22);
this.tSMEdit_goto.Text = "转到(&G)...";
this.tSMEdit_goto.Click += new System.EventHandler(this.tSMEdit_goto_Click);
//
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(168, 6);
//
// tSMEdit_chooseall
//
this.tSMEdit_chooseall.Name = "tSMEdit_chooseall";
this.tSMEdit_chooseall.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
this.tSMEdit_chooseall.Size = new System.Drawing.Size(171, 22);
this.tSMEdit_chooseall.Text = "全选(&A)";
this.tSMEdit_chooseall.Click += new System.EventHandler(this.tSMEdit_chooseall_Click);
//
// tSMEdit_time
//
this.tSMEdit_time.Name = "tSMEdit_time";
this.tSMEdit_time.ShortcutKeys = System.Windows.Forms.Keys.F5;
this.tSMEdit_time.Size = new System.Drawing.Size(171, 22);
this.tSMEdit_time.Text = "时间/日期(&D)";
this.tSMEdit_time.Click += new System.EventHandler(this.tSMEdit_time_Click);
//
// tSMFormat
//
this.tSMFormat.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tSMFormat_autoline,
this.tSMFormat_font,
this.tSMFormat_fontcolor});
this.tSMFormat.Name = "tSMFormat";
this.tSMFormat.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.O)));
this.tSMFormat.Size = new System.Drawing.Size(59, 20);
this.tSMFormat.Text = "格式(&O)";
//
// tSMFormat_autoline
//
this.tSMFormat_autoline.Checked = true;
this.tSMFormat_autoline.CheckState = System.Windows.Forms.CheckState.Checked;
this.tSMFormat_autoline.Name = "tSMFormat_autoline";
this.tSMFormat_autoline.ShortcutKeyDisplayString = "W";
this.tSMFormat_autoline.ShowShortcutKeys = false;
this.tSMFormat_autoline.Size = new System.Drawing.Size(149, 22);
this.tSMFormat_autoline.Text = "自动换行(&W)";
this.tSMFormat_autoline.Click += new System.EventHandler(this.tSMFormat_autoline_Click);
//
// tSMFormat_font
//
this.tSMFormat_font.Name = "tSMFormat_font";
this.tSMFormat_font.ShortcutKeyDisplayString = "f";
this.tSMFormat_font.ShowShortcutKeys = false;
this.tSMFormat_font.Size = new System.Drawing.Size(149, 22);
this.tSMFormat_font.Text = "字体(&F)...";
this.tSMFormat_font.Click += new System.EventHandler(this.tSMFormat_font_Click);
//
// tSMFormat_fontcolor
//
this.tSMFormat_fontcolor.Name = "tSMFormat_fontcolor";
this.tSMFormat_fontcolor.ShortcutKeyDisplayString = "c";
this.tSMFormat_fontcolor.ShowShortcutKeys = false;
this.tSMFormat_fontcolor.Size = new System.Drawing.Size(149, 22);
this.tSMFormat_fontcolor.Text = "字体颜色(&C)...";
this.tSMFormat_fontcolor.Click += new System.EventHandler(this.tSMFormat_fontcolor_Click);
//
// tSMSearch
//
this.tSMSearch.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tSMSearch_statusbar});
this.tSMSearch.Name = "tSMSearch";
this.tSMSearch.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.V)));
this.tSMSearch.Size = new System.Drawing.Size(59, 20);
this.tSMSearch.Text = "查看(&V)";
//
// tSMSearch_statusbar
//
this.tSMSearch_statusbar.Name = "tSMSearch_statusbar";
this.tSMSearch_statusbar.ShortcutKeyDisplayString = "s";
this.tSMSearch_statusbar.ShowShortcutKeys = false;
this.tSMSearch_statusbar.Size = new System.Drawing.Size(119, 22);
this.tSMSearch_statusbar.Text = "状态栏(&S)";
this.tSMSearch_statusbar.Click += new System.EventHandler(this.tSMSearch_statusbar_Click);
//
// tSMHelp
//
this.tSMHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tSMHelp_subject,
this.tSMHelp_jsb});
this.tSMHelp.Name = "tSMHelp";
this.tSMHelp.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.H)));
this.tSMHelp.Size = new System.Drawing.Size(59, 20);
this.tSMHelp.Text = "帮助(&H)";
//
// tSMHelp_subject
//
this.tSMHelp_subject.Name = "tSMHelp_subject";
this.tSMHelp_subject.ShortcutKeyDisplayString = "h";
this.tSMHelp_subject.ShowShortcutKeys = false;
this.tSMHelp_subject.Size = new System.Drawing.Size(159, 22);
this.tSMHelp_subject.Text = "帮助主题(&H)";
this.tSMHelp_subject.Click += new System.EventHandler(this.tSMHelp_subject_Click);
//
// tSMHelp_jsb
//
this.tSMHelp_jsb.Name = "tSMHelp_jsb";
this.tSMHelp_jsb.ShortcutKeyDisplayString = "a";
this.tSMHelp_jsb.Size = new System.Drawing.Size(159, 22);
this.tSMHelp_jsb.Text = "关于记事本(&A)";
this.tSMHelp_jsb.Click += new System.EventHandler(this.tSMHelp_jsb_Click);
//
// tBtext
//
this.tBtext.AcceptsTab = true;
this.tBtext.Dock = System.Windows.Forms.DockStyle.Fill;
this.tBtext.ImeMode = System.Windows.Forms.ImeMode.On;
this.tBtext.Location = new System.Drawing.Point(0, 24);
this.tBtext.Name = "tBtext";
this.tBtext.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.tBtext.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
this.tBtext.Size = new System.Drawing.Size(589, 380);
this.tBtext.TabIndex = 1;
this.tBtext.Text = "";
this.tBtext.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tBtext_MouseUp);
this.tBtext.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tBtext_KeyUp);
this.tBtext.TextChanged += new System.EventHandler(this.tBtext_TextChanged);
//
// tSSL_statusbar
//
this.tSSL_statusbar.Name = "tSSL_statusbar";
this.tSSL_statusbar.Size = new System.Drawing.Size(65, 17);
this.tSSL_statusbar.Text = "个人记事本";
//
// sSstatusbar
//
this.sSstatusbar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tSSL_statusbar});
this.sSstatusbar.Location = new System.Drawing.Point(0, 382);
this.sSstatusbar.Name = "sSstatusbar";
this.sSstatusbar.Size = new System.Drawing.Size(589, 22);
this.sSstatusbar.TabIndex = 2;
this.sSstatusbar.Text = "statusStrip1";
this.sSstatusbar.Visible = false;
//
// jishiben
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(589, 404);
this.Controls.Add(this.sSstatusbar);
this.Controls.Add(this.tBtext);
this.Controls.Add(this.MsMenu);
this.Name = "jishiben";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "记事本";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.jishiben_FormClosing);
this.Load += new System.EventHandler(this.jishiben_Load);
this.MsMenu.ResumeLayout(false);
this.MsMenu.PerformLayout();
this.sSstatusbar.ResumeLayout(false);
this.sSstatusbar.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip MsMenu;
private System.Windows.Forms.ToolStripMenuItem tSMFile;
private System.Windows.Forms.ToolStripMenuItem tSMEdit;
private System.Windows.Forms.ToolStripMenuItem tSMFormat;
private System.Windows.Forms.ToolStripMenuItem tSMSearch;
private System.Windows.Forms.ToolStripMenuItem tSMHelp;
private System.Windows.Forms.ToolStripMenuItem tSMFile_new;
private System.Windows.Forms.ToolStripMenuItem tSMFile_open;
private System.Windows.Forms.ToolStripMenuItem tSMFile_save;
private System.Windows.Forms.ToolStripMenuItem tSMFile_saveas;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripMenuItem tSMFile_pagesetup;
private System.Windows.Forms.ToolStripMenuItem tSMFile_print;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripMenuItem tSMFile_quit;
private System.Windows.Forms.ToolStripMenuItem tSMEdit_Undo;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripMenuItem tSMEdit_cut;
private System.Windows.Forms.ToolStripMenuItem tSMEdit_copy;
private System.Windows.Forms.ToolStripMenuItem tSMEdit_patse;
private System.Windows.Forms.ToolStripMenuItem tSMEdit_delet;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.ToolStripMenuItem tSMEdit_search;
private System.Windows.Forms.ToolStripMenuItem tSMEdit_searchnext;
private System.Windows.Forms.ToolStripMenuItem tSMEdit_replace;
private System.Windows.Forms.ToolStripMenuItem tSMEdit_goto;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private System.Windows.Forms.ToolStripMenuItem tSMEdit_chooseall;
private System.Windows.Forms.ToolStripMenuItem tSMEdit_time;
private System.Windows.Forms.ToolStripMenuItem tSMFormat_autoline;
private System.Windows.Forms.ToolStripMenuItem tSMFormat_font;
private System.Windows.Forms.ToolStripMenuItem tSMSearch_statusbar;
private System.Windows.Forms.ToolStripMenuItem tSMHelp_subject;
private System.Windows.Forms.ToolStripMenuItem tSMHelp_jsb;
private System.Windows.Forms.RichTextBox tBtext;
private System.Windows.Forms.ToolStripMenuItem tSMFormat_fontcolor;
private System.Windows.Forms.ToolStripStatusLabel tSSL_statusbar;
private System.Windows.Forms.StatusStrip sSstatusbar;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?