/// <summary>Required method for Designer support - do not modify the contents of this method with the code editor.</summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); // // connect // this.Create_BlogLabel_connect = new BlogDemoContext.ConnectionDelegate(GetConnection); // // testVar // this.testVar = new BlogDemoContext(Create_BlogLabel_connect); // // abstractTypeVar // this.abstractTypeVar = null; // // lbl // this.lblCreate = new System.Windows.Forms.Label(); this.lblCreate.Dock = System.Windows.Forms.DockStyle.Top; this.lblCreate.Name = "lblCreate"; this.lblCreate.Text = "Enter data to Create BlogLabel by:"; // // btn // this.btnCreate = new System.Windows.Forms.Button(); this.btnCreate.Location = new System.Drawing.Point(400, 10); this.btnCreate.Name = "btnCreate"; this.btnCreate.TabIndex = 3; this.btnCreate.Text = "Create"; this.btnCreate.UseVisualStyleBackColor = true; this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click); // // dgv // this.dgvCreate = new System.Windows.Forms.DataGridView(); this.dgvCreate.Dock = System.Windows.Forms.DockStyle.Top; this.dgvCreate.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvCreate.Name = "dgvCreate"; this.dgvCreate.TabIndex = 0; this.dgvCreate.Columns.Add("title", "title"); this.dgvCreate.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.dgvCreate.Height = 75; // // pnlDisplay // this.pnlDisplay = new System.Windows.Forms.Panel(); this.pnlDisplay.Dock = System.Windows.Forms.DockStyle.Top; this.pnlDisplay.AutoSize = true; this.pnlDisplay.Location = new System.Drawing.Point(0, 0); this.pnlDisplay.Name = "pnlDisplay"; this.pnlDisplay.AutoScroll = true; this.pnlDisplay.TabIndex = 1; this.pnlDisplay.Controls.Add(this.btnCreate); // // this // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.Controls.Add(this.pnlDisplay); this.Controls.Add(this.dgvCreate); this.Controls.Add(this.lblCreate); this.Name = "icCreateBlogLabelInputControl"; this.Size = new System.Drawing.Size(530, 490); ((System.ComponentModel.ISupportInitialize)this.dgvCreate).EndInit(); this.ResumeLayout(false); }
/// <summary>Required method for Designer support - do not modify the contents of this method with the code editor.</summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.editMode = false; // // lblNeedToSave // this.lblNeedToSave = new System.Windows.Forms.Label(); this.lblNeedToSave.Location = new System.Drawing.Point(0, 10); this.lblNeedToSave.Name = "lblNeedToSave"; this.lblNeedToSave.Size = new System.Drawing.Size(200, 15); this.lblNeedToSave.Text = ""; // // btnCancel // this.btnCancel = new System.Windows.Forms.Button(); this.btnCancel.Location = new System.Drawing.Point(300, 10); this.btnCancel.Name = "btnCancel"; this.btnCancel.TabIndex = 6; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnSave // this.btnSave = new System.Windows.Forms.Button(); this.btnSave.Location = new System.Drawing.Point(400, 10); this.btnSave.Name = "btnSave"; this.btnSave.TabIndex = 7; this.btnSave.Text = "Save"; this.btnSave.UseVisualStyleBackColor = true; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // pnlSave // this.pnlSave = new System.Windows.Forms.Panel(); this.pnlSave.Dock = System.Windows.Forms.DockStyle.Top; this.pnlSave.AutoSize = true; this.pnlSave.Location = new System.Drawing.Point(0, 0); this.pnlSave.Name = "pnlSave"; this.pnlSave.AutoScroll = true; this.pnlSave.TabIndex = 5; this.pnlSave.Controls.Add(this.btnSave); this.pnlSave.Controls.Add(this.btnCancel); this.pnlSave.Controls.Add(this.lblNeedToSave); this.pnlSave.Visible = false; // // lblSelectionMode // this.lblSelectionMode = new System.Windows.Forms.Label(); this.lblSelectionMode.Location = new System.Drawing.Point(0, 10); this.lblSelectionMode.Name = "lblSelectionMode"; this.lblSelectionMode.Text = "SelectionMode:"; // // cbxSelectionMode // this.cbxSelectionMode = new System.Windows.Forms.ComboBox(); this.cbxSelectionMode.Location = new System.Drawing.Point(100, 10); this.cbxSelectionMode.Name = "cbxSelectionMode"; this.cbxSelectionMode.Size = new System.Drawing.Size(200, 15); this.cbxSelectionMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbxSelectionMode.TabIndex = 2; this.cbxSelectionMode.SelectedIndexChanged += new System.EventHandler(this.cbxSelectionMode_SelectedIndexChanged); // // lblCurrentObject // this.lblCurrentObject = new System.Windows.Forms.Label(); this.lblCurrentObject.Location = new System.Drawing.Point(0, 45); this.lblCurrentObject.Width = 300; this.lblCurrentObject.Name = "lblCurrentObject"; this.lblCurrentObject.Text = "There is no selected BlogLabel."; // // dgvCurrentObject // this.dgvCurrentObject = new System.Windows.Forms.DataGridView(); this.dgvCurrentObject.Dock = System.Windows.Forms.DockStyle.Top; this.dgvCurrentObject.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvCurrentObject.Location = new System.Drawing.Point(0, 265); this.dgvCurrentObject.Name = "dgvCurrentObject"; this.dgvCurrentObject.Size = new System.Drawing.Size(500, 150); this.dgvCurrentObject.TabIndex = 4; this.dgvCurrentObject.Columns.Add("title", "title"); this.dgvCurrentObject.Columns["title"].Visible = false; this.dgvCurrentObject.Visible = false; this.dgvCurrentObject.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgvCurrentObject_CellBeginEdit); this.Controls.Add(this.pnlSave); this.Controls.Add(this.dgvCurrentObject); // // connect // this.Select_BlogLabel_connect = new BlogDemoContext.ConnectionDelegate(GetConnection); // // testVar // this.testVar = new BlogDemoContext(Select_BlogLabel_connect); // // abstractTypeVar // this.abstractTypeVar = null; // // lbl // this.lblSelect = new System.Windows.Forms.Label(); this.lblSelect.Dock = System.Windows.Forms.DockStyle.Top; this.lblSelect.Name = "lblSelect"; this.lblSelect.Text = "Enter data to Select BlogLabel by:"; // // btn // this.btnSelect = new System.Windows.Forms.Button(); this.btnSelect.Location = new System.Drawing.Point(400, 10); this.btnSelect.Name = "btnSelect"; this.btnSelect.TabIndex = 3; this.btnSelect.Text = "Select"; this.btnSelect.UseVisualStyleBackColor = true; this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click); // // dgv // this.dgvSelect = new System.Windows.Forms.DataGridView(); this.dgvSelect.Dock = System.Windows.Forms.DockStyle.Top; this.dgvSelect.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvSelect.Name = "dgvSelect"; this.dgvSelect.TabIndex = 0; this.dgvSelect.Columns.Add("title", "title"); this.dgvSelect.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.dgvSelect.Height = 75; // // pnlDisplay // this.pnlDisplay = new System.Windows.Forms.Panel(); this.pnlDisplay.Dock = System.Windows.Forms.DockStyle.Top; this.pnlDisplay.AutoSize = true; this.pnlDisplay.Location = new System.Drawing.Point(0, 0); this.pnlDisplay.Name = "pnlDisplay"; this.pnlDisplay.AutoScroll = true; this.pnlDisplay.TabIndex = 1; this.pnlDisplay.Controls.Add(this.btnSelect); // // this // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.Controls.Add(this.pnlDisplay); this.Controls.Add(this.dgvSelect); this.Controls.Add(this.lblSelect); this.Name = "icSelectBlogLabelInputControl"; this.Size = new System.Drawing.Size(530, 490); ((System.ComponentModel.ISupportInitialize)this.dgvSelect).EndInit(); this.ResumeLayout(false); this.dgvCurrentObject.Height = this.dgvSelect.Height; this.pnlDisplay.Controls.Add(this.lblCurrentObject); this.pnlDisplay.Controls.Add(this.cbxSelectionMode); this.pnlDisplay.Controls.Add(this.lblSelectionMode); if (this.cbxSelectionMode.Items.Count > 0) { this.cbxSelectionMode.SelectedIndex = 0; } }