示例#1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labCat_StrName      = new System.Windows.Forms.Label();
     this.Control_Cat_StrName = new WinForm_DatabaseTextBox();
     this.cmdOK     = new System.Windows.Forms.Button();
     this.cmdCancel = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // labCat_StrName
     //
     this.labCat_StrName.AutoSize = true;
     this.labCat_StrName.Location = new System.Drawing.Point(24, 24);
     this.labCat_StrName.Name     = "labCat_StrName";
     this.labCat_StrName.Size     = new System.Drawing.Size(110, 13);
     this.labCat_StrName.TabIndex = 0;
     this.labCat_StrName.Text     = "Cat_StrName (update this label in the \"Olymars/ColumnLabel\" extended property of the \"Cat_StrName\" column):";
     //
     // Control_Cat_StrName
     //
     this.Control_Cat_StrName.Location         = new System.Drawing.Point(24, 40);
     this.Control_Cat_StrName.Name             = "Control_Cat_StrName";
     this.Control_Cat_StrName.NullIsAllow      = false;
     this.Control_Cat_StrName.InvalidBackColor = System.Drawing.Color.Red;
     this.Control_Cat_StrName.Size             = new System.Drawing.Size(440, 20);
     this.Control_Cat_StrName.TabIndex         = 1;
     this.Control_Cat_StrName.DataSize         = 255;
     this.Control_Cat_StrName.MaxLength        = 255;
     this.Control_Cat_StrName.TextChanged     += new System.EventHandler(this.Control_Cat_StrName_TextChanged);
     this.Control_Cat_StrName.DBType           = SupportedDatabaseTypes.DBType_varchar;
     //
     // cmdOK
     //
     this.cmdOK.Location = new System.Drawing.Point(304, 80);
     this.cmdOK.Name     = "cmdOK";
     this.cmdOK.TabIndex = 2;
     this.cmdOK.Text     = "OK";
     this.cmdOK.Click   += new System.EventHandler(this.cmdOK_Click);
     //
     // cmdCancel
     //
     this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cmdCancel.Location     = new System.Drawing.Point(392, 80);
     this.cmdCancel.Name         = "cmdCancel";
     this.cmdCancel.TabIndex     = 2;
     this.cmdCancel.Text         = "Cancel";
     this.cmdCancel.Click       += new System.EventHandler(this.cmdCancel_Click);
     //
     // WinForm_tblCategory
     //
     this.AcceptButton      = this.cmdOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 13);
     this.CancelButton      = this.cmdCancel;
     this.ClientSize        = new System.Drawing.Size(506, 120);
     this.ControlBox        = false;
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.labCat_StrName,
         this.Control_Cat_StrName,
         this.cmdOK,
         this.cmdCancel
     });
     this.Font            = new System.Drawing.Font("Lucida Console", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "WinForm_tblCategory";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "tblCategory management";
     this.ResumeLayout(false);
 }
示例#2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labPro_StrName            = new System.Windows.Forms.Label();
     this.Control_Pro_StrName       = new WinForm_DatabaseTextBox();
     this.labPro_CurPrice           = new System.Windows.Forms.Label();
     this.Control_Pro_CurPrice      = new WinForm_DatabaseTextBox();
     this.labPro_LngCategoryID      = new System.Windows.Forms.Label();
     this.Control_Pro_LngCategoryID = new OlymarsDemo.Windows.ComboBoxes.WinComboBox_tblCategory();
     this.Button_Pro_LngCategoryID  = new System.Windows.Forms.Button();
     this.cmdOK     = new System.Windows.Forms.Button();
     this.cmdCancel = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // labPro_StrName
     //
     this.labPro_StrName.AutoSize = true;
     this.labPro_StrName.Location = new System.Drawing.Point(24, 24);
     this.labPro_StrName.Name     = "labPro_StrName";
     this.labPro_StrName.Size     = new System.Drawing.Size(110, 13);
     this.labPro_StrName.TabIndex = 0;
     this.labPro_StrName.Text     = "Pro_StrName (update this label in the \"Olymars/ColumnLabel\" extended property of the \"Pro_StrName\" column):";
     //
     // Control_Pro_StrName
     //
     this.Control_Pro_StrName.Location         = new System.Drawing.Point(24, 40);
     this.Control_Pro_StrName.Name             = "Control_Pro_StrName";
     this.Control_Pro_StrName.NullIsAllow      = false;
     this.Control_Pro_StrName.InvalidBackColor = System.Drawing.Color.Red;
     this.Control_Pro_StrName.Size             = new System.Drawing.Size(440, 20);
     this.Control_Pro_StrName.TabIndex         = 1;
     this.Control_Pro_StrName.DataSize         = 255;
     this.Control_Pro_StrName.MaxLength        = 255;
     this.Control_Pro_StrName.TextChanged     += new System.EventHandler(this.Control_Pro_StrName_TextChanged);
     this.Control_Pro_StrName.DBType           = SupportedDatabaseTypes.DBType_varchar;
     //
     // labPro_CurPrice
     //
     this.labPro_CurPrice.AutoSize = true;
     this.labPro_CurPrice.Location = new System.Drawing.Point(24, 80);
     this.labPro_CurPrice.Name     = "labPro_CurPrice";
     this.labPro_CurPrice.Size     = new System.Drawing.Size(110, 13);
     this.labPro_CurPrice.TabIndex = 2;
     this.labPro_CurPrice.Text     = "Pro_CurPrice (update this label in the \"Olymars/ColumnLabel\" extended property of the \"Pro_CurPrice\" column):";
     //
     // Control_Pro_CurPrice
     //
     this.Control_Pro_CurPrice.Location         = new System.Drawing.Point(24, 96);
     this.Control_Pro_CurPrice.Name             = "Control_Pro_CurPrice";
     this.Control_Pro_CurPrice.NullIsAllow      = false;
     this.Control_Pro_CurPrice.InvalidBackColor = System.Drawing.Color.Red;
     this.Control_Pro_CurPrice.Size             = new System.Drawing.Size(440, 20);
     this.Control_Pro_CurPrice.TabIndex         = 3;
     this.Control_Pro_CurPrice.DataSize         = 21;
     this.Control_Pro_CurPrice.TextChanged     += new System.EventHandler(this.Control_Pro_CurPrice_TextChanged);
     this.Control_Pro_CurPrice.DBType           = SupportedDatabaseTypes.DBType_money;
     //
     // labPro_LngCategoryID
     //
     this.labPro_LngCategoryID.AutoSize = true;
     this.labPro_LngCategoryID.Location = new System.Drawing.Point(24, 136);
     this.labPro_LngCategoryID.Name     = "labPro_LngCategoryID";
     this.labPro_LngCategoryID.Size     = new System.Drawing.Size(126, 13);
     this.labPro_LngCategoryID.TabIndex = 4;
     this.labPro_LngCategoryID.Text     = "Pro_LngCategoryID (update this label in the \"Olymars/ColumnLabel\" extended property of the \"Pro_LngCategoryID\" column):";
     //
     // Control_Pro_LngCategoryID
     //
     this.Control_Pro_LngCategoryID.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.Control_Pro_LngCategoryID.DropDownWidth         = 392;
     this.Control_Pro_LngCategoryID.Location              = new System.Drawing.Point(24, 152);
     this.Control_Pro_LngCategoryID.Name                  = "Control_Pro_LngCategoryID";
     this.Control_Pro_LngCategoryID.Size                  = new System.Drawing.Size(352, 21);
     this.Control_Pro_LngCategoryID.TabIndex              = 5;
     this.Control_Pro_LngCategoryID.SelectedIndexChanged += new System.EventHandler(this.Control_Pro_LngCategoryID_SelectedIndexChanged);
     //
     // Button_Pro_LngCategoryID
     //
     this.Button_Pro_LngCategoryID.Location = new System.Drawing.Point(392, 152);
     this.Button_Pro_LngCategoryID.Name     = "Button_Pro_LngCategoryID";
     this.Button_Pro_LngCategoryID.TabIndex = 6;
     this.Button_Pro_LngCategoryID.Text     = "Add";
     this.Button_Pro_LngCategoryID.Click   += new System.EventHandler(this.Button_Pro_LngCategoryID_Click);
     //
     // cmdOK
     //
     this.cmdOK.Location = new System.Drawing.Point(304, 192);
     this.cmdOK.Name     = "cmdOK";
     this.cmdOK.TabIndex = 7;
     this.cmdOK.Text     = "OK";
     this.cmdOK.Click   += new System.EventHandler(this.cmdOK_Click);
     //
     // cmdCancel
     //
     this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cmdCancel.Location     = new System.Drawing.Point(392, 192);
     this.cmdCancel.Name         = "cmdCancel";
     this.cmdCancel.TabIndex     = 7;
     this.cmdCancel.Text         = "Cancel";
     this.cmdCancel.Click       += new System.EventHandler(this.cmdCancel_Click);
     //
     // WinForm_tblProduct
     //
     this.AcceptButton      = this.cmdOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 13);
     this.CancelButton      = this.cmdCancel;
     this.ClientSize        = new System.Drawing.Size(506, 232);
     this.ControlBox        = false;
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.labPro_StrName,
         this.Control_Pro_StrName,
         this.labPro_CurPrice,
         this.Control_Pro_CurPrice,
         this.labPro_LngCategoryID,
         this.Control_Pro_LngCategoryID,
         this.Button_Pro_LngCategoryID,
         this.cmdOK,
         this.cmdCancel
     });
     this.Font            = new System.Drawing.Font("Lucida Console", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "WinForm_tblProduct";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "tblProduct management";
     this.ResumeLayout(false);
 }