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); }
private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(TestForm)); this.visualStyleProvider1 = new Skybound.VisualStyles.VisualStyleProvider(); this.buttonEdit1 = new Syncfusion.Windows.Forms.Tools.ButtonEdit(); this.buttonEditChildButton1 = new Syncfusion.Windows.Forms.Tools.ButtonEditChildButton(); ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1)).BeginInit(); this.buttonEdit1.SuspendLayout(); this.SuspendLayout(); // // buttonEdit1 // this.buttonEdit1.AccessibleDescription = resources.GetString("buttonEdit1.AccessibleDescription"); this.buttonEdit1.AccessibleName = resources.GetString("buttonEdit1.AccessibleName"); this.buttonEdit1.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("buttonEdit1.Anchor"))); this.buttonEdit1.AutoScroll = ((bool)(resources.GetObject("buttonEdit1.AutoScroll"))); this.buttonEdit1.AutoScrollMargin = ((System.Drawing.Size)(resources.GetObject("buttonEdit1.AutoScrollMargin"))); this.buttonEdit1.AutoScrollMinSize = ((System.Drawing.Size)(resources.GetObject("buttonEdit1.AutoScrollMinSize"))); this.buttonEdit1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("buttonEdit1.BackgroundImage"))); this.buttonEdit1.Buttons.Add(this.buttonEditChildButton1); this.buttonEdit1.Controls.Add(this.buttonEditChildButton1); this.buttonEdit1.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("buttonEdit1.Dock"))); this.buttonEdit1.Enabled = ((bool)(resources.GetObject("buttonEdit1.Enabled"))); this.buttonEdit1.Font = ((System.Drawing.Font)(resources.GetObject("buttonEdit1.Font"))); this.buttonEdit1.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("buttonEdit1.ImeMode"))); this.buttonEdit1.Location = ((System.Drawing.Point)(resources.GetObject("buttonEdit1.Location"))); this.buttonEdit1.Name = "buttonEdit1"; this.buttonEdit1.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("buttonEdit1.RightToLeft"))); this.buttonEdit1.SelectionLength = 0; this.buttonEdit1.SelectionStart = 0; this.buttonEdit1.ShowTextBox = true; this.buttonEdit1.Size = ((System.Drawing.Size)(resources.GetObject("buttonEdit1.Size"))); this.buttonEdit1.TabIndex = ((int)(resources.GetObject("buttonEdit1.TabIndex"))); this.buttonEdit1.Text = resources.GetString("buttonEdit1.Text"); // // buttonEdit1.TextBox // this.buttonEdit1.TextBox.AccessibleDescription = resources.GetString("buttonEdit1.TextBox.AccessibleDescription"); this.buttonEdit1.TextBox.AccessibleName = resources.GetString("buttonEdit1.TextBox.AccessibleName"); this.buttonEdit1.TextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("buttonEdit1.TextBox.Anchor"))); this.buttonEdit1.TextBox.AutoSize = ((bool)(resources.GetObject("buttonEdit1.TextBox.AutoSize"))); this.buttonEdit1.TextBox.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("buttonEdit1.TextBox.BackgroundImage"))); this.buttonEdit1.TextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; this.buttonEdit1.TextBox.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("buttonEdit1.TextBox.Dock"))); this.buttonEdit1.TextBox.Enabled = ((bool)(resources.GetObject("buttonEdit1.TextBox.Enabled"))); this.buttonEdit1.TextBox.Font = ((System.Drawing.Font)(resources.GetObject("buttonEdit1.TextBox.Font"))); this.buttonEdit1.TextBox.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("buttonEdit1.TextBox.ImeMode"))); this.buttonEdit1.TextBox.Location = ((System.Drawing.Point)(resources.GetObject("buttonEdit1.TextBox.Location"))); this.buttonEdit1.TextBox.MaxLength = ((int)(resources.GetObject("buttonEdit1.TextBox.MaxLength"))); this.buttonEdit1.TextBox.Multiline = ((bool)(resources.GetObject("buttonEdit1.TextBox.Multiline"))); this.buttonEdit1.TextBox.Name = ""; this.buttonEdit1.TextBox.PasswordChar = ((char)(resources.GetObject("buttonEdit1.TextBox.PasswordChar"))); this.buttonEdit1.TextBox.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("buttonEdit1.TextBox.RightToLeft"))); this.buttonEdit1.TextBox.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("buttonEdit1.TextBox.ScrollBars"))); this.buttonEdit1.TextBox.Size = ((System.Drawing.Size)(resources.GetObject("buttonEdit1.TextBox.Size"))); this.buttonEdit1.TextBox.TabIndex = ((int)(resources.GetObject("buttonEdit1.TextBox.TabIndex"))); this.buttonEdit1.TextBox.Text = resources.GetString("buttonEdit1.TextBox.Text"); this.buttonEdit1.TextBox.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("buttonEdit1.TextBox.TextAlign"))); this.buttonEdit1.TextBox.Visible = ((bool)(resources.GetObject("buttonEdit1.TextBox.Visible"))); this.buttonEdit1.TextBox.WordWrap = ((bool)(resources.GetObject("buttonEdit1.TextBox.WordWrap"))); this.buttonEdit1.Visible = ((bool)(resources.GetObject("buttonEdit1.Visible"))); // // buttonEditChildButton1 // this.buttonEditChildButton1.AccessibleDescription = resources.GetString("buttonEditChildButton1.AccessibleDescription"); this.buttonEditChildButton1.AccessibleName = resources.GetString("buttonEditChildButton1.AccessibleName"); this.buttonEditChildButton1.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("buttonEditChildButton1.Anchor"))); this.buttonEditChildButton1.BackColor = System.Drawing.SystemColors.Control; this.buttonEditChildButton1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("buttonEditChildButton1.BackgroundImage"))); this.buttonEditChildButton1.ButtonEditParent = this.buttonEdit1; this.buttonEditChildButton1.ButtonType = Syncfusion.Windows.Forms.Tools.ButtonTypes.Browse; this.buttonEditChildButton1.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("buttonEditChildButton1.Dock"))); this.buttonEditChildButton1.Enabled = ((bool)(resources.GetObject("buttonEditChildButton1.Enabled"))); this.buttonEditChildButton1.Font = ((System.Drawing.Font)(resources.GetObject("buttonEditChildButton1.Font"))); this.buttonEditChildButton1.Image = ((System.Drawing.Image)(resources.GetObject("buttonEditChildButton1.Image"))); this.buttonEditChildButton1.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("buttonEditChildButton1.ImageAlign"))); this.buttonEditChildButton1.ImageIndex = ((int)(resources.GetObject("buttonEditChildButton1.ImageIndex"))); this.buttonEditChildButton1.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("buttonEditChildButton1.ImeMode"))); this.buttonEditChildButton1.Location = ((System.Drawing.Point)(resources.GetObject("buttonEditChildButton1.Location"))); this.buttonEditChildButton1.Name = "buttonEditChildButton1"; this.buttonEditChildButton1.PreferredWidth = 16; this.buttonEditChildButton1.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("buttonEditChildButton1.RightToLeft"))); this.buttonEditChildButton1.Size = ((System.Drawing.Size)(resources.GetObject("buttonEditChildButton1.Size"))); this.buttonEditChildButton1.TabIndex = ((int)(resources.GetObject("buttonEditChildButton1.TabIndex"))); this.buttonEditChildButton1.Text = resources.GetString("buttonEditChildButton1.Text"); this.buttonEditChildButton1.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("buttonEditChildButton1.TextAlign"))); this.buttonEditChildButton1.Visible = ((bool)(resources.GetObject("buttonEditChildButton1.Visible"))); this.visualStyleProvider1.SetVisualStyleSupport(this.buttonEditChildButton1, true); // // TestForm // this.AccessibleDescription = resources.GetString("$this.AccessibleDescription"); this.AccessibleName = resources.GetString("$this.AccessibleName"); this.AutoScaleBaseSize = ((System.Drawing.Size)(resources.GetObject("$this.AutoScaleBaseSize"))); this.AutoScroll = ((bool)(resources.GetObject("$this.AutoScroll"))); this.AutoScrollMargin = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMargin"))); this.AutoScrollMinSize = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMinSize"))); this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage"))); this.ClientSize = ((System.Drawing.Size)(resources.GetObject("$this.ClientSize"))); this.Controls.Add(this.buttonEdit1); this.Enabled = ((bool)(resources.GetObject("$this.Enabled"))); this.Font = ((System.Drawing.Font)(resources.GetObject("$this.Font"))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("$this.ImeMode"))); this.Location = ((System.Drawing.Point)(resources.GetObject("$this.Location"))); this.MaximizeBox = false; this.MaximumSize = ((System.Drawing.Size)(resources.GetObject("$this.MaximumSize"))); this.MinimizeBox = false; this.MinimumSize = ((System.Drawing.Size)(resources.GetObject("$this.MinimumSize"))); this.Name = "TestForm"; this.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("$this.RightToLeft"))); this.StartPosition = ((System.Windows.Forms.FormStartPosition)(resources.GetObject("$this.StartPosition"))); this.Text = resources.GetString("$this.Text"); ((System.ComponentModel.ISupportInitialize)(this.buttonEdit1)).EndInit(); this.buttonEdit1.ResumeLayout(false); this.ResumeLayout(false); }