/// <param name="ownerPanel">RibbonPanel where this item is located</param> internal override void SetOwnerPanel(System.Windows.Forms.RibbonPanel ownerPanel) { base.SetOwnerPanel(ownerPanel); Items.SetOwnerPanel(ownerPanel); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmEditorMain)); this.ribbon1 = new System.Windows.Forms.Ribbon(); this.ribbonButton1 = new System.Windows.Forms.RibbonButton(); this.ribbonButton2 = new System.Windows.Forms.RibbonButton(); this.ribbonButton3 = new System.Windows.Forms.RibbonButton(); this.ribbonButton4 = new System.Windows.Forms.RibbonButton(); this.ribbonTab1 = new System.Windows.Forms.RibbonTab(); this.ribbonPanel1 = new System.Windows.Forms.RibbonPanel(); this.btnNewArea = new System.Windows.Forms.RibbonButton(); this.btnSave = new System.Windows.Forms.RibbonButton(); this.btnOpen = new System.Windows.Forms.RibbonButton(); this.rbnMarkov = new System.Windows.Forms.RibbonButton(); this.ribbonPanel2 = new System.Windows.Forms.RibbonPanel(); this.btnSelection = new System.Windows.Forms.RibbonButton(); this.btnSquare = new System.Windows.Forms.RibbonButton(); this.btnCircle = new System.Windows.Forms.RibbonButton(); this.panel1 = new System.Windows.Forms.Panel(); this.pnlMain = new System.Windows.Forms.Panel(); this.tabMain = new System.Windows.Forms.TabControl(); this.splitRight = new System.Windows.Forms.Splitter(); this.pnlRight = new System.Windows.Forms.Panel(); this.gridProperties = new System.Windows.Forms.PropertyGrid(); this.pnlProperties = new Azmyth.Editor.SplitPanel(); this.pnlPropertiesCollapsed = new System.Windows.Forms.Panel(); this.btnPropertiesShow = new System.Windows.Forms.Button(); this.splitLeft = new System.Windows.Forms.Splitter(); this.pnlLeft = new System.Windows.Forms.Panel(); this.tvwWorld = new System.Windows.Forms.TreeView(); this.pnlAssets = new Azmyth.Editor.SplitPanel(); this.pnlAssetsCollapsed = new System.Windows.Forms.Panel(); this.btnAssetsShow = new System.Windows.Forms.Button(); this.splitBottom = new System.Windows.Forms.Splitter(); this.pnlBottom = new System.Windows.Forms.Panel(); this.txtOutput = new System.Windows.Forms.RichTextBox(); this.splitPanelOutput = new Azmyth.Editor.SplitPanel(); this.splitTop = new System.Windows.Forms.Splitter(); this.pnlTop = new System.Windows.Forms.Panel(); this.splitPanelTop = new Azmyth.Editor.SplitPanel(); this.pnlTopCollapsed = new System.Windows.Forms.Panel(); this.btnTopShow = new System.Windows.Forms.Button(); this.TopPanel = new System.Windows.Forms.Panel(); this.BottomPanel = new System.Windows.Forms.Panel(); this.LeftPanel = new System.Windows.Forms.Panel(); this.RightPanel = new System.Windows.Forms.Panel(); this.MainPanel = new System.Windows.Forms.Panel(); this.panel1.SuspendLayout(); this.pnlMain.SuspendLayout(); this.pnlRight.SuspendLayout(); this.pnlPropertiesCollapsed.SuspendLayout(); this.pnlLeft.SuspendLayout(); this.pnlAssetsCollapsed.SuspendLayout(); this.pnlBottom.SuspendLayout(); this.pnlTop.SuspendLayout(); this.pnlTopCollapsed.SuspendLayout(); this.SuspendLayout(); // // ribbon1 // this.ribbon1.CaptionBarVisible = false; this.ribbon1.Font = new System.Drawing.Font("Segoe UI", 11.4F); this.ribbon1.Location = new System.Drawing.Point(0, 0); this.ribbon1.Minimized = false; this.ribbon1.Name = "ribbon1"; // // // this.ribbon1.OrbDropDown.BorderRoundness = 8; this.ribbon1.OrbDropDown.Location = new System.Drawing.Point(0, 0); this.ribbon1.OrbDropDown.Name = ""; this.ribbon1.OrbDropDown.Size = new System.Drawing.Size(527, 447); this.ribbon1.OrbDropDown.TabIndex = 0; this.ribbon1.OrbImage = null; this.ribbon1.OrbStyle = System.Windows.Forms.RibbonOrbStyle.Office_2013; this.ribbon1.OrbVisible = false; // // // this.ribbon1.QuickAcessToolbar.Enabled = false; this.ribbon1.QuickAcessToolbar.Items.Add(this.ribbonButton1); this.ribbon1.QuickAcessToolbar.Items.Add(this.ribbonButton2); this.ribbon1.QuickAcessToolbar.Items.Add(this.ribbonButton3); this.ribbon1.QuickAcessToolbar.Items.Add(this.ribbonButton4); this.ribbon1.RibbonTabFont = new System.Drawing.Font("Trebuchet MS", 9F); this.ribbon1.Size = new System.Drawing.Size(1025, 148); this.ribbon1.TabIndex = 4; this.ribbon1.Tabs.Add(this.ribbonTab1); this.ribbon1.TabsMargin = new System.Windows.Forms.Padding(12, 2, 20, 0); this.ribbon1.Text = "ribbon1"; this.ribbon1.ThemeColor = System.Windows.Forms.RibbonTheme.Black; // // ribbonButton1 // this.ribbonButton1.Enabled = false; this.ribbonButton1.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButton1.Image"))); this.ribbonButton1.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact; this.ribbonButton1.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton1.SmallImage"))); this.ribbonButton1.Text = "ribbonButton1"; // // ribbonButton2 // this.ribbonButton2.Enabled = false; this.ribbonButton2.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButton2.Image"))); this.ribbonButton2.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact; this.ribbonButton2.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton2.SmallImage"))); this.ribbonButton2.Text = "ribbonButton2"; // // ribbonButton3 // this.ribbonButton3.Enabled = false; this.ribbonButton3.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButton3.Image"))); this.ribbonButton3.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact; this.ribbonButton3.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton3.SmallImage"))); this.ribbonButton3.Text = "ribbonButton3"; // // ribbonButton4 // this.ribbonButton4.Enabled = false; this.ribbonButton4.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButton4.Image"))); this.ribbonButton4.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact; this.ribbonButton4.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton4.SmallImage"))); this.ribbonButton4.Text = "ribbonButton4"; // // ribbonTab1 // this.ribbonTab1.Panels.Add(this.ribbonPanel1); this.ribbonTab1.Panels.Add(this.ribbonPanel2); this.ribbonTab1.Text = "Main"; // // ribbonPanel1 // this.ribbonPanel1.ButtonMoreEnabled = false; this.ribbonPanel1.ButtonMoreVisible = false; this.ribbonPanel1.Items.Add(this.btnNewArea); this.ribbonPanel1.Items.Add(this.btnSave); this.ribbonPanel1.Items.Add(this.btnOpen); this.ribbonPanel1.Items.Add(this.rbnMarkov); this.ribbonPanel1.Text = "Actions"; // // btnNewArea // this.btnNewArea.DrawIconsBar = false; this.btnNewArea.Image = ((System.Drawing.Image)(resources.GetObject("btnNewArea.Image"))); this.btnNewArea.SmallImage = ((System.Drawing.Image)(resources.GetObject("btnNewArea.SmallImage"))); this.btnNewArea.Text = "New"; this.btnNewArea.Click += new System.EventHandler(this.btnNewArea_Click); // // btnSave // this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image"))); this.btnSave.SmallImage = ((System.Drawing.Image)(resources.GetObject("btnSave.SmallImage"))); this.btnSave.Text = "Save"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnOpen // this.btnOpen.Image = ((System.Drawing.Image)(resources.GetObject("btnOpen.Image"))); this.btnOpen.SmallImage = ((System.Drawing.Image)(resources.GetObject("btnOpen.SmallImage"))); this.btnOpen.Text = "Open"; this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click); // // rbnMarkov // this.rbnMarkov.Image = ((System.Drawing.Image)(resources.GetObject("rbnMarkov.Image"))); this.rbnMarkov.SmallImage = ((System.Drawing.Image)(resources.GetObject("rbnMarkov.SmallImage"))); this.rbnMarkov.Text = ""; this.rbnMarkov.Click += new System.EventHandler(this.rbnMarkov_Click); // // ribbonPanel2 // this.ribbonPanel2.Items.Add(this.btnSelection); this.ribbonPanel2.Items.Add(this.btnSquare); this.ribbonPanel2.Items.Add(this.btnCircle); this.ribbonPanel2.Text = "Selection"; // // btnSelection // this.btnSelection.Checked = true; this.btnSelection.CheckedGroup = "1"; this.btnSelection.CheckOnClick = true; this.btnSelection.Image = global::Azmyth.Editor.Properties.Resources.Point; this.btnSelection.SmallImage = ((System.Drawing.Image)(resources.GetObject("btnSelection.SmallImage"))); this.btnSelection.Text = "Point"; this.btnSelection.Click += new System.EventHandler(this.btnSelection_Click); // // btnSquare // this.btnSquare.CheckedGroup = "1"; this.btnSquare.CheckOnClick = true; this.btnSquare.Image = global::Azmyth.Editor.Properties.Resources.Square; this.btnSquare.SmallImage = ((System.Drawing.Image)(resources.GetObject("btnSquare.SmallImage"))); this.btnSquare.Text = "Square"; this.btnSquare.Click += new System.EventHandler(this.btnSquare_Click); // // btnCircle // this.btnCircle.CheckedGroup = "1"; this.btnCircle.CheckOnClick = true; this.btnCircle.Image = global::Azmyth.Editor.Properties.Resources.Circle; this.btnCircle.SmallImage = ((System.Drawing.Image)(resources.GetObject("btnCircle.SmallImage"))); this.btnCircle.Text = "Circle"; this.btnCircle.Click += new System.EventHandler(this.btnCircle_Click); // // panel1 // this.panel1.Controls.Add(this.pnlMain); this.panel1.Controls.Add(this.splitRight); this.panel1.Controls.Add(this.pnlRight); this.panel1.Controls.Add(this.splitLeft); this.panel1.Controls.Add(this.pnlLeft); this.panel1.Controls.Add(this.splitBottom); this.panel1.Controls.Add(this.pnlBottom); this.panel1.Controls.Add(this.splitTop); this.panel1.Controls.Add(this.pnlTop); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 148); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1025, 567); this.panel1.TabIndex = 6; // // pnlMain // this.pnlMain.Controls.Add(this.tabMain); this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlMain.Location = new System.Drawing.Point(217, 103); this.pnlMain.Name = "pnlMain"; this.pnlMain.Size = new System.Drawing.Size(594, 361); this.pnlMain.TabIndex = 19; // // tabMain // this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill; this.tabMain.Location = new System.Drawing.Point(0, 0); this.tabMain.Name = "tabMain"; this.tabMain.SelectedIndex = 0; this.tabMain.Size = new System.Drawing.Size(594, 361); this.tabMain.TabIndex = 10; // // splitRight // this.splitRight.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.splitRight.Dock = System.Windows.Forms.DockStyle.Right; this.splitRight.Location = new System.Drawing.Point(811, 103); this.splitRight.Name = "splitRight"; this.splitRight.Size = new System.Drawing.Size(3, 361); this.splitRight.TabIndex = 18; this.splitRight.TabStop = false; this.splitRight.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitRight_SplitterMoved); // // pnlRight // this.pnlRight.Controls.Add(this.gridProperties); this.pnlRight.Controls.Add(this.pnlProperties); this.pnlRight.Controls.Add(this.pnlPropertiesCollapsed); this.pnlRight.Dock = System.Windows.Forms.DockStyle.Right; this.pnlRight.Location = new System.Drawing.Point(814, 103); this.pnlRight.Name = "pnlRight"; this.pnlRight.Size = new System.Drawing.Size(211, 361); this.pnlRight.TabIndex = 17; // // gridProperties // this.gridProperties.Dock = System.Windows.Forms.DockStyle.Fill; this.gridProperties.Location = new System.Drawing.Point(0, 25); this.gridProperties.Name = "gridProperties"; this.gridProperties.PropertySort = System.Windows.Forms.PropertySort.Categorized; this.gridProperties.Size = new System.Drawing.Size(186, 336); this.gridProperties.TabIndex = 17; this.gridProperties.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.gridProperties_PropertyValueChanged); // // pnlProperties // this.pnlProperties.Caption = "Properties"; this.pnlProperties.Dock = System.Windows.Forms.DockStyle.Top; this.pnlProperties.Location = new System.Drawing.Point(0, 0); this.pnlProperties.Name = "pnlProperties"; this.pnlProperties.Size = new System.Drawing.Size(186, 25); this.pnlProperties.TabIndex = 16; this.pnlProperties.Close += new System.Action<object, System.EventArgs>(this.pnlProperties_Close); this.pnlProperties.Minimize += new System.Action<object, System.EventArgs>(this.pnlProperties_Minimize); // // pnlPropertiesCollapsed // this.pnlPropertiesCollapsed.Controls.Add(this.btnPropertiesShow); this.pnlPropertiesCollapsed.Dock = System.Windows.Forms.DockStyle.Right; this.pnlPropertiesCollapsed.Location = new System.Drawing.Point(186, 0); this.pnlPropertiesCollapsed.Margin = new System.Windows.Forms.Padding(0); this.pnlPropertiesCollapsed.Name = "pnlPropertiesCollapsed"; this.pnlPropertiesCollapsed.Padding = new System.Windows.Forms.Padding(2); this.pnlPropertiesCollapsed.Size = new System.Drawing.Size(25, 361); this.pnlPropertiesCollapsed.TabIndex = 14; this.pnlPropertiesCollapsed.Visible = false; // // btnPropertiesShow // this.btnPropertiesShow.Dock = System.Windows.Forms.DockStyle.Top; this.btnPropertiesShow.FlatAppearance.BorderSize = 0; this.btnPropertiesShow.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnPropertiesShow.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPropertiesShow.Image = ((System.Drawing.Image)(resources.GetObject("btnPropertiesShow.Image"))); this.btnPropertiesShow.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnPropertiesShow.Location = new System.Drawing.Point(2, 2); this.btnPropertiesShow.Margin = new System.Windows.Forms.Padding(0); this.btnPropertiesShow.Name = "btnPropertiesShow"; this.btnPropertiesShow.Size = new System.Drawing.Size(21, 103); this.btnPropertiesShow.TabIndex = 0; this.btnPropertiesShow.Text = "Properties"; this.btnPropertiesShow.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btnPropertiesShow.UseVisualStyleBackColor = true; this.btnPropertiesShow.Click += new System.EventHandler(this.btnPropertiesShow_Click); this.btnPropertiesShow.Paint += new System.Windows.Forms.PaintEventHandler(this.btnPropertiesCollapsed_Paint); this.btnPropertiesShow.MouseEnter += new System.EventHandler(this.btnPropertiesCollapsed_MouseEnter); this.btnPropertiesShow.MouseLeave += new System.EventHandler(this.btnPropertiesCollapsed_MouseLeave); // // splitLeft // this.splitLeft.Location = new System.Drawing.Point(211, 103); this.splitLeft.Name = "splitLeft"; this.splitLeft.Size = new System.Drawing.Size(6, 361); this.splitLeft.TabIndex = 16; this.splitLeft.TabStop = false; this.splitLeft.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitLeft_SplitterMoved); // // pnlLeft // this.pnlLeft.Controls.Add(this.tvwWorld); this.pnlLeft.Controls.Add(this.pnlAssets); this.pnlLeft.Controls.Add(this.pnlAssetsCollapsed); this.pnlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.pnlLeft.Location = new System.Drawing.Point(0, 103); this.pnlLeft.Name = "pnlLeft"; this.pnlLeft.Size = new System.Drawing.Size(211, 361); this.pnlLeft.TabIndex = 15; // // tvwWorld // this.tvwWorld.Dock = System.Windows.Forms.DockStyle.Fill; this.tvwWorld.Location = new System.Drawing.Point(25, 25); this.tvwWorld.Margin = new System.Windows.Forms.Padding(0); this.tvwWorld.Name = "tvwWorld"; this.tvwWorld.Size = new System.Drawing.Size(186, 336); this.tvwWorld.TabIndex = 12; this.tvwWorld.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvwWorld_AfterSelect); // // pnlAssets // this.pnlAssets.Caption = "Assets"; this.pnlAssets.Dock = System.Windows.Forms.DockStyle.Top; this.pnlAssets.Location = new System.Drawing.Point(25, 0); this.pnlAssets.Name = "pnlAssets"; this.pnlAssets.Size = new System.Drawing.Size(186, 25); this.pnlAssets.TabIndex = 11; this.pnlAssets.Close += new System.Action<object, System.EventArgs>(this.pnlAssets_Close); this.pnlAssets.Minimize += new System.Action<object, System.EventArgs>(this.pnlAssets_Minimize); // // pnlAssetsCollapsed // this.pnlAssetsCollapsed.Controls.Add(this.btnAssetsShow); this.pnlAssetsCollapsed.Dock = System.Windows.Forms.DockStyle.Left; this.pnlAssetsCollapsed.Location = new System.Drawing.Point(0, 0); this.pnlAssetsCollapsed.Margin = new System.Windows.Forms.Padding(0); this.pnlAssetsCollapsed.Name = "pnlAssetsCollapsed"; this.pnlAssetsCollapsed.Padding = new System.Windows.Forms.Padding(2); this.pnlAssetsCollapsed.Size = new System.Drawing.Size(25, 361); this.pnlAssetsCollapsed.TabIndex = 8; this.pnlAssetsCollapsed.Visible = false; // // btnAssetsShow // this.btnAssetsShow.Dock = System.Windows.Forms.DockStyle.Top; this.btnAssetsShow.FlatAppearance.BorderSize = 0; this.btnAssetsShow.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnAssetsShow.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnAssetsShow.Image = ((System.Drawing.Image)(resources.GetObject("btnAssetsShow.Image"))); this.btnAssetsShow.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnAssetsShow.Location = new System.Drawing.Point(2, 2); this.btnAssetsShow.Margin = new System.Windows.Forms.Padding(0); this.btnAssetsShow.Name = "btnAssetsShow"; this.btnAssetsShow.Size = new System.Drawing.Size(21, 103); this.btnAssetsShow.TabIndex = 0; this.btnAssetsShow.Text = "Assets"; this.btnAssetsShow.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btnAssetsShow.UseVisualStyleBackColor = true; this.btnAssetsShow.Click += new System.EventHandler(this.btnAssetsShow_Click); this.btnAssetsShow.Paint += new System.Windows.Forms.PaintEventHandler(this.btnAssetsShow_Paint); this.btnAssetsShow.MouseEnter += new System.EventHandler(this.btnAssetsShow_MouseEnter); this.btnAssetsShow.MouseLeave += new System.EventHandler(this.btnAssetsShow_MouseLeave); // // splitBottom // this.splitBottom.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.splitBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitBottom.Location = new System.Drawing.Point(0, 464); this.splitBottom.Name = "splitBottom"; this.splitBottom.Size = new System.Drawing.Size(1025, 3); this.splitBottom.TabIndex = 14; this.splitBottom.TabStop = false; this.splitBottom.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitBottom_SplitterMoved); // // pnlBottom // this.pnlBottom.Controls.Add(this.txtOutput); this.pnlBottom.Controls.Add(this.splitPanelOutput); this.pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnlBottom.Location = new System.Drawing.Point(0, 467); this.pnlBottom.Name = "pnlBottom"; this.pnlBottom.Size = new System.Drawing.Size(1025, 100); this.pnlBottom.TabIndex = 13; // // txtOutput // this.txtOutput.BackColor = System.Drawing.Color.Black; this.txtOutput.Dock = System.Windows.Forms.DockStyle.Fill; this.txtOutput.Location = new System.Drawing.Point(0, 24); this.txtOutput.Name = "txtOutput"; this.txtOutput.Size = new System.Drawing.Size(1025, 76); this.txtOutput.TabIndex = 2; this.txtOutput.Text = ""; // // splitPanelOutput // this.splitPanelOutput.Caption = "Output"; this.splitPanelOutput.Dock = System.Windows.Forms.DockStyle.Top; this.splitPanelOutput.Location = new System.Drawing.Point(0, 0); this.splitPanelOutput.Name = "splitPanelOutput"; this.splitPanelOutput.Size = new System.Drawing.Size(1025, 24); this.splitPanelOutput.TabIndex = 1; // // splitTop // this.splitTop.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.splitTop.Dock = System.Windows.Forms.DockStyle.Top; this.splitTop.Location = new System.Drawing.Point(0, 100); this.splitTop.Name = "splitTop"; this.splitTop.Size = new System.Drawing.Size(1025, 3); this.splitTop.TabIndex = 12; this.splitTop.TabStop = false; this.splitTop.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitTop_SplitterMoved); // // pnlTop // this.pnlTop.Controls.Add(this.splitPanelTop); this.pnlTop.Controls.Add(this.pnlTopCollapsed); this.pnlTop.Dock = System.Windows.Forms.DockStyle.Top; this.pnlTop.Location = new System.Drawing.Point(0, 0); this.pnlTop.Name = "pnlTop"; this.pnlTop.Size = new System.Drawing.Size(1025, 100); this.pnlTop.TabIndex = 11; // // splitPanelTop // this.splitPanelTop.Caption = null; this.splitPanelTop.Dock = System.Windows.Forms.DockStyle.Top; this.splitPanelTop.Location = new System.Drawing.Point(0, 25); this.splitPanelTop.Name = "splitPanelTop"; this.splitPanelTop.Size = new System.Drawing.Size(1025, 24); this.splitPanelTop.TabIndex = 1; this.splitPanelTop.Close += new System.Action<object, System.EventArgs>(this.splitPanelTop_Close); this.splitPanelTop.Minimize += new System.Action<object, System.EventArgs>(this.splitPanelTop_Minimize); // // pnlTopCollapsed // this.pnlTopCollapsed.Controls.Add(this.btnTopShow); this.pnlTopCollapsed.Dock = System.Windows.Forms.DockStyle.Top; this.pnlTopCollapsed.Location = new System.Drawing.Point(0, 0); this.pnlTopCollapsed.Margin = new System.Windows.Forms.Padding(0); this.pnlTopCollapsed.Name = "pnlTopCollapsed"; this.pnlTopCollapsed.Padding = new System.Windows.Forms.Padding(2); this.pnlTopCollapsed.Size = new System.Drawing.Size(1025, 25); this.pnlTopCollapsed.TabIndex = 11; this.pnlTopCollapsed.Visible = false; // // btnTopShow // this.btnTopShow.Dock = System.Windows.Forms.DockStyle.Left; this.btnTopShow.FlatAppearance.BorderSize = 0; this.btnTopShow.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnTopShow.Image = global::Azmyth.Editor.Properties.Resources.imgFolder; this.btnTopShow.ImageAlign = System.Drawing.ContentAlignment.TopLeft; this.btnTopShow.Location = new System.Drawing.Point(2, 2); this.btnTopShow.Margin = new System.Windows.Forms.Padding(0); this.btnTopShow.Name = "btnTopShow"; this.btnTopShow.Size = new System.Drawing.Size(91, 21); this.btnTopShow.TabIndex = 0; this.btnTopShow.Text = "Top Panel"; this.btnTopShow.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.btnTopShow.UseVisualStyleBackColor = true; this.btnTopShow.Click += new System.EventHandler(this.btnTopShow_Click); // // TopPanel // this.TopPanel.Dock = System.Windows.Forms.DockStyle.Top; this.TopPanel.Location = new System.Drawing.Point(0, 0); this.TopPanel.Name = "TopPanel"; this.TopPanel.Size = new System.Drawing.Size(1025, 25); this.TopPanel.TabIndex = 1; // // BottomPanel // this.BottomPanel.Dock = System.Windows.Forms.DockStyle.Bottom; this.BottomPanel.Location = new System.Drawing.Point(0, 268); this.BottomPanel.Name = "BottomPanel"; this.BottomPanel.Size = new System.Drawing.Size(1025, 25); this.BottomPanel.TabIndex = 3; // // LeftPanel // this.LeftPanel.Dock = System.Windows.Forms.DockStyle.Left; this.LeftPanel.Location = new System.Drawing.Point(0, 28); this.LeftPanel.Name = "LeftPanel"; this.LeftPanel.Size = new System.Drawing.Size(25, 237); this.LeftPanel.TabIndex = 6; // // RightPanel // this.RightPanel.Dock = System.Windows.Forms.DockStyle.Right; this.RightPanel.Location = new System.Drawing.Point(1000, 28); this.RightPanel.Name = "RightPanel"; this.RightPanel.Size = new System.Drawing.Size(25, 237); this.RightPanel.TabIndex = 8; // // MainPanel // this.MainPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.MainPanel.Location = new System.Drawing.Point(28, 28); this.MainPanel.Name = "MainPanel"; this.MainPanel.Size = new System.Drawing.Size(969, 237); this.MainPanel.TabIndex = 10; // // frmEditorMain // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1025, 715); this.Controls.Add(this.panel1); this.Controls.Add(this.ribbon1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmEditorMain"; this.Text = "Azmyth Editor"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmEditorMain_FormClosing); this.panel1.ResumeLayout(false); this.pnlMain.ResumeLayout(false); this.pnlRight.ResumeLayout(false); this.pnlPropertiesCollapsed.ResumeLayout(false); this.pnlLeft.ResumeLayout(false); this.pnlAssetsCollapsed.ResumeLayout(false); this.pnlBottom.ResumeLayout(false); this.pnlTop.ResumeLayout(false); this.pnlTopCollapsed.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.ribbon1 = new System.Windows.Forms.Ribbon(); this.ribbonButton1 = new System.Windows.Forms.RibbonButton(); this.ribbonTabPrincipal = new System.Windows.Forms.RibbonTab(); this.ribbonPanelPrincipal = new System.Windows.Forms.RibbonPanel(); this.ribbonButtonArticulos = new System.Windows.Forms.RibbonButton(); this.ribbonButtonTerceros = new System.Windows.Forms.RibbonButton(); this.ribbonButtonDocumentos = new System.Windows.Forms.RibbonButton(); this.ribbonButtonComprobantes = new System.Windows.Forms.RibbonButton(); this.ribbonButtonInformes = new System.Windows.Forms.RibbonButton(); this.ribbonButtonPreferencias = new System.Windows.Forms.RibbonButton(); this.ribbonButtonMaestros = new System.Windows.Forms.RibbonButton(); this.ribbonButtonSalir = new System.Windows.Forms.RibbonButton(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.lblInfo = new System.Windows.Forms.ToolStripStatusLabel(); this.lblData = new System.Windows.Forms.ToolStripStatusLabel(); this.lblUsuario = new System.Windows.Forms.ToolStripStatusLabel(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.statusStrip1.SuspendLayout(); this.SuspendLayout(); // // ribbon1 // this.ribbon1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ribbon1.Location = new System.Drawing.Point(0, 0); this.ribbon1.Minimized = false; this.ribbon1.Name = "ribbon1"; // // // this.ribbon1.OrbDropDown.BorderRoundness = 8; this.ribbon1.OrbDropDown.Location = new System.Drawing.Point(0, 0); this.ribbon1.OrbDropDown.Name = ""; this.ribbon1.OrbDropDown.Size = new System.Drawing.Size(527, 72); this.ribbon1.OrbDropDown.TabIndex = 0; this.ribbon1.OrbImage = ((System.Drawing.Image)(resources.GetObject("ribbon1.OrbImage"))); // // // this.ribbon1.QuickAcessToolbar.Items.Add(this.ribbonButton1); this.ribbon1.RibbonTabFont = new System.Drawing.Font("Trebuchet MS", 9F); this.ribbon1.Size = new System.Drawing.Size(726, 116); this.ribbon1.TabIndex = 0; this.ribbon1.Tabs.Add(this.ribbonTabPrincipal); this.ribbon1.TabsMargin = new System.Windows.Forms.Padding(12, 26, 20, 0); this.ribbon1.Text = "ribbon1"; this.ribbon1.ThemeColor = System.Windows.Forms.RibbonTheme.Blue; // // ribbonButton1 // this.ribbonButton1.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButton1.Image"))); this.ribbonButton1.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact; this.ribbonButton1.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton1.SmallImage"))); this.ribbonButton1.Text = "ribbonButton1"; // // ribbonTabPrincipal // this.ribbonTabPrincipal.Panels.Add(this.ribbonPanelPrincipal); this.ribbonTabPrincipal.Text = ""; // // ribbonPanelPrincipal // this.ribbonPanelPrincipal.Items.Add(this.ribbonButtonArticulos); this.ribbonPanelPrincipal.Items.Add(this.ribbonButtonTerceros); this.ribbonPanelPrincipal.Items.Add(this.ribbonButtonDocumentos); this.ribbonPanelPrincipal.Items.Add(this.ribbonButtonComprobantes); this.ribbonPanelPrincipal.Items.Add(this.ribbonButtonInformes); this.ribbonPanelPrincipal.Items.Add(this.ribbonButtonPreferencias); this.ribbonPanelPrincipal.Items.Add(this.ribbonButtonMaestros); this.ribbonPanelPrincipal.Items.Add(this.ribbonButtonSalir); this.ribbonPanelPrincipal.Text = ""; // // ribbonButtonArticulos // this.ribbonButtonArticulos.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButtonArticulos.Image"))); this.ribbonButtonArticulos.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButtonArticulos.SmallImage"))); this.ribbonButtonArticulos.Text = "Articulos"; this.ribbonButtonArticulos.TextAlignment = System.Windows.Forms.RibbonItem.RibbonItemTextAlignment.Center; this.ribbonButtonArticulos.Click += new System.EventHandler(this.RibbonButtonArticulosClick); // // ribbonButtonTerceros // this.ribbonButtonTerceros.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButtonTerceros.Image"))); this.ribbonButtonTerceros.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButtonTerceros.SmallImage"))); this.ribbonButtonTerceros.Text = "Terceros"; this.ribbonButtonTerceros.Click += new System.EventHandler(this.RibbonButtonTercerosClick); // // ribbonButtonDocumentos // this.ribbonButtonDocumentos.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButtonDocumentos.Image"))); this.ribbonButtonDocumentos.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButtonDocumentos.SmallImage"))); this.ribbonButtonDocumentos.Text = "Documentos"; this.ribbonButtonDocumentos.Click += new System.EventHandler(this.RibbonButtonDocumentosClick); // // ribbonButtonComprobantes // this.ribbonButtonComprobantes.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButtonComprobantes.Image"))); this.ribbonButtonComprobantes.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButtonComprobantes.SmallImage"))); this.ribbonButtonComprobantes.Text = "Comprobantes"; this.ribbonButtonComprobantes.Click += new System.EventHandler(this.RibbonButtonComprobantesClick); // // ribbonButtonInformes // this.ribbonButtonInformes.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButtonInformes.Image"))); this.ribbonButtonInformes.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButtonInformes.SmallImage"))); this.ribbonButtonInformes.Text = "Informes"; // // ribbonButtonPreferencias // this.ribbonButtonPreferencias.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButtonPreferencias.Image"))); this.ribbonButtonPreferencias.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButtonPreferencias.SmallImage"))); this.ribbonButtonPreferencias.Text = "Preferencias"; this.ribbonButtonPreferencias.Click += new System.EventHandler(this.RibbonButtonPreferenciasClick); // // ribbonButtonMaestros // this.ribbonButtonMaestros.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButtonMaestros.Image"))); this.ribbonButtonMaestros.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButtonMaestros.SmallImage"))); this.ribbonButtonMaestros.Text = "Maestros"; this.ribbonButtonMaestros.Click += new System.EventHandler(this.RibbonButtonMaestrosClick); // // ribbonButtonSalir // this.ribbonButtonSalir.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButtonSalir.Image"))); this.ribbonButtonSalir.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButtonSalir.SmallImage"))); this.ribbonButtonSalir.Text = "Salir"; this.ribbonButtonSalir.Click += new System.EventHandler(this.RibbonButtonSalirClick); // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.lblInfo, this.lblUsuario, this.lblData }); this.statusStrip1.Location = new System.Drawing.Point(0, 239); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(726, 22); this.statusStrip1.TabIndex = 2; this.statusStrip1.Text = "statusStrip1"; // // lblInfo // this.lblInfo.Image = ((System.Drawing.Image)(resources.GetObject("lblInfo.Image"))); this.lblInfo.Name = "lblInfo"; this.lblInfo.Size = new System.Drawing.Size(16, 17); // // lblData // this.lblData.Image = ((System.Drawing.Image)(resources.GetObject("lblData.Image"))); this.lblData.Name = "lblData"; this.lblData.Size = new System.Drawing.Size(16, 17); // // lblUsuario // this.lblUsuario.Image = ((System.Drawing.Image)(resources.GetObject("lblUsuario.Image"))); this.lblUsuario.Name = "lblUsuario"; this.lblUsuario.Size = new System.Drawing.Size(16, 17); // // timer1 // this.timer1.Tick += new System.EventHandler(this.Timer1Tick); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage"))); this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(726, 261); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.ribbon1); this.DoubleBuffered = true; this.IsMdiContainer = true; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "ElevenSQLite"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.MainFormLoad); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改 /// 這個方法的內容。 /// </summary> private void InitializeComponent() { System.Windows.Forms.RibbonPanel ribbonPanel1; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.ExcelToDB = new System.Windows.Forms.RibbonButton(); this.ribbonSeparator1 = new System.Windows.Forms.RibbonSeparator(); this.TableToDB = new System.Windows.Forms.RibbonButton(); this.ribbonSeparator2 = new System.Windows.Forms.RibbonSeparator(); this.Cr_Ta_ComboBox1 = new System.Windows.Forms.RibbonComboBox(); this.Cr_Ta_DB1 = new System.Windows.Forms.RibbonButton(); this.Cr_Ta_DB2 = new System.Windows.Forms.RibbonButton(); this.Cr_Ta_Btn1 = new System.Windows.Forms.RibbonButton(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.ribbon1 = new System.Windows.Forms.Ribbon(); this.ribbonTab1 = new System.Windows.Forms.RibbonTab(); this.ribbonPanel3 = new System.Windows.Forms.RibbonPanel(); this.ribbonButton2 = new System.Windows.Forms.RibbonButton(); this.ribbonPanel4 = new System.Windows.Forms.RibbonPanel(); this.ribbonLabel1 = new System.Windows.Forms.RibbonLabel(); this.ribbonLabel2 = new System.Windows.Forms.RibbonLabel(); this.ribbonTab2 = new System.Windows.Forms.RibbonTab(); this.ribbonPanel2 = new System.Windows.Forms.RibbonPanel(); this.ID_Transfer = new System.Windows.Forms.RibbonButton(); this.ID_ComboBox1 = new System.Windows.Forms.RibbonComboBox(); this.ID_DB1 = new System.Windows.Forms.RibbonButton(); this.ribbonButton3 = new System.Windows.Forms.RibbonButton(); this.ID_ComboBox2 = new System.Windows.Forms.RibbonComboBox(); this.ID_To_DB1 = new System.Windows.Forms.RibbonButton(); this.ID_To_DB2 = new System.Windows.Forms.RibbonButton(); this.ribbonPanel5 = new System.Windows.Forms.RibbonPanel(); this.ID_Big5_btn = new System.Windows.Forms.RibbonButton(); this.label1 = new System.Windows.Forms.Label(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.CT_TName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.toggleSwitch1 = new JCS.ToggleSwitch(); this.toggleSwitch2 = new JCS.ToggleSwitch(); this.dataGridView2 = new System.Windows.Forms.DataGridView(); this.ID_TName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ID_Where = new System.Windows.Forms.DataGridViewTextBoxColumn(); ribbonPanel1 = new System.Windows.Forms.RibbonPanel(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit(); this.SuspendLayout(); // // ribbonPanel1 // ribbonPanel1.Items.Add(this.ExcelToDB); ribbonPanel1.Items.Add(this.ribbonSeparator1); ribbonPanel1.Items.Add(this.TableToDB); ribbonPanel1.Items.Add(this.ribbonSeparator2); ribbonPanel1.Items.Add(this.Cr_Ta_ComboBox1); ribbonPanel1.Items.Add(this.Cr_Ta_Btn1); ribbonPanel1.Name = "ribbonPanel1"; ribbonPanel1.Text = ""; // // ExcelToDB // this.ExcelToDB.Image = global::SQLTool.Properties.Resources.exceltodb_50; this.ExcelToDB.LargeImage = global::SQLTool.Properties.Resources.exceltodb_50; this.ExcelToDB.Name = "ExcelToDB"; this.ExcelToDB.SmallImage = ((System.Drawing.Image)(resources.GetObject("ExcelToDB.SmallImage"))); this.ExcelToDB.Text = "ExcelToDB"; this.ExcelToDB.ToolTip = "請注意連線DB 。預設為外部MSSQL "; this.ExcelToDB.ToolTipTitle = "匯入Exel建表 "; this.ExcelToDB.Click += new System.EventHandler(this.ExcelToDB_Click); // // ribbonSeparator1 // this.ribbonSeparator1.Name = "ribbonSeparator1"; // // TableToDB // this.TableToDB.Image = global::SQLTool.Properties.Resources.table_48; this.TableToDB.LargeImage = global::SQLTool.Properties.Resources.table_48; this.TableToDB.Name = "TableToDB"; this.TableToDB.SmallImage = ((System.Drawing.Image)(resources.GetObject("TableToDB.SmallImage"))); this.TableToDB.Text = "TableToDB"; this.TableToDB.Click += new System.EventHandler(this.TableToDB_Click); // // ribbonSeparator2 // this.ribbonSeparator2.Name = "ribbonSeparator2"; // // Cr_Ta_ComboBox1 // this.Cr_Ta_ComboBox1.DrawIconsBar = false; this.Cr_Ta_ComboBox1.DropDownItems.Add(this.Cr_Ta_DB1); this.Cr_Ta_ComboBox1.DropDownItems.Add(this.Cr_Ta_DB2); this.Cr_Ta_ComboBox1.Name = "Cr_Ta_ComboBox1"; this.Cr_Ta_ComboBox1.Text = "Choose DB"; this.Cr_Ta_ComboBox1.TextBoxText = "預設"; this.Cr_Ta_ComboBox1.TextBoxTextChanged += new System.EventHandler(this.Cr_Ta_ComboBox1_TextBoxTextChanged); // // Cr_Ta_DB1 // this.Cr_Ta_DB1.Image = ((System.Drawing.Image)(resources.GetObject("Cr_Ta_DB1.Image"))); this.Cr_Ta_DB1.LargeImage = ((System.Drawing.Image)(resources.GetObject("Cr_Ta_DB1.LargeImage"))); this.Cr_Ta_DB1.Name = "Cr_Ta_DB1"; this.Cr_Ta_DB1.SmallImage = global::SQLTool.Properties.Resources.DB1; this.Cr_Ta_DB1.Text = "外部MSSQL"; this.Cr_Ta_DB1.TextAlignment = System.Windows.Forms.RibbonItem.RibbonItemTextAlignment.Center; this.Cr_Ta_DB1.Value = ""; // // Cr_Ta_DB2 // this.Cr_Ta_DB2.Image = ((System.Drawing.Image)(resources.GetObject("Cr_Ta_DB2.Image"))); this.Cr_Ta_DB2.LargeImage = ((System.Drawing.Image)(resources.GetObject("Cr_Ta_DB2.LargeImage"))); this.Cr_Ta_DB2.Name = "Cr_Ta_DB2"; this.Cr_Ta_DB2.SmallImage = global::SQLTool.Properties.Resources.DB1; this.Cr_Ta_DB2.Text = "內部MSSQL"; this.Cr_Ta_DB2.Value = ""; // // Cr_Ta_Btn1 // this.Cr_Ta_Btn1.Image = ((System.Drawing.Image)(resources.GetObject("Cr_Ta_Btn1.Image"))); this.Cr_Ta_Btn1.LargeImage = ((System.Drawing.Image)(resources.GetObject("Cr_Ta_Btn1.LargeImage"))); this.Cr_Ta_Btn1.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Medium; this.Cr_Ta_Btn1.Name = "Cr_Ta_Btn1"; this.Cr_Ta_Btn1.SmallImage = ((System.Drawing.Image)(resources.GetObject("Cr_Ta_Btn1.SmallImage"))); this.Cr_Ta_Btn1.Text = "Connection Test"; this.Cr_Ta_Btn1.TextAlignment = System.Windows.Forms.RibbonItem.RibbonItemTextAlignment.Right; this.Cr_Ta_Btn1.Click += new System.EventHandler(this.Cr_Ta_Btn1_Click); // // richTextBox1 // this.richTextBox1.Location = new System.Drawing.Point(5, 143); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Size = new System.Drawing.Size(710, 370); this.richTextBox1.TabIndex = 0; this.richTextBox1.Text = ""; // // ribbon1 // this.ribbon1.Font = new System.Drawing.Font("微軟正黑體", 9F); this.ribbon1.Location = new System.Drawing.Point(0, 0); this.ribbon1.Minimized = false; this.ribbon1.Name = "ribbon1"; // // // this.ribbon1.OrbDropDown.BorderRoundness = 8; this.ribbon1.OrbDropDown.Location = new System.Drawing.Point(0, 0); this.ribbon1.OrbDropDown.Name = ""; this.ribbon1.OrbDropDown.Size = new System.Drawing.Size(527, 72); this.ribbon1.OrbDropDown.TabIndex = 0; this.ribbon1.OrbStyle = System.Windows.Forms.RibbonOrbStyle.Office_2010; this.ribbon1.RibbonTabFont = new System.Drawing.Font("Trebuchet MS", 9F); this.ribbon1.Size = new System.Drawing.Size(720, 138); this.ribbon1.TabIndex = 4; this.ribbon1.Tabs.Add(this.ribbonTab1); this.ribbon1.Tabs.Add(this.ribbonTab2); this.ribbon1.TabsMargin = new System.Windows.Forms.Padding(6, 26, 20, 0); this.ribbon1.TabSpacing = 3; this.ribbon1.Text = "ribbon1"; // // ribbonTab1 // this.ribbonTab1.Name = "ribbonTab1"; this.ribbonTab1.Panels.Add(ribbonPanel1); this.ribbonTab1.Panels.Add(this.ribbonPanel3); this.ribbonTab1.Panels.Add(this.ribbonPanel4); this.ribbonTab1.Text = "Create Table"; this.ribbonTab1.ToolTip = ""; this.ribbonTab1.ActiveChanged += new System.EventHandler(this.ribbonTab1_ActiveChanged); // // ribbonPanel3 // this.ribbonPanel3.Items.Add(this.ribbonButton2); this.ribbonPanel3.Name = "ribbonPanel3"; this.ribbonPanel3.Text = ""; // // ribbonButton2 // this.ribbonButton2.Image = global::SQLTool.Properties.Resources.Empty_rash; this.ribbonButton2.LargeImage = global::SQLTool.Properties.Resources.Empty_rash; this.ribbonButton2.Name = "ribbonButton2"; this.ribbonButton2.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton2.SmallImage"))); this.ribbonButton2.Text = "ClearWindow"; this.ribbonButton2.ToolTip = "DoubleClick"; this.ribbonButton2.ToolTipTitle = "Clear Window"; this.ribbonButton2.DoubleClick += new System.EventHandler(this.ribbonButton2_DoubleClick); // // ribbonPanel4 // this.ribbonPanel4.Items.Add(this.ribbonLabel1); this.ribbonPanel4.Items.Add(this.ribbonLabel2); this.ribbonPanel4.Name = "ribbonPanel4"; this.ribbonPanel4.Text = "Mode Setting"; // // ribbonLabel1 // this.ribbonLabel1.Name = "ribbonLabel1"; this.ribbonLabel1.Text = " TableToDB"; // // ribbonLabel2 // this.ribbonLabel2.Name = "ribbonLabel2"; this.ribbonLabel2.Text = " Developer "; this.ribbonLabel2.ToolTip = "General Mode:Don\'t show SQL syntax Developer Mode:Show SQL syntax"; // // ribbonTab2 // this.ribbonTab2.Name = "ribbonTab2"; this.ribbonTab2.Panels.Add(this.ribbonPanel2); this.ribbonTab2.Panels.Add(this.ribbonPanel5); this.ribbonTab2.Text = "Insert Data"; // // ribbonPanel2 // this.ribbonPanel2.Items.Add(this.ID_Transfer); this.ribbonPanel2.Items.Add(this.ID_ComboBox1); this.ribbonPanel2.Items.Add(this.ribbonButton3); this.ribbonPanel2.Items.Add(this.ID_ComboBox2); this.ribbonPanel2.Name = "ribbonPanel2"; this.ribbonPanel2.Text = ""; // // ID_Transfer // this.ID_Transfer.Image = global::SQLTool.Properties.Resources.data_transfer_48; this.ID_Transfer.LargeImage = global::SQLTool.Properties.Resources.data_transfer_48; this.ID_Transfer.Name = "ID_Transfer"; this.ID_Transfer.SmallImage = ((System.Drawing.Image)(resources.GetObject("ID_Transfer.SmallImage"))); this.ID_Transfer.Text = "Transfer"; this.ID_Transfer.Click += new System.EventHandler(this.ID_Transfer_Click); // // ID_ComboBox1 // this.ID_ComboBox1.DropDownItems.Add(this.ID_DB1); this.ID_ComboBox1.Name = "ID_ComboBox1"; this.ID_ComboBox1.Text = "From - DB"; this.ID_ComboBox1.TextBoxText = "正式機ORACLE"; // // ID_DB1 // this.ID_DB1.Image = ((System.Drawing.Image)(resources.GetObject("ID_DB1.Image"))); this.ID_DB1.LargeImage = ((System.Drawing.Image)(resources.GetObject("ID_DB1.LargeImage"))); this.ID_DB1.Name = "ID_DB1"; this.ID_DB1.SmallImage = global::SQLTool.Properties.Resources.DB1; this.ID_DB1.Text = "正式機ORACLE"; this.ID_DB1.Value = ""; // // ribbonButton3 // this.ribbonButton3.DrawDropDownIconsBar = false; this.ribbonButton3.Image = global::SQLTool.Properties.Resources.outgoing_data_48; this.ribbonButton3.LargeImage = global::SQLTool.Properties.Resources.outgoing_data_48; this.ribbonButton3.Name = "ribbonButton3"; this.ribbonButton3.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton3.SmallImage"))); this.ribbonButton3.Text = ""; // // ID_ComboBox2 // this.ID_ComboBox2.DropDownItems.Add(this.ID_To_DB1); this.ID_ComboBox2.DropDownItems.Add(this.ID_To_DB2); this.ID_ComboBox2.Name = "ID_ComboBox2"; this.ID_ComboBox2.Text = "To - DB"; this.ID_ComboBox2.TextBoxText = "內部MSSQL"; this.ID_ComboBox2.TextBoxTextChanged += new System.EventHandler(this.ID_ComboBox2_TextBoxTextChanged); // // ID_To_DB1 // this.ID_To_DB1.Image = ((System.Drawing.Image)(resources.GetObject("ID_To_DB1.Image"))); this.ID_To_DB1.LargeImage = ((System.Drawing.Image)(resources.GetObject("ID_To_DB1.LargeImage"))); this.ID_To_DB1.Name = "ID_To_DB1"; this.ID_To_DB1.SmallImage = global::SQLTool.Properties.Resources.DB1; this.ID_To_DB1.Text = "內部MSSQL"; this.ID_To_DB1.Value = "192.168.20.74"; // // ID_To_DB2 // this.ID_To_DB2.Image = ((System.Drawing.Image)(resources.GetObject("ID_To_DB2.Image"))); this.ID_To_DB2.LargeImage = ((System.Drawing.Image)(resources.GetObject("ID_To_DB2.LargeImage"))); this.ID_To_DB2.Name = "ID_To_DB2"; this.ID_To_DB2.SmallImage = global::SQLTool.Properties.Resources.DB1; this.ID_To_DB2.Text = "外部MSSQL"; this.ID_To_DB2.Value = ""; // // ribbonPanel5 // this.ribbonPanel5.Items.Add(this.ID_Big5_btn); this.ribbonPanel5.Name = "ribbonPanel5"; this.ribbonPanel5.Text = ""; // // ID_Big5_btn // this.ID_Big5_btn.Image = global::SQLTool.Properties.Resources.big5_48; this.ID_Big5_btn.LargeImage = global::SQLTool.Properties.Resources.big5_48; this.ID_Big5_btn.Name = "ID_Big5_btn"; this.ID_Big5_btn.SmallImage = ((System.Drawing.Image)(resources.GetObject("ID_Big5_btn.SmallImage"))); this.ID_Big5_btn.Text = "BIG5"; this.ID_Big5_btn.Click += new System.EventHandler(this.ID_Big5_btn_Click); // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Lime; this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.label1.Location = new System.Drawing.Point(644, 152); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(43, 14); this.label1.TabIndex = 5; this.label1.Text = "General"; // // dataGridView1 // this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.CT_TName }); this.dataGridView1.Location = new System.Drawing.Point(5, 143); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.RowTemplate.Height = 24; this.dataGridView1.Size = new System.Drawing.Size(196, 370); this.dataGridView1.TabIndex = 5; this.dataGridView1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.dataGridView1_KeyPress); // // CT_TName // this.CT_TName.HeaderText = "Table Name"; this.CT_TName.Name = "CT_TName"; this.CT_TName.Width = 150; // // toggleSwitch1 // this.toggleSwitch1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(233)))), ((int)(((byte)(255))))); this.toggleSwitch1.Location = new System.Drawing.Point(436, 67); this.toggleSwitch1.Name = "toggleSwitch1"; this.toggleSwitch1.OffFont = new System.Drawing.Font("新細明體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.toggleSwitch1.OnFont = new System.Drawing.Font("新細明體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.toggleSwitch1.OnText = "ON"; this.toggleSwitch1.Size = new System.Drawing.Size(57, 16); this.toggleSwitch1.Style = JCS.ToggleSwitch.ToggleSwitchStyle.Modern; this.toggleSwitch1.TabIndex = 6; this.toggleSwitch1.CheckedChanged += new JCS.ToggleSwitch.CheckedChangedDelegate(this.toggleSwitch1_CheckedChanged); // // toggleSwitch2 // this.toggleSwitch2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(233)))), ((int)(((byte)(255))))); this.toggleSwitch2.Location = new System.Drawing.Point(436, 88); this.toggleSwitch2.Name = "toggleSwitch2"; this.toggleSwitch2.OffFont = new System.Drawing.Font("新細明體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.toggleSwitch2.OnFont = new System.Drawing.Font("新細明體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.toggleSwitch2.OnText = "ON"; this.toggleSwitch2.Size = new System.Drawing.Size(57, 16); this.toggleSwitch2.Style = JCS.ToggleSwitch.ToggleSwitchStyle.Modern; this.toggleSwitch2.TabIndex = 7; this.toggleSwitch2.CheckedChanged += new JCS.ToggleSwitch.CheckedChangedDelegate(this.toggleSwitch2_CheckedChanged); // // dataGridView2 // this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.ID_TName, this.ID_Where }); this.dataGridView2.Location = new System.Drawing.Point(5, 143); this.dataGridView2.Name = "dataGridView2"; this.dataGridView2.RowTemplate.Height = 24; this.dataGridView2.Size = new System.Drawing.Size(234, 370); this.dataGridView2.TabIndex = 8; // // ID_TName // this.ID_TName.HeaderText = "Table Name"; this.ID_TName.Name = "ID_TName"; this.ID_TName.Width = 90; // // ID_Where // this.ID_Where.HeaderText = "Where"; this.ID_Where.Name = "ID_Where"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(720, 516); this.Controls.Add(this.dataGridView2); this.Controls.Add(this.toggleSwitch2); this.Controls.Add(this.toggleSwitch1); this.Controls.Add(this.label1); this.Controls.Add(this.richTextBox1); this.Controls.Add(this.dataGridView1); this.Controls.Add(this.ribbon1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.KeyPreview = true; this.Name = "Form1"; this.Text = "SQLTool"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Inserts the specified panel at the desired index /// </summary> /// <param name="index">Desired index to insert the panel</param> /// <param name="item">Panel to insert</param> public new void Insert(int index, System.Windows.Forms.RibbonPanel item) { item.SetOwner(Owner); item.SetOwnerTab(OwnerTab); base.Insert(index, item); }