📄 mdichildform.designer.cs
字号:
this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
this.pasteToolStripMenuItem.Text = "&Paste";
this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click);
//
// toolStrip
//
this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.saveToolStripButton,
this.toolStripSeparator,
this.cutToolStripButton,
this.copyToolStripButton,
this.pasteToolStripButton,
this.printToolStripButton});
this.toolStrip.Location = new System.Drawing.Point(0, 0);
this.toolStrip.Name = "toolStrip";
this.toolStrip.Size = new System.Drawing.Size(266, 25);
this.toolStrip.TabIndex = 1;
this.toolStrip.Text = "toolStrip1";
this.toolStrip.Visible = false;
//
// saveToolStripButton
//
this.saveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.saveToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image")));
this.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.saveToolStripButton.MergeAction = System.Windows.Forms.MergeAction.Insert;
this.saveToolStripButton.MergeIndex = 2;
this.saveToolStripButton.Name = "saveToolStripButton";
this.saveToolStripButton.Text = "&Save";
//
// toolStripSeparator
//
this.toolStripSeparator.MergeAction = System.Windows.Forms.MergeAction.Insert;
this.toolStripSeparator.MergeIndex = 3;
this.toolStripSeparator.Name = "toolStripSeparator";
//
// cutToolStripButton
//
this.cutToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.cutToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripButton.Image")));
this.cutToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.cutToolStripButton.MergeAction = System.Windows.Forms.MergeAction.Insert;
this.cutToolStripButton.MergeIndex = 4;
this.cutToolStripButton.Name = "cutToolStripButton";
this.cutToolStripButton.Text = "C&ut";
this.cutToolStripButton.Click += new System.EventHandler(this.cutToolStripMenuItem_Click);
//
// copyToolStripButton
//
this.copyToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.copyToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripButton.Image")));
this.copyToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.copyToolStripButton.MergeAction = System.Windows.Forms.MergeAction.Insert;
this.copyToolStripButton.MergeIndex = 5;
this.copyToolStripButton.Name = "copyToolStripButton";
this.copyToolStripButton.Text = "&Copy";
this.copyToolStripButton.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
//
// pasteToolStripButton
//
this.pasteToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.pasteToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripButton.Image")));
this.pasteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.pasteToolStripButton.MergeAction = System.Windows.Forms.MergeAction.Insert;
this.pasteToolStripButton.MergeIndex = 6;
this.pasteToolStripButton.Name = "pasteToolStripButton";
this.pasteToolStripButton.Text = "&Paste";
this.pasteToolStripButton.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click);
//
// printToolStripButton
//
this.printToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.printToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripButton.Image")));
this.printToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.printToolStripButton.MergeAction = System.Windows.Forms.MergeAction.Insert;
this.printToolStripButton.MergeIndex = 8;
this.printToolStripButton.Name = "printToolStripButton";
this.printToolStripButton.Text = "&Print";
this.printToolStripButton.Click += new System.EventHandler(this.printToolStripButton_Click);
//
// textBox
//
this.textBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox.Location = new System.Drawing.Point(0, 0);
this.textBox.Multiline = true;
this.textBox.Name = "textBox";
this.textBox.Size = new System.Drawing.Size(266, 127);
this.textBox.TabIndex = 2;
this.textBox.TextChanged += new System.EventHandler(this.textBox_TextChanged);
//
// fileDocument
//
this.fileDocument.DefaultExt = "dxt";
this.fileDocument.DefaultExtDescription = "DocAppSample Text File";
this.fileDocument.FileSaveAsMenuItem = this.saveAsToolStripMenuItem;
this.fileDocument.FileSaveMenuItem = this.saveToolStripMenuItem;
this.fileDocument.FileSaveToolStripButton = this.saveToolStripButton;
this.fileDocument.HostingForm = this;
this.fileDocument.IconResourceIndex = "1";
this.fileDocument.RegisterDefaultExtensionWithShell = true;
this.fileDocument.ReadDocument += new FileDocumentControlLibrary.SerializeDocumentEventHandler(this.fileDocument_ReadDocument);
this.fileDocument.NewDocument += new System.EventHandler(this.fileDocument_NewDocument);
this.fileDocument.WriteDocument += new FileDocumentControlLibrary.SerializeDocumentEventHandler(this.fileDocument_WriteDocument);
//
// printDocument
//
this.printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument_PrintPage);
this.printDocument.BeginPrint += new System.Drawing.Printing.PrintEventHandler(this.printDocument_BeginPrint);
//
// printDialog
//
this.printDialog.AllowSomePages = true;
this.printDialog.Document = this.printDocument;
//
// printPreviewDialog
//
this.printPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0);
this.printPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0);
this.printPreviewDialog.ClientSize = new System.Drawing.Size(400, 300);
this.printPreviewDialog.Document = this.printDocument;
this.printPreviewDialog.Enabled = true;
this.printPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog.Icon")));
this.printPreviewDialog.MainMenuStrip = this.menuStrip;
this.printPreviewDialog.Name = "printPreviewDialog";
this.printPreviewDialog.Visible = false;
//
// pageSetupDialog
//
this.pageSetupDialog.AllowMargins = false;
this.pageSetupDialog.Document = this.printDocument;
//
// pageCountPrintController
//
this.pageCountPrintController.Document = this.printDocument;
this.pageCountPrintController.UseAntiAlias = false;
//
// MDIChildForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(266, 127);
this.Controls.Add(this.textBox);
this.Controls.Add(this.toolStrip);
this.Controls.Add(this.menuStrip);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip;
this.Name = "MDIChildForm";
this.Text = "Doc";
this.menuStrip.ResumeLayout(false);
this.toolStrip.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.fileDocument)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip menuStrip;
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem printToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem printPreviewToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem printSetupToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripMenuItem closeToolStripMenuItem;
private System.Windows.Forms.ToolStrip toolStrip;
private System.Windows.Forms.ToolStripButton saveToolStripButton;
private System.Windows.Forms.ToolStripButton printToolStripButton;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator;
private System.Windows.Forms.ToolStripButton cutToolStripButton;
private System.Windows.Forms.ToolStripButton copyToolStripButton;
private System.Windows.Forms.ToolStripButton pasteToolStripButton;
private System.Windows.Forms.ToolTip toolTip;
private System.Windows.Forms.TextBox textBox;
private FileDocumentControlLibrary.FileDocument fileDocument;
private System.Drawing.Printing.PrintDocument printDocument;
private System.Windows.Forms.PrintDialog printDialog;
private System.Windows.Forms.PrintPreviewDialog printPreviewDialog;
private System.Windows.Forms.PageSetupDialog pageSetupDialog;
private PrintControllerLibrary.PageCountPrintController pageCountPrintController;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -