public CodeGenerationTemplateEditor() { // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); templateEditor = new TextFileEditor(); pageTemplate.Controls.Add(templateEditor); templateEditor.Dock = DockStyle.Fill; metadataFileEditor = new MetadataFileEditor(); panelMetadataFile.Controls.Add(metadataFileEditor); metadataFileEditor.Dock = DockStyle.Fill; // tvwGroupedMetadataFiles = new MetadataFileSelector(); // pageGroupedMetadataFiles.Controls.Add(tvwGroupedMetadataFiles); // tvwGroupedMetadataFiles.BringToFront(); // tvwGroupedMetadataFiles.Dock = DockStyle.Fill; SetupCommandBars(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.errorProvider = new System.Windows.Forms.ErrorProvider(); this.pnlXmlEditor = new System.Windows.Forms.Panel(); this.textFileEditor1 = new Ch3Etah.Gui.DocumentHandling.TextFileEditor(); this.tlbMode = new System.Windows.Forms.ToolBar(); this.tbiEditor = new System.Windows.Forms.ToolBarButton(); this.tbiXML = new System.Windows.Forms.ToolBarButton(); this.designView = new Ch3Etah.Gui.DocumentHandling.OREntityEditorDesignView(); this.tbiSep1 = new System.Windows.Forms.ToolBarButton(); this.pnlXmlEditor.SuspendLayout(); this.SuspendLayout(); // // errorProvider // this.errorProvider.ContainerControl = this; // // pnlXmlEditor // this.pnlXmlEditor.Controls.Add(this.textFileEditor1); this.pnlXmlEditor.Location = new System.Drawing.Point(48, 36); this.pnlXmlEditor.Name = "pnlXmlEditor"; this.pnlXmlEditor.Size = new System.Drawing.Size(236, 420); this.pnlXmlEditor.TabIndex = 3; this.pnlXmlEditor.Visible = false; // // textFileEditor1 // this.textFileEditor1.Dock = System.Windows.Forms.DockStyle.Fill; this.textFileEditor1.FileName = null; this.textFileEditor1.IsDirty = false; this.textFileEditor1.Location = new System.Drawing.Point(0, 0); this.textFileEditor1.Name = "textFileEditor1"; this.textFileEditor1.ReadOnly = false; this.textFileEditor1.SelectedObject = null; this.textFileEditor1.Size = new System.Drawing.Size(236, 420); this.textFileEditor1.TabIndex = 0; this.textFileEditor1.IsDirtyChanged += new System.EventHandler(this.textFileEditor1_IsDirtyChanged); // // tlbMode // this.tlbMode.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.tlbMode.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.tbiEditor, this.tbiSep1, this.tbiXML}); this.tlbMode.ButtonSize = new System.Drawing.Size(39, 24); this.tlbMode.Divider = false; this.tlbMode.Dock = System.Windows.Forms.DockStyle.Bottom; this.tlbMode.DropDownArrows = true; this.tlbMode.Location = new System.Drawing.Point(2, 520); this.tlbMode.Name = "tlbMode"; this.tlbMode.ShowToolTips = true; this.tlbMode.Size = new System.Drawing.Size(772, 26); this.tlbMode.TabIndex = 4; this.tlbMode.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right; this.tlbMode.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tlbMode_ButtonClick); // // tbiEditor // this.tbiEditor.ImageIndex = 52; this.tbiEditor.Pushed = true; this.tbiEditor.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.tbiEditor.Text = "Design"; // // tbiXML // this.tbiXML.ImageIndex = 51; this.tbiXML.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.tbiXML.Text = "XML"; // // designView // this.designView.Location = new System.Drawing.Point(304, 120); this.designView.Name = "designView"; this.designView.Size = new System.Drawing.Size(352, 336); this.designView.TabIndex = 5; this.designView.AfterItemLabelEdit += new System.EventHandler(this.designView_AfterItemLabelEdit); this.designView.OnEdit += new System.EventHandler(this.designView_OnEdit); this.designView.OnDelete += new System.EventHandler(this.designView_OnDelete); this.designView.OnInsert += new System.EventHandler(this.designView_OnInsert); this.designView.OnTreeViewSelectItem += new System.EventHandler(this.designView_OnTreeViewSelectItem); this.designView.OnRename += new System.EventHandler(this.designView_OnRename); // // tbiSep1 // this.tbiSep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // OREntityEditor // this.Controls.Add(this.designView); this.Controls.Add(this.tlbMode); this.Controls.Add(this.pnlXmlEditor); this.DockPadding.All = 2; this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Name = "OREntityEditor"; this.Size = new System.Drawing.Size(776, 548); this.Load += new System.EventHandler(this.OREntityEditor_Load); this.pnlXmlEditor.ResumeLayout(false); this.ResumeLayout(false); }