namespace DocApp { partial class MDIChildForm { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if( disposing && (components != null) ) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MDIChildForm)); this.menuStrip = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printPreviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip = new System.Windows.Forms.ToolStrip(); this.saveToolStripButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); this.cutToolStripButton = new System.Windows.Forms.ToolStripButton(); this.copyToolStripButton = new System.Windows.Forms.ToolStripButton(); this.pasteToolStripButton = new System.Windows.Forms.ToolStripButton(); this.printToolStripButton = new System.Windows.Forms.ToolStripButton(); this.toolTip = new System.Windows.Forms.ToolTip(this.components); this.textBox = new System.Windows.Forms.TextBox(); this.fileDocument = new FileDocumentControlLibrary.FileDocument(this.components); this.printDocument = new System.Drawing.Printing.PrintDocument(); this.printDialog = new System.Windows.Forms.PrintDialog(); this.printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); this.pageSetupDialog = new System.Windows.Forms.PageSetupDialog(); this.pageCountPrintController = new PrintControllerLibrary.PageCountPrintController(); this.menuStrip.SuspendLayout(); this.toolStrip.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fileDocument)).BeginInit(); this.SuspendLayout(); // // menuStrip // this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.editToolStripMenuItem}); this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.Size = new System.Drawing.Size(266, 24); this.menuStrip.TabIndex = 0; this.menuStrip.Text = "menuStrip"; this.menuStrip.Visible = false; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.closeToolStripMenuItem, this.saveToolStripMenuItem, this.saveAsToolStripMenuItem, this.toolStripSeparator1, this.printToolStripMenuItem, this.printPreviewToolStripMenuItem, this.printSetupToolStripMenuItem}); this.fileToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.MatchOnly; this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); this.fileToolStripMenuItem.Text = "&File"; // // closeToolStripMenuItem // this.closeToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.Insert; this.closeToolStripMenuItem.MergeIndex = 2; this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; this.closeToolStripMenuItem.Text = "&Close"; this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); this.saveToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.Insert; this.saveToolStripMenuItem.MergeIndex = 3; this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.saveToolStripMenuItem.Text = "&Save"; // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.Insert; this.saveAsToolStripMenuItem.MergeIndex = 4; this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Text = "Save &As"; // // toolStripSeparator1 // this.toolStripSeparator1.MergeAction = System.Windows.Forms.MergeAction.Insert; this.toolStripSeparator1.MergeIndex = 5; this.toolStripSeparator1.Name = "toolStripSeparator1"; // // printToolStripMenuItem // this.printToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripMenuItem.Image"))); this.printToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.Insert; this.printToolStripMenuItem.MergeIndex = 6; this.printToolStripMenuItem.Name = "printToolStripMenuItem"; this.printToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); this.printToolStripMenuItem.Text = "&Print..."; this.printToolStripMenuItem.Click += new System.EventHandler(this.printToolStripMenuItem_Click); // // printPreviewToolStripMenuItem // this.printPreviewToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printPreviewToolStripMenuItem.Image"))); this.printPreviewToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.Insert; this.printPreviewToolStripMenuItem.MergeIndex = 7; this.printPreviewToolStripMenuItem.Name = "printPreviewToolStripMenuItem"; this.printPreviewToolStripMenuItem.Text = "Print Pre&view"; this.printPreviewToolStripMenuItem.Click += new System.EventHandler(this.printPreviewToolStripMenuItem_Click); // // printSetupToolStripMenuItem // this.printSetupToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.Insert; this.printSetupToolStripMenuItem.MergeIndex = 8; this.printSetupToolStripMenuItem.Name = "printSetupToolStripMenuItem"; this.printSetupToolStripMenuItem.Text = "Print Set&up..."; this.printSetupToolStripMenuItem.Click += new System.EventHandler(this.printSetupToolStripMenuItem_Click); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.undoToolStripMenuItem, this.toolStripSeparator2, this.cutToolStripMenuItem, this.copyToolStripMenuItem, this.pasteToolStripMenuItem}); this.editToolStripMenuItem.Enabled = false; this.editToolStripMenuItem.MergeAction = System.Windows.Forms.MergeAction.Insert; this.editToolStripMenuItem.MergeIndex = 1; this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Text = "&Edit"; // // undoToolStripMenuItem // this.undoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("undoToolStripMenuItem.Image"))); this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; this.undoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z))); this.undoToolStripMenuItem.Text = "&Undo"; this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; // // cutToolStripMenuItem // this.cutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripMenuItem.Image"))); this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); this.cutToolStripMenuItem.Text = "&Cut"; this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click); // // copyToolStripMenuItem // this.copyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripMenuItem.Image"))); this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); this.copyToolStripMenuItem.Text = "&Copy"; this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); // // pasteToolStripMenuItem // this.pasteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripMenuItem.Image"))); this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; 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; } }