コード例 #1
0
ファイル: ComboBoxHelper.cs プロジェクト: paulusyeung/RT2020
 /// <summary>
 /// fill the combobox with Yes/No/Empty, localized.
 /// triStat = true: with empty item, false: without empty item.
 /// </summary>
 /// <param name="cbo"></param>
 /// <param name="triState"></param>
 public static void FillSimpleYesNo(ref Gizmox.WebGUI.Forms.ComboBox cbo, bool triState = false)
 {
     cbo.Items.Clear();
     if (triState)
     {
         cbo.Items.Add(string.Empty);
     }
     cbo.Items.Add(string.Format("{0}", WestwindHelper.GetWord("dialog.no", "General")));
     cbo.Items.Add(string.Format("{0}", WestwindHelper.GetWord("dialog.yes", "General")));
     cbo.SelectedIndex = 0;
 }
コード例 #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.groupBox2 = new Gizmox.WebGUI.Forms.GroupBox();
     this.lblYear = new Gizmox.WebGUI.Forms.Label();
     this.txtYear = new Gizmox.WebGUI.Forms.TextBox();
     this.txtMonth = new Gizmox.WebGUI.Forms.TextBox();
     this.lblMonth = new Gizmox.WebGUI.Forms.Label();
     this.lblFor = new Gizmox.WebGUI.Forms.Label();
     this.lblAverageCost = new Gizmox.WebGUI.Forms.Label();
     this.cboRemarks = new Gizmox.WebGUI.Forms.ComboBox();
     this.lblRemarks = new Gizmox.WebGUI.Forms.Label();
     this.cboVsLocation = new Gizmox.WebGUI.Forms.ComboBox();
     this.chkVsLocation = new Gizmox.WebGUI.Forms.CheckBox();
     this.cboLocation = new Gizmox.WebGUI.Forms.ComboBox();
     this.lblLocation = new Gizmox.WebGUI.Forms.Label();
     this.dtpTxDateTo = new Gizmox.WebGUI.Forms.DateTimePicker();
     this.dtpTxDateFrom = new Gizmox.WebGUI.Forms.DateTimePicker();
     this.lblTxDateTo = new Gizmox.WebGUI.Forms.Label();
     this.lblTxDateFrom = new Gizmox.WebGUI.Forms.Label();
     this.lblTxDate = new Gizmox.WebGUI.Forms.Label();
     this.lblTxNumber = new Gizmox.WebGUI.Forms.Label();
     this.lblFrom = new Gizmox.WebGUI.Forms.Label();
     this.lblTo = new Gizmox.WebGUI.Forms.Label();
     this.btnExit = new Gizmox.WebGUI.Forms.Button();
     this.btnPriview = new Gizmox.WebGUI.Forms.Button();
     this.txtFromStockCode = new Gizmox.WebGUI.Forms.TextBox();
     this.txtToStockCode = new Gizmox.WebGUI.Forms.TextBox();
     this.chkAverageCost = new Gizmox.WebGUI.Forms.CheckBox();
     this.SuspendLayout();
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.chkAverageCost);
     this.groupBox2.Controls.Add(this.txtToStockCode);
     this.groupBox2.Controls.Add(this.txtFromStockCode);
     this.groupBox2.Controls.Add(this.lblYear);
     this.groupBox2.Controls.Add(this.txtYear);
     this.groupBox2.Controls.Add(this.txtMonth);
     this.groupBox2.Controls.Add(this.lblMonth);
     this.groupBox2.Controls.Add(this.lblFor);
     this.groupBox2.Controls.Add(this.lblAverageCost);
     this.groupBox2.Controls.Add(this.cboRemarks);
     this.groupBox2.Controls.Add(this.lblRemarks);
     this.groupBox2.Controls.Add(this.cboVsLocation);
     this.groupBox2.Controls.Add(this.chkVsLocation);
     this.groupBox2.Controls.Add(this.cboLocation);
     this.groupBox2.Controls.Add(this.lblLocation);
     this.groupBox2.Controls.Add(this.dtpTxDateTo);
     this.groupBox2.Controls.Add(this.dtpTxDateFrom);
     this.groupBox2.Controls.Add(this.lblTxDateTo);
     this.groupBox2.Controls.Add(this.lblTxDateFrom);
     this.groupBox2.Controls.Add(this.lblTxDate);
     this.groupBox2.Controls.Add(this.lblTxNumber);
     this.groupBox2.Controls.Add(this.lblFrom);
     this.groupBox2.Controls.Add(this.lblTo);
     this.groupBox2.FlatStyle = Gizmox.WebGUI.Forms.FlatStyle.Flat;
     this.groupBox2.Location = new System.Drawing.Point(12, 12);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(287, 341);
     this.groupBox2.TabIndex = 0;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Selection Criteria";
     //
     // lblYear
     //
     this.lblYear.Location = new System.Drawing.Point(28, 241);
     this.lblYear.Name = "lblYear";
     this.lblYear.Size = new System.Drawing.Size(92, 17);
     this.lblYear.TabIndex = 17;
     this.lblYear.TabStop = false;
     this.lblYear.Text = "Year";
     //
     // txtYear
     //
     this.txtYear.Location = new System.Drawing.Point(132, 238);
     this.txtYear.Name = "txtYear";
     this.txtYear.Size = new System.Drawing.Size(140, 20);
     this.txtYear.TabIndex = 7;
     this.txtYear.Text = "1900";
     this.txtYear.TextChanged += new System.EventHandler(this.txtYear_TextChanged);
     //
     // txtMonth
     //
     this.txtMonth.Location = new System.Drawing.Point(132, 215);
     this.txtMonth.Name = "txtMonth";
     this.txtMonth.Size = new System.Drawing.Size(140, 20);
     this.txtMonth.TabIndex = 6;
     this.txtMonth.Text = "1";
     this.txtMonth.TextChanged += new System.EventHandler(this.txtMonth_TextChanged);
     //
     // lblMonth
     //
     this.lblMonth.Location = new System.Drawing.Point(28, 218);
     this.lblMonth.Name = "lblMonth";
     this.lblMonth.Size = new System.Drawing.Size(92, 17);
     this.lblMonth.TabIndex = 15;
     this.lblMonth.TabStop = false;
     this.lblMonth.Text = "Month";
     //
     // lblFor
     //
     this.lblFor.Location = new System.Drawing.Point(15, 198);
     this.lblFor.Name = "lblFor";
     this.lblFor.Size = new System.Drawing.Size(100, 17);
     this.lblFor.TabIndex = 14;
     this.lblFor.TabStop = false;
     this.lblFor.Text = "For:";
     //
     // lblAverageCost
     //
     this.lblAverageCost.Location = new System.Drawing.Point(15, 167);
     this.lblAverageCost.Name = "lblAverageCost";
     this.lblAverageCost.Size = new System.Drawing.Size(113, 18);
     this.lblAverageCost.TabIndex = 12;
     this.lblAverageCost.TabStop = false;
     this.lblAverageCost.Text = "Stock Average Cost:";
     //
     // cboRemarks
     //
     this.cboRemarks.DropDownWidth = 140;
     this.cboRemarks.Enabled = false;
     this.cboRemarks.Items.AddRange(new object[] {
     "Class 1 - 6",
     "Description"});
     this.cboRemarks.Location = new System.Drawing.Point(132, 140);
     this.cboRemarks.Name = "cboRemarks";
     this.cboRemarks.Size = new System.Drawing.Size(140, 21);
     this.cboRemarks.TabIndex = 4;
     //
     // lblRemarks
     //
     this.lblRemarks.Location = new System.Drawing.Point(15, 143);
     this.lblRemarks.Name = "lblRemarks";
     this.lblRemarks.Size = new System.Drawing.Size(100, 17);
     this.lblRemarks.TabIndex = 10;
     this.lblRemarks.TabStop = false;
     this.lblRemarks.Text = "Stock Remarks:";
     //
     // cboVsLocation
     //
     this.cboVsLocation.DropDownWidth = 140;
     this.cboVsLocation.Enabled = false;
     this.cboVsLocation.Location = new System.Drawing.Point(132, 44);
     this.cboVsLocation.Name = "cboVsLocation";
     this.cboVsLocation.Size = new System.Drawing.Size(140, 21);
     this.cboVsLocation.TabIndex = 1;
     //
     // chkVsLocation
     //
     this.chkVsLocation.Checked = false;
     this.chkVsLocation.CheckState = Gizmox.WebGUI.Forms.CheckState.Unchecked;
     this.chkVsLocation.Enabled = false;
     this.chkVsLocation.FlatStyle = Gizmox.WebGUI.Forms.FlatStyle.Standard;
     this.chkVsLocation.Location = new System.Drawing.Point(18, 44);
     this.chkVsLocation.Name = "chkVsLocation";
     this.chkVsLocation.Size = new System.Drawing.Size(110, 24);
     this.chkVsLocation.TabIndex = 3;
     this.chkVsLocation.Text = "Specify VS Loc#:";
     this.chkVsLocation.ThreeState = false;
     //
     // cboLocation
     //
     this.cboLocation.DropDownWidth = 140;
     this.cboLocation.Location = new System.Drawing.Point(132, 19);
     this.cboLocation.Name = "cboLocation";
     this.cboLocation.Size = new System.Drawing.Size(140, 21);
     this.cboLocation.TabIndex = 0;
     //
     // lblLocation
     //
     this.lblLocation.Location = new System.Drawing.Point(18, 20);
     this.lblLocation.Name = "lblLocation";
     this.lblLocation.Size = new System.Drawing.Size(85, 18);
     this.lblLocation.TabIndex = 1;
     this.lblLocation.TabStop = false;
     this.lblLocation.Text = "Loc#:";
     //
     // dtpTxDateTo
     //
     this.dtpTxDateTo.CalendarFirstDayOfWeek = Gizmox.WebGUI.Forms.Day.Default;
     this.dtpTxDateTo.CustomFormat = "dd/MM/yyyy";
     this.dtpTxDateTo.Format = Gizmox.WebGUI.Forms.DateTimePickerFormat.Custom;
     this.dtpTxDateTo.Location = new System.Drawing.Point(132, 307);
     this.dtpTxDateTo.Name = "dtpTxDateTo";
     this.dtpTxDateTo.Size = new System.Drawing.Size(140, 20);
     this.dtpTxDateTo.TabIndex = 9;
     //
     // dtpTxDateFrom
     //
     this.dtpTxDateFrom.CalendarFirstDayOfWeek = Gizmox.WebGUI.Forms.Day.Default;
     this.dtpTxDateFrom.CustomFormat = "dd/MM/yyyy";
     this.dtpTxDateFrom.Format = Gizmox.WebGUI.Forms.DateTimePickerFormat.Custom;
     this.dtpTxDateFrom.Location = new System.Drawing.Point(132, 284);
     this.dtpTxDateFrom.Name = "dtpTxDateFrom";
     this.dtpTxDateFrom.Size = new System.Drawing.Size(140, 20);
     this.dtpTxDateFrom.TabIndex = 8;
     //
     // lblTxDateTo
     //
     this.lblTxDateTo.Location = new System.Drawing.Point(28, 307);
     this.lblTxDateTo.Name = "lblTxDateTo";
     this.lblTxDateTo.Size = new System.Drawing.Size(100, 18);
     this.lblTxDateTo.TabIndex = 22;
     this.lblTxDateTo.TabStop = false;
     this.lblTxDateTo.Text = "To (dd/mm/yyyy)";
     //
     // lblTxDateFrom
     //
     this.lblTxDateFrom.Location = new System.Drawing.Point(28, 288);
     this.lblTxDateFrom.Name = "lblTxDateFrom";
     this.lblTxDateFrom.Size = new System.Drawing.Size(108, 15);
     this.lblTxDateFrom.TabIndex = 20;
     this.lblTxDateFrom.TabStop = false;
     this.lblTxDateFrom.Text = "From (dd/mm/yyyy)";
     //
     // lblTxDate
     //
     this.lblTxDate.Location = new System.Drawing.Point(15, 264);
     this.lblTxDate.Name = "lblTxDate";
     this.lblTxDate.Size = new System.Drawing.Size(60, 17);
     this.lblTxDate.TabIndex = 19;
     this.lblTxDate.TabStop = false;
     this.lblTxDate.Text = "Tx Date:";
     //
     // lblTxNumber
     //
     this.lblTxNumber.Location = new System.Drawing.Point(15, 71);
     this.lblTxNumber.Name = "lblTxNumber";
     this.lblTxNumber.Size = new System.Drawing.Size(78, 17);
     this.lblTxNumber.TabIndex = 5;
     this.lblTxNumber.TabStop = false;
     this.lblTxNumber.Text = "Stock Code:";
     //
     // lblFrom
     //
     this.lblFrom.Location = new System.Drawing.Point(28, 93);
     this.lblFrom.Name = "lblFrom";
     this.lblFrom.Size = new System.Drawing.Size(41, 18);
     this.lblFrom.TabIndex = 6;
     this.lblFrom.TabStop = false;
     this.lblFrom.Text = "From";
     //
     // lblTo
     //
     this.lblTo.Location = new System.Drawing.Point(28, 118);
     this.lblTo.Name = "lblTo";
     this.lblTo.Size = new System.Drawing.Size(41, 18);
     this.lblTo.TabIndex = 8;
     this.lblTo.TabStop = false;
     this.lblTo.Text = "To";
     //
     // btnExit
     //
     this.btnExit.Location = new System.Drawing.Point(224, 368);
     this.btnExit.Name = "btnExit";
     this.btnExit.Size = new System.Drawing.Size(75, 23);
     this.btnExit.TabIndex = 11;
     this.btnExit.Text = "Cancel";
     this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
     //
     // btnPriview
     //
     this.btnPriview.Location = new System.Drawing.Point(143, 368);
     this.btnPriview.Name = "btnPriview";
     this.btnPriview.Size = new System.Drawing.Size(75, 23);
     this.btnPriview.TabIndex = 10;
     this.btnPriview.Text = "Priview";
     this.btnPriview.Click += new System.EventHandler(this.btnPriview_Click);
     //
     // txtFromStockCode
     //
     this.txtFromStockCode.Location = new System.Drawing.Point(132, 90);
     this.txtFromStockCode.Name = "txtFromStockCode";
     this.txtFromStockCode.Size = new System.Drawing.Size(140, 20);
     this.txtFromStockCode.TabIndex = 23;
     this.txtFromStockCode.Text = "00";
     //
     // txtToStockCode
     //
     this.txtToStockCode.Location = new System.Drawing.Point(132, 115);
     this.txtToStockCode.Name = "txtToStockCode";
     this.txtToStockCode.Size = new System.Drawing.Size(140, 20);
     this.txtToStockCode.TabIndex = 24;
     this.txtToStockCode.Text = "zz";
     //
     // chkAverageCost
     //
     this.chkAverageCost.Checked = false;
     this.chkAverageCost.CheckState = Gizmox.WebGUI.Forms.CheckState.Unchecked;
     this.chkAverageCost.FlatStyle = Gizmox.WebGUI.Forms.FlatStyle.Standard;
     this.chkAverageCost.Location = new System.Drawing.Point(134, 167);
     this.chkAverageCost.Name = "chkAverageCost";
     this.chkAverageCost.Size = new System.Drawing.Size(104, 24);
     this.chkAverageCost.TabIndex = 25;
     this.chkAverageCost.ThreeState = false;
     //
     // JournalWizard
     //
     this.Controls.Add(this.btnPriview);
     this.Controls.Add(this.btnExit);
     this.Controls.Add(this.groupBox2);
     this.Size = new System.Drawing.Size(311, 403);
     this.Text = "Journal";
     this.ResumeLayout(false);
 }
コード例 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.cboProduct = new Gizmox.WebGUI.Forms.ComboBox();
     this.label6 = new Gizmox.WebGUI.Forms.Label();
     this.btnApply = new Gizmox.WebGUI.Forms.Button();
     this.label3 = new Gizmox.WebGUI.Forms.Label();
     this.label2 = new Gizmox.WebGUI.Forms.Label();
     this.btnClose = new Gizmox.WebGUI.Forms.Button();
     this.label1 = new Gizmox.WebGUI.Forms.Label();
     this.cboPrice = new Gizmox.WebGUI.Forms.ComboBox();
     this.cboQuantity = new Gizmox.WebGUI.Forms.ComboBox();
     this.cboCatagory = new Gizmox.WebGUI.Forms.ComboBox();
     this.grpDiscontinued = new Gizmox.WebGUI.Forms.GroupBox();
     this.rbtnDiscontinuedProducts = new Gizmox.WebGUI.Forms.RadioButton();
     this.rbtnOpenProducts = new Gizmox.WebGUI.Forms.RadioButton();
     this.rbtnProductsAll = new Gizmox.WebGUI.Forms.RadioButton();
     this.label4 = new Gizmox.WebGUI.Forms.Label();
     this.cboReorder = new Gizmox.WebGUI.Forms.ComboBox();
     this.grpDiscontinued.SuspendLayout();
     this.SuspendLayout();
     //
     // cboProduct
     //
     this.cboProduct.FormattingEnabled = true;
     this.cboProduct.Location = new System.Drawing.Point(113, 25);
     this.cboProduct.Name = "cboProduct";
     this.cboProduct.Size = new System.Drawing.Size(242, 21);
     this.cboProduct.TabIndex = 5;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(13, 28);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(75, 13);
     this.label6.TabIndex = 51;
     this.label6.Text = "Product Name";
     //
     // btnApply
     //
     this.btnApply.Location = new System.Drawing.Point(97, 284);
     this.btnApply.Name = "btnApply";
     this.btnApply.Size = new System.Drawing.Size(78, 23);
     this.btnApply.TabIndex = 9;
     this.btnApply.Text = "Apply Filters";
     this.btnApply.UseVisualStyleBackColor = true;
     this.btnApply.Click += new System.EventHandler(this.btnApply_Click);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(13, 129);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(53, 13);
     this.label3.TabIndex = 50;
     this.label3.Text = "Unit Price";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(13, 95);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(87, 13);
     this.label2.TabIndex = 49;
     this.label2.Text = "Quantity Per Unit";
     //
     // btnClose
     //
     this.btnClose.Location = new System.Drawing.Point(218, 284);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new System.Drawing.Size(78, 23);
     this.btnClose.TabIndex = 10;
     this.btnClose.Text = "Cancel";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(13, 61);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(80, 13);
     this.label1.TabIndex = 48;
     this.label1.Text = "Catagory Name";
     //
     // cboPrice
     //
     this.cboPrice.FormattingEnabled = true;
     this.cboPrice.Location = new System.Drawing.Point(113, 126);
     this.cboPrice.Name = "cboPrice";
     this.cboPrice.Size = new System.Drawing.Size(242, 21);
     this.cboPrice.TabIndex = 8;
     //
     // cboQuantity
     //
     this.cboQuantity.FormattingEnabled = true;
     this.cboQuantity.Location = new System.Drawing.Point(113, 92);
     this.cboQuantity.Name = "cboQuantity";
     this.cboQuantity.Size = new System.Drawing.Size(242, 21);
     this.cboQuantity.TabIndex = 7;
     //
     // cboCatagory
     //
     this.cboCatagory.FormattingEnabled = true;
     this.cboCatagory.Location = new System.Drawing.Point(113, 58);
     this.cboCatagory.Name = "cboCatagory";
     this.cboCatagory.Size = new System.Drawing.Size(242, 21);
     this.cboCatagory.TabIndex = 6;
     //
     // grpDiscontinued
     //
     this.grpDiscontinued.Controls.Add(this.rbtnDiscontinuedProducts);
     this.grpDiscontinued.Controls.Add(this.rbtnOpenProducts);
     this.grpDiscontinued.Controls.Add(this.rbtnProductsAll);
     this.grpDiscontinued.Location = new System.Drawing.Point(17, 213);
     this.grpDiscontinued.Name = "grpDiscontinued";
     this.grpDiscontinued.Size = new System.Drawing.Size(354, 48);
     this.grpDiscontinued.TabIndex = 54;
     this.grpDiscontinued.TabStop = false;
     this.grpDiscontinued.Text = "Discontinued";
     //
     // rbtnDiscontinuedProducts
     //
     this.rbtnDiscontinuedProducts.AutoSize = true;
     this.rbtnDiscontinuedProducts.Location = new System.Drawing.Point(208, 19);
     this.rbtnDiscontinuedProducts.Name = "rbtnDiscontinuedProducts";
     this.rbtnDiscontinuedProducts.Size = new System.Drawing.Size(132, 17);
     this.rbtnDiscontinuedProducts.TabIndex = 2;
     this.rbtnDiscontinuedProducts.Text = "Discontinued Products";
     this.rbtnDiscontinuedProducts.UseVisualStyleBackColor = true;
     //
     // rbtnOpenProducts
     //
     this.rbtnOpenProducts.AutoSize = true;
     this.rbtnOpenProducts.Location = new System.Drawing.Point(106, 19);
     this.rbtnOpenProducts.Name = "rbtnOpenProducts";
     this.rbtnOpenProducts.Size = new System.Drawing.Size(96, 17);
     this.rbtnOpenProducts.TabIndex = 1;
     this.rbtnOpenProducts.Text = "Open Products";
     this.rbtnOpenProducts.UseVisualStyleBackColor = true;
     //
     // rbtnProductsAll
     //
     this.rbtnProductsAll.AutoSize = true;
     this.rbtnProductsAll.Checked = true;
     this.rbtnProductsAll.Location = new System.Drawing.Point(6, 19);
     this.rbtnProductsAll.Name = "rbtnProductsAll";
     this.rbtnProductsAll.Size = new System.Drawing.Size(81, 17);
     this.rbtnProductsAll.TabIndex = 0;
     this.rbtnProductsAll.TabStop = true;
     this.rbtnProductsAll.Text = "All Products";
     this.rbtnProductsAll.UseVisualStyleBackColor = true;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(13, 167);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(74, 13);
     this.label4.TabIndex = 56;
     this.label4.Text = "Reorder Level";
     //
     // cboReorder
     //
     this.cboReorder.FormattingEnabled = true;
     this.cboReorder.Location = new System.Drawing.Point(113, 164);
     this.cboReorder.Name = "cboReorder";
     this.cboReorder.Size = new System.Drawing.Size(242, 21);
     this.cboReorder.TabIndex = 55;
     //
     // ProductFilter
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = Gizmox.WebGUI.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.LightGray;
     this.ClientSize = new System.Drawing.Size(396, 324);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.cboReorder);
     this.Controls.Add(this.grpDiscontinued);
     this.Controls.Add(this.cboProduct);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.btnApply);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.cboPrice);
     this.Controls.Add(this.cboQuantity);
     this.Controls.Add(this.cboCatagory);
     this.Name = "ProductFilter";
     this.StartPosition = Gizmox.WebGUI.Forms.FormStartPosition.CenterScreen;
     this.Text = "Product Filter";
     this.Load += new System.EventHandler(this.ProductFilter_Load);
     this.grpDiscontinued.ResumeLayout(false);
     this.grpDiscontinued.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
0
 protected override string GetUnderlyingAutoCompleteSourceToString(IComboBox controlHabanero)
 {
     Gizmox.WebGUI.Forms.ComboBox control = (Gizmox.WebGUI.Forms.ComboBox)controlHabanero;
     return(control.AutoCompleteSource.ToString());
 }