/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle5 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle(); Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle6 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle(); Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle7 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle(); Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle8 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle(); this.panel1 = new System.Windows.Forms.Panel(); this.splitter1 = new System.Windows.Forms.Splitter(); this.gridDataBoundGrid1 = new Syncfusion.Windows.Forms.Grid.GridDataBoundGrid(); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.panel2 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.gridDataBoundGrid1); this.panel1.Location = new System.Drawing.Point(12, 50); this.panel1.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(730, 680); this.panel1.TabIndex = 0; // // splitter1 // this.splitter1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(146)))), ((int)(((byte)(206))))); this.splitter1.Location = new System.Drawing.Point(0, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(8, 723); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; this.splitter1.Visible = false; // // gridDataBoundGrid1 // this.gridDataBoundGrid1.AllowDragSelectedCols = true; this.gridDataBoundGrid1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); gridBaseStyle5.Name = "Column Header"; gridBaseStyle5.StyleInfo.BaseStyle = "Header"; gridBaseStyle5.StyleInfo.CellType = "ColumnHeaderCell"; gridBaseStyle5.StyleInfo.Enabled = false; gridBaseStyle5.StyleInfo.Font.Bold = true; gridBaseStyle5.StyleInfo.Font.Facename = "Segoe UI"; gridBaseStyle5.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center; gridBaseStyle6.Name = "Header"; gridBaseStyle6.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None); gridBaseStyle6.StyleInfo.Borders.Left = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None); gridBaseStyle6.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None); gridBaseStyle6.StyleInfo.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None); gridBaseStyle6.StyleInfo.CellType = "Header"; gridBaseStyle6.StyleInfo.Font.Bold = true; gridBaseStyle6.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Control); gridBaseStyle6.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle; gridBaseStyle7.Name = "Standard"; gridBaseStyle7.StyleInfo.CheckBoxOptions.CheckedValue = "True"; gridBaseStyle7.StyleInfo.CheckBoxOptions.UncheckedValue = "False"; gridBaseStyle7.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window); gridBaseStyle8.Name = "Row Header"; gridBaseStyle8.StyleInfo.BaseStyle = "Header"; gridBaseStyle8.StyleInfo.CellType = "RowHeaderCell"; gridBaseStyle8.StyleInfo.Enabled = true; gridBaseStyle8.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left; this.gridDataBoundGrid1.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] { gridBaseStyle5, gridBaseStyle6, gridBaseStyle7, gridBaseStyle8 }); this.gridDataBoundGrid1.DefaultRowHeight = 20; this.gridDataBoundGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridDataBoundGrid1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridDataBoundGrid1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridDataBoundGrid1.Location = new System.Drawing.Point(0, 0); this.gridDataBoundGrid1.MetroScrollBars = true; this.gridDataBoundGrid1.Name = "gridDataBoundGrid1"; this.gridDataBoundGrid1.Properties.ForceImmediateRepaint = false; this.gridDataBoundGrid1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))); this.gridDataBoundGrid1.Properties.MarkColHeader = false; this.gridDataBoundGrid1.Properties.MarkRowHeader = false; this.gridDataBoundGrid1.ShowCurrentCellBorderBehavior = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus; this.gridDataBoundGrid1.Size = new System.Drawing.Size(730, 680); this.gridDataBoundGrid1.SmartSizeBox = false; this.gridDataBoundGrid1.SortBehavior = Syncfusion.Windows.Forms.Grid.GridSortBehavior.DoubleClick; this.gridDataBoundGrid1.TabIndex = 2; this.gridDataBoundGrid1.Text = "gridDataBoundGrid1"; this.gridDataBoundGrid1.VerticalThumbTrack = true; // // gridGroupingControl1 // this.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridGroupingControl1.Enabled = false; this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(0, 0); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(730, 680); this.gridGroupingControl1.TabIndex = 1; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 25; this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.ThemesEnabled = false; // // panel2 // this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel2.Controls.Add(this.gridGroupingControl1); this.panel2.Location = new System.Drawing.Point(770, 50); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(730, 680); this.panel2.TabIndex = 3; // // panel3 // this.panel3.Anchor = System.Windows.Forms.AnchorStyles.None; this.panel3.Location = new System.Drawing.Point(664, 14); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(2, 937); this.panel3.TabIndex = 4; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(317, 25); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(151, 20); this.label1.TabIndex = 5; this.label1.Text = "GridDataBoundGrid"; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right)))); this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(1080, 25); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(156, 20); this.label2.TabIndex = 6; this.label2.Text = "GridGroupingControl"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 13F); this.ClientSize = new System.Drawing.Size(1513, 721); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(1000, 600); this.Name = "Form1"; this.Text = "Synchronization Grid"; this.Load += new System.EventHandler(this.Form1_Load); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SongFormatter)); this.txtNumber = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.txtTitle = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.txtChorus = new System.Windows.Forms.TextBox(); this.btnCancel = new System.Windows.Forms.Button(); this.btnSave = new System.Windows.Forms.Button(); this.gdbVerses = new Syncfusion.Windows.Forms.Grid.GridDataBoundGrid(); this.gbcChorus = new Syncfusion.Windows.Forms.Grid.GridBoundColumn(); this.gbcVerse = new Syncfusion.Windows.Forms.Grid.GridBoundColumn(); this.ofdLocation = new System.Windows.Forms.OpenFileDialog(); this.errorProvider1 = new System.Windows.Forms.ErrorProvider(); this.gbSongInformation = new System.Windows.Forms.GroupBox(); this.button1 = new System.Windows.Forms.Button(); this.pbPhoto = new System.Windows.Forms.PictureBox2(); this.dataView1 = new System.Data.DataView(); this.visualStyleProvider1 = new Skybound.VisualStyles.VisualStyleProvider(); ((System.ComponentModel.ISupportInitialize)(this.gdbVerses)).BeginInit(); this.gbSongInformation.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).BeginInit(); this.SuspendLayout(); // // txtNumber // this.txtNumber.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtNumber.Location = new System.Drawing.Point(64, 24); this.txtNumber.Name = "txtNumber"; this.txtNumber.Size = new System.Drawing.Size(344, 20); this.txtNumber.TabIndex = 3; this.txtNumber.Text = ""; this.visualStyleProvider1.SetVisualStyleSupport(this.txtNumber, true); this.txtNumber.Validating += new System.ComponentModel.CancelEventHandler(this.txtNumber_Validating); // // label3 // this.label3.Location = new System.Drawing.Point(8, 24); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 16); this.label3.TabIndex = 4; this.label3.Text = "Number:"; this.visualStyleProvider1.SetVisualStyleSupport(this.label3, true); // // txtTitle // this.txtTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtTitle.Location = new System.Drawing.Point(64, 48); this.txtTitle.Name = "txtTitle"; this.txtTitle.Size = new System.Drawing.Size(344, 20); this.txtTitle.TabIndex = 3; this.txtTitle.Text = ""; this.visualStyleProvider1.SetVisualStyleSupport(this.txtTitle, true); this.txtTitle.Validating += new System.ComponentModel.CancelEventHandler(this.txtTitle_Validating); // // label1 // this.label1.Location = new System.Drawing.Point(8, 48); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 16); this.label1.TabIndex = 4; this.label1.Text = "Title:"; this.visualStyleProvider1.SetVisualStyleSupport(this.label1, true); // // label2 // this.label2.Location = new System.Drawing.Point(8, 72); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 16); this.label2.TabIndex = 4; this.label2.Text = "Chorus:"; this.visualStyleProvider1.SetVisualStyleSupport(this.label2, true); // // txtChorus // this.txtChorus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtChorus.Location = new System.Drawing.Point(64, 72); this.txtChorus.Name = "txtChorus"; this.txtChorus.Size = new System.Drawing.Size(344, 20); this.txtChorus.TabIndex = 3; this.txtChorus.Text = ""; this.visualStyleProvider1.SetVisualStyleSupport(this.txtChorus, true); this.txtChorus.Validating += new System.ComponentModel.CancelEventHandler(this.txtChorus_Validating); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.CausesValidation = false; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter; this.btnCancel.Location = new System.Drawing.Point(624, 578); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(64, 24); this.btnCancel.TabIndex = 10; this.btnCancel.Text = "Cancel"; this.visualStyleProvider1.SetVisualStyleSupport(this.btnCancel, true); this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnSave // this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSave.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnSave.ImageAlign = System.Drawing.ContentAlignment.MiddleCenter; this.btnSave.Location = new System.Drawing.Point(552, 578); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(64, 24); this.btnSave.TabIndex = 11; this.btnSave.Text = "Close"; this.visualStyleProvider1.SetVisualStyleSupport(this.btnSave, true); this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // gdbVerses // this.gdbVerses.AllowDragSelectedCols = true; this.gdbVerses.AllowSelection = ((Syncfusion.Windows.Forms.Grid.GridSelectionFlags)((Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Row | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Cell))); this.gdbVerses.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gdbVerses.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gdbVerses.ControllerOptions = ((Syncfusion.Windows.Forms.Grid.GridControllerOptions)(((Syncfusion.Windows.Forms.Grid.GridControllerOptions.ClickCells | Syncfusion.Windows.Forms.Grid.GridControllerOptions.SelectCells) | Syncfusion.Windows.Forms.Grid.GridControllerOptions.ResizeCells))); this.gdbVerses.DataMember = ""; this.gdbVerses.DefaultRowHeight = 80; this.gdbVerses.GridBoundColumns.AddRange(new Syncfusion.Windows.Forms.Grid.GridBoundColumn[] { this.gbcChorus, this.gbcVerse }); this.gdbVerses.Location = new System.Drawing.Point(8, 208); this.gdbVerses.Name = "gdbVerses"; this.gdbVerses.OptimizeInsertRemoveCells = true; this.gdbVerses.ShowCurrentCellBorderBehavior = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus; this.gdbVerses.Size = new System.Drawing.Size(680, 352); this.gdbVerses.SortBehavior = Syncfusion.Windows.Forms.Grid.GridSortBehavior.None; this.gdbVerses.TabIndex = 12; this.gdbVerses.ThemesEnabled = true; this.gdbVerses.UseListChangedEvent = true; this.gdbVerses.CurrentCellValidated += new System.EventHandler(this.gdbVerses_CurrentCellValidated); this.gdbVerses.CurrentCellKeyDown += new System.Windows.Forms.KeyEventHandler(this.gdbVerses_CurrentCellKeyDown); this.gdbVerses.CurrentCellValidating += new System.ComponentModel.CancelEventHandler(this.gdbVerses_CurrentCellValidating); // // gbcChorus // this.gbcChorus.MappingName = "IsChorus"; this.gbcChorus.StyleInfo.CellType = "CheckBox"; this.gbcChorus.StyleInfo.CellValueType = typeof(bool); this.gbcChorus.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center; this.gbcChorus.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle; // // gbcVerse // this.gbcVerse.MappingName = "Verse"; this.gbcVerse.StyleInfo.AllowEnter = true; this.gbcVerse.StyleInfo.CellValueType = typeof(string); this.gbcVerse.StyleInfo.VerticalScrollbar = true; this.gbcVerse.StyleInfo.WrapText = true; // // errorProvider1 // this.errorProvider1.ContainerControl = this; // // gbSongInformation // this.gbSongInformation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gbSongInformation.Controls.Add(this.button1); this.gbSongInformation.Controls.Add(this.label3); this.gbSongInformation.Controls.Add(this.txtNumber); this.gbSongInformation.Controls.Add(this.txtChorus); this.gbSongInformation.Controls.Add(this.label2); this.gbSongInformation.Controls.Add(this.label1); this.gbSongInformation.Controls.Add(this.txtTitle); this.gbSongInformation.Location = new System.Drawing.Point(8, 8); this.gbSongInformation.Name = "gbSongInformation"; this.gbSongInformation.Size = new System.Drawing.Size(424, 184); this.gbSongInformation.TabIndex = 13; this.gbSongInformation.TabStop = false; this.gbSongInformation.Text = "Song Information"; this.visualStyleProvider1.SetVisualStyleSupport(this.gbSongInformation, true); // // button1 // this.button1.Location = new System.Drawing.Point(16, 104); this.button1.Name = "button1"; this.button1.TabIndex = 5; this.button1.Text = "auto format"; this.visualStyleProvider1.SetVisualStyleSupport(this.button1, true); this.button1.Click += new System.EventHandler(this.button1_Click); // // pbPhoto // this.pbPhoto.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.pbPhoto.BackColor = System.Drawing.SystemColors.ControlLightLight; this.pbPhoto.Cursor = System.Windows.Forms.Cursors.Hand; this.pbPhoto.Location = new System.Drawing.Point(440, 16); this.pbPhoto.Name = "pbPhoto"; this.pbPhoto.Size = new System.Drawing.Size(240, 176); this.pbPhoto.TabIndex = 0; this.pbPhoto.TabStop = false; this.visualStyleProvider1.SetVisualStyleSupport(this.pbPhoto, true); this.pbPhoto.Click += new System.EventHandler(this.pbPhoto_Click); // // SongFormatter // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btnSave; this.ClientSize = new System.Drawing.Size(696, 610); this.Controls.Add(this.pbPhoto); this.Controls.Add(this.gbSongInformation); this.Controls.Add(this.gdbVerses); this.Controls.Add(this.btnSave); this.Controls.Add(this.btnCancel); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(704, 639); this.Name = "SongFormatter"; this.Text = "Song formatter"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closing += new System.ComponentModel.CancelEventHandler(this.SongEditorForm_Closing); this.Load += new System.EventHandler(this.SongEditorForm_Load); ((System.ComponentModel.ISupportInitialize)(this.gdbVerses)).EndInit(); this.gbSongInformation.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataView1)).EndInit(); this.ResumeLayout(false); }