/// <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(); resources = new System.ComponentModel.ComponentResourceManager(typeof(OrderMaint2)); Gizmox.WebGUI.Forms.Label cardHolderLabel; Gizmox.WebGUI.Forms.Label cardTypeLabel; Gizmox.WebGUI.Forms.Label creditCardLabel; Gizmox.WebGUI.Forms.Label expDateLabel; Gizmox.WebGUI.Forms.Label orderIDLabel; Gizmox.WebGUI.Forms.Label orderNumberLabel; Gizmox.WebGUI.Forms.Label userNameLabel; Gizmox.WebGUI.Forms.Label textLabel; Gizmox.WebGUI.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new Gizmox.WebGUI.Forms.DataGridViewCellStyle(); Gizmox.WebGUI.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new Gizmox.WebGUI.Forms.DataGridViewCellStyle(); this.cardHolderTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.orderBindingSource = new Gizmox.WebGUI.Forms.BindingSource(this.components); this.cardTypeTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.creditCardTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.expDateTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.orderIDLabel1 = new Gizmox.WebGUI.Forms.Label(); this.orderNumberTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.userNameTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.orderDateTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.orderDetailListBindingSource = new Gizmox.WebGUI.Forms.BindingSource(this.components); this.orderDetailListDataGridView = new Gizmox.WebGUI.Forms.DataGridView(); this.toolStrip1 = new Gizmox.WebGUI.Forms.ToolStrip(); this.toolSave = new Gizmox.WebGUI.Forms.ToolStripButton(); this.toolSaveNew = new Gizmox.WebGUI.Forms.ToolStripButton(); this.toolSaveClose = new Gizmox.WebGUI.Forms.ToolStripButton(); this.toolCancel = new Gizmox.WebGUI.Forms.ToolStripButton(); this.toolClose = new Gizmox.WebGUI.Forms.ToolStripButton(); this.toolValidate = new Gizmox.WebGUI.Forms.ToolStripButton(); this.toolForceSave = new Gizmox.WebGUI.Forms.ToolStripButton(); this.errorProvider1 = new CslaContrib.WebGUI.ErrorProvider(this.components); this.cslaActionExtender1 = new CslaContrib.WebGUI.CslaActionExtenderToolStrip(this.components); this.bindingSourceRefresh1 = new CslaContrib.WebGUI.BindingSourceRefresh(this.components); this.dataGridViewTextBoxColumn1 = new Gizmox.WebGUI.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new Gizmox.WebGUI.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new Gizmox.WebGUI.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn5 = new Gizmox.WebGUI.Forms.DataGridViewTextBoxColumn(); cardHolderLabel = new Gizmox.WebGUI.Forms.Label(); cardTypeLabel = new Gizmox.WebGUI.Forms.Label(); creditCardLabel = new Gizmox.WebGUI.Forms.Label(); expDateLabel = new Gizmox.WebGUI.Forms.Label(); orderIDLabel = new Gizmox.WebGUI.Forms.Label(); orderNumberLabel = new Gizmox.WebGUI.Forms.Label(); userNameLabel = new Gizmox.WebGUI.Forms.Label(); textLabel = new Gizmox.WebGUI.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.orderBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.orderDetailListBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.orderDetailListDataGridView)).BeginInit(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSourceRefresh1)).BeginInit(); this.SuspendLayout(); // // cardHolderLabel // cardHolderLabel.AutoSize = true; cardHolderLabel.Location = new System.Drawing.Point(36, 59); cardHolderLabel.Name = "cardHolderLabel"; cardHolderLabel.Size = new System.Drawing.Size(66, 13); cardHolderLabel.TabIndex = 1; cardHolderLabel.Text = "Card Holder:"; // // cardTypeLabel // cardTypeLabel.AutoSize = true; cardTypeLabel.Location = new System.Drawing.Point(36, 85); cardTypeLabel.Name = "cardTypeLabel"; cardTypeLabel.Size = new System.Drawing.Size(59, 13); cardTypeLabel.TabIndex = 3; cardTypeLabel.Text = "Card Type:"; // // creditCardLabel // creditCardLabel.AutoSize = true; creditCardLabel.Location = new System.Drawing.Point(36, 111); creditCardLabel.Name = "creditCardLabel"; creditCardLabel.Size = new System.Drawing.Size(62, 13); creditCardLabel.TabIndex = 5; creditCardLabel.Text = "Credit Card:"; // // expDateLabel // expDateLabel.AutoSize = true; expDateLabel.Location = new System.Drawing.Point(36, 137); expDateLabel.Name = "expDateLabel"; expDateLabel.Size = new System.Drawing.Size(54, 13); expDateLabel.TabIndex = 7; expDateLabel.Text = "Exp Date:"; // // orderIDLabel // orderIDLabel.AutoSize = true; orderIDLabel.Location = new System.Drawing.Point(36, 163); orderIDLabel.Name = "orderIDLabel"; orderIDLabel.Size = new System.Drawing.Size(50, 13); orderIDLabel.TabIndex = 9; orderIDLabel.Text = "Order ID:"; // // orderNumberLabel // orderNumberLabel.AutoSize = true; orderNumberLabel.Location = new System.Drawing.Point(36, 189); orderNumberLabel.Name = "orderNumberLabel"; orderNumberLabel.Size = new System.Drawing.Size(76, 13); orderNumberLabel.TabIndex = 11; orderNumberLabel.Text = "Order Number:"; // // userNameLabel // userNameLabel.AutoSize = true; userNameLabel.Location = new System.Drawing.Point(36, 215); userNameLabel.Name = "userNameLabel"; userNameLabel.Size = new System.Drawing.Size(63, 13); userNameLabel.TabIndex = 13; userNameLabel.Text = "User Name:"; // // textLabel // textLabel.AutoSize = true; textLabel.Location = new System.Drawing.Point(37, 241); textLabel.Name = "textLabel"; textLabel.Size = new System.Drawing.Size(62, 13); textLabel.TabIndex = 15; textLabel.Text = "Order Date:"; // // cardHolderTextBox // this.cardHolderTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "CardHolder", true)); this.cardHolderTextBox.Location = new System.Drawing.Point(118, 56); this.cardHolderTextBox.Name = "cardHolderTextBox"; this.cardHolderTextBox.Size = new System.Drawing.Size(292, 20); this.cardHolderTextBox.TabIndex = 2; // // orderBindingSource // this.orderBindingSource.DataSource = typeof(ActionExtenderSample.Business.Order); this.bindingSourceRefresh1.SetReadValuesOnChange(this.orderBindingSource, true); // // cardTypeTextBox // this.cardTypeTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "CardType", true)); this.cardTypeTextBox.Location = new System.Drawing.Point(118, 82); this.cardTypeTextBox.Name = "cardTypeTextBox"; this.cardTypeTextBox.Size = new System.Drawing.Size(77, 20); this.cardTypeTextBox.TabIndex = 4; // // creditCardTextBox // this.creditCardTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "CreditCard", true)); this.creditCardTextBox.Location = new System.Drawing.Point(118, 108); this.creditCardTextBox.MaxLength = 20; this.creditCardTextBox.Name = "creditCardTextBox"; this.creditCardTextBox.Size = new System.Drawing.Size(140, 20); this.creditCardTextBox.TabIndex = 6; // // expDateTextBox // this.expDateTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "ExpDate", true)); this.expDateTextBox.Location = new System.Drawing.Point(118, 134); this.expDateTextBox.Name = "expDateTextBox"; this.expDateTextBox.Size = new System.Drawing.Size(77, 20); this.expDateTextBox.TabIndex = 8; // // orderIDLabel1 // this.orderIDLabel1.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "OrderID", true)); this.orderIDLabel1.Location = new System.Drawing.Point(118, 163); this.orderIDLabel1.Name = "orderIDLabel1"; this.orderIDLabel1.Size = new System.Drawing.Size(289, 13); this.orderIDLabel1.TabIndex = 10; this.orderIDLabel1.Text = "label1"; // // orderNumberTextBox // this.orderNumberTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "OrderNumber", true)); this.orderNumberTextBox.Location = new System.Drawing.Point(118, 186); this.orderNumberTextBox.MaxLength = 20; this.orderNumberTextBox.Name = "orderNumberTextBox"; this.orderNumberTextBox.Size = new System.Drawing.Size(140, 20); this.orderNumberTextBox.TabIndex = 12; // // userNameTextBox // this.userNameTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "UserName", true)); this.userNameTextBox.Location = new System.Drawing.Point(118, 212); this.userNameTextBox.MaxLength = 50; this.userNameTextBox.Name = "userNameTextBox"; this.userNameTextBox.Size = new System.Drawing.Size(292, 20); this.userNameTextBox.TabIndex = 14; // // orderDateTextBox // this.orderDateTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "OrderDate", true)); this.orderDateTextBox.Location = new System.Drawing.Point(118, 238); this.orderDateTextBox.Name = "orderDateTextBox"; this.orderDateTextBox.Size = new System.Drawing.Size(77, 20); this.orderDateTextBox.TabIndex = 16; this.orderDateTextBox.Validating += new System.ComponentModel.CancelEventHandler(orderDateTextBox_Validating); // // orderDetailListBindingSource // this.orderDetailListBindingSource.DataMember = "OrderDetailList"; this.orderDetailListBindingSource.DataSource = this.orderBindingSource; this.bindingSourceRefresh1.SetReadValuesOnChange(this.orderDetailListBindingSource, true); // // orderDetailListDataGridView // this.orderDetailListDataGridView.AutoGenerateColumns = false; this.orderDetailListDataGridView.ColumnHeadersHeightSizeMode = Gizmox.WebGUI.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.orderDetailListDataGridView.Columns.AddRange(new Gizmox.WebGUI.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn1, this.dataGridViewTextBoxColumn3, this.dataGridViewTextBoxColumn4, this.dataGridViewTextBoxColumn5 }); this.orderDetailListDataGridView.DataSource = this.orderDetailListBindingSource; this.orderDetailListDataGridView.Location = new System.Drawing.Point(76, 284); this.orderDetailListDataGridView.Name = "orderDetailListDataGridView"; this.orderDetailListDataGridView.Size = new System.Drawing.Size(600, 220); this.orderDetailListDataGridView.TabIndex = 16; this.orderDetailListDataGridView.DataError += new Gizmox.WebGUI.Forms.DataGridViewDataErrorEventHandler(orderDetailListDataGridView_DataError); // // toolStrip1 // this.toolStrip1.Items.AddRange(new Gizmox.WebGUI.Forms.ToolStripItem[] { this.toolSave, this.toolSaveNew, this.toolSaveClose, this.toolCancel, this.toolClose, this.toolValidate, this.toolForceSave }); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(791, 25); this.toolStrip1.TabIndex = 22; this.toolStrip1.Text = "toolStrip1"; // // toolSave // this.cslaActionExtender1.SetActionType(this.toolSave, CslaContrib.WebGUI.CslaFormAction.Save); this.cslaActionExtender1.SetDisableWhenUseless(this.toolSave, true); this.toolSave.DisplayStyle = Gizmox.WebGUI.Forms.ToolStripItemDisplayStyle.Image; this.toolSave.Image = new Gizmox.WebGUI.Common.Resources.IconResourceHandle(resources.GetString("toolSave.Image")); this.toolSave.Name = "toolSave"; this.toolSave.Size = new System.Drawing.Size(23, 22); this.toolSave.Text = "Save"; this.toolSave.EnabledChanged += ToggleImageToolStripButton; // // toolSaveNew // this.cslaActionExtender1.SetActionType(this.toolSaveNew, CslaContrib.WebGUI.CslaFormAction.Save); this.cslaActionExtender1.SetDisableWhenUseless(this.toolSaveNew, true); this.toolSaveNew.DisplayStyle = Gizmox.WebGUI.Forms.ToolStripItemDisplayStyle.Text; this.toolSaveNew.Name = "toolSaveNew"; this.cslaActionExtender1.SetPostSaveAction(this.toolSaveNew, CslaContrib.WebGUI.PostSaveActionType.AndNew); this.toolSaveNew.Size = new System.Drawing.Size(60, 22); this.toolSaveNew.Text = "Save/New"; this.toolSaveNew.EnabledChanged += ToggleTextToolStripButton; // // toolSaveClose // this.cslaActionExtender1.SetActionType(this.toolSaveClose, CslaContrib.WebGUI.CslaFormAction.Save); this.cslaActionExtender1.SetDisableWhenUseless(this.toolSaveClose, true); this.toolSaveClose.DisplayStyle = Gizmox.WebGUI.Forms.ToolStripItemDisplayStyle.Text; this.toolSaveClose.Name = "toolSaveClose"; this.cslaActionExtender1.SetPostSaveAction(this.toolSaveClose, CslaContrib.WebGUI.PostSaveActionType.AndClose); this.cslaActionExtender1.SetRebindAfterSave(this.toolSaveClose, false); this.toolSaveClose.Size = new System.Drawing.Size(65, 22); this.toolSaveClose.Text = "Save/Close"; this.toolSaveClose.EnabledChanged += ToggleTextToolStripButton; // // toolCancel // this.cslaActionExtender1.SetActionType(this.toolCancel, CslaContrib.WebGUI.CslaFormAction.Cancel); this.cslaActionExtender1.SetDisableWhenUseless(this.toolCancel, true); this.toolCancel.DisplayStyle = Gizmox.WebGUI.Forms.ToolStripItemDisplayStyle.Image; this.toolCancel.Image = new Gizmox.WebGUI.Common.Resources.IconResourceHandle(resources.GetString("toolCancel.Image")); this.toolCancel.Name = "toolCancel"; this.toolCancel.Size = new System.Drawing.Size(23, 22); this.toolCancel.Text = "Cancel"; this.toolCancel.EnabledChanged += ToggleImageToolStripButton; // // toolClose // this.cslaActionExtender1.SetActionType(this.toolClose, CslaContrib.WebGUI.CslaFormAction.Close); this.toolClose.DisplayStyle = Gizmox.WebGUI.Forms.ToolStripItemDisplayStyle.Image; this.toolClose.Image = new Gizmox.WebGUI.Common.Resources.IconResourceHandle(resources.GetString("toolClose.Image")); this.toolClose.Name = "toolClose"; this.toolClose.Size = new System.Drawing.Size(23, 22); this.toolClose.Text = "Close"; // // toolValidate // this.cslaActionExtender1.SetActionType(this.toolValidate, CslaContrib.WebGUI.CslaFormAction.Validate); this.toolValidate.DisplayStyle = Gizmox.WebGUI.Forms.ToolStripItemDisplayStyle.Text; this.toolValidate.Name = "toolValidate"; this.toolValidate.Size = new System.Drawing.Size(23, 22); this.toolValidate.Text = "Validate"; // // toolForceSave // this.cslaActionExtender1.SetActionType(this.toolForceSave, CslaContrib.WebGUI.CslaFormAction.Save); this.toolForceSave.DisplayStyle = Gizmox.WebGUI.Forms.ToolStripItemDisplayStyle.Text; this.toolForceSave.Name = "toolForceSave"; this.toolForceSave.Size = new System.Drawing.Size(65, 22); this.toolForceSave.Text = "Force Save"; // // errorProvider1 // this.errorProvider1.ContainerControl = this; this.errorProvider1.DataSource = this.orderBindingSource; // // cslaActionExtender1 // this.cslaActionExtender1.DataSource = this.orderBindingSource; this.cslaActionExtender1.ObjectIsValidMessage = "Order is valid"; this.cslaActionExtender1.SetForNew += new System.EventHandler <CslaContrib.WebGUI.CslaActionEventArgs>(this.cslaActionExtender1_SetForNew); // // bindingSourceRefresh1 // this.bindingSourceRefresh1.Host = this; // // dataGridViewTextBoxColumn1 // this.dataGridViewTextBoxColumn1.DataPropertyName = "OrderDetailID"; this.dataGridViewTextBoxColumn1.HeaderText = "Order Detail ID"; this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; this.dataGridViewTextBoxColumn1.ReadOnly = true; this.dataGridViewTextBoxColumn1.Width = 185; // // dataGridViewTextBoxColumn3 // this.dataGridViewTextBoxColumn3.DataPropertyName = "ProductID"; this.dataGridViewTextBoxColumn3.HeaderText = "Product ID"; this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; this.dataGridViewTextBoxColumn3.Width = 185; // // dataGridViewTextBoxColumn4 // this.dataGridViewTextBoxColumn4.DataPropertyName = "PurchaseUnitPrice"; dataGridViewCellStyle1.Alignment = Gizmox.WebGUI.Forms.DataGridViewContentAlignment.MiddleRight; this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle1; this.dataGridViewTextBoxColumn4.HeaderText = "Purchase Unit Price"; this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; this.dataGridViewTextBoxColumn4.Width = 130; // // dataGridViewTextBoxColumn5 // this.dataGridViewTextBoxColumn5.AutoSizeMode = Gizmox.WebGUI.Forms.DataGridViewAutoSizeColumnMode.Fill; this.dataGridViewTextBoxColumn5.DataPropertyName = "Quantity"; dataGridViewCellStyle2.Alignment = Gizmox.WebGUI.Forms.DataGridViewContentAlignment.MiddleRight; this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle2; this.dataGridViewTextBoxColumn5.HeaderText = "Quantity"; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; // // OrderMaint2 // this.ClientSize = new System.Drawing.Size(791, 571); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.orderDetailListDataGridView); this.Controls.Add(textLabel); this.Controls.Add(this.orderDateTextBox); this.Controls.Add(cardHolderLabel); this.Controls.Add(this.cardHolderTextBox); this.Controls.Add(cardTypeLabel); this.Controls.Add(this.cardTypeTextBox); this.Controls.Add(creditCardLabel); this.Controls.Add(this.creditCardTextBox); this.Controls.Add(expDateLabel); this.Controls.Add(this.expDateTextBox); this.Controls.Add(orderIDLabel); this.Controls.Add(this.orderIDLabel1); this.Controls.Add(orderNumberLabel); this.Controls.Add(this.orderNumberTextBox); this.Controls.Add(userNameLabel); this.Controls.Add(this.userNameTextBox); this.Name = "OrderMaint2"; this.Text = "Order Maintenance - ToolStripButton"; ((System.ComponentModel.ISupportInitialize)(this.orderBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.orderDetailListBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.orderDetailListDataGridView)).EndInit(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSourceRefresh1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); Gizmox.WebGUI.Forms.Label cardHolderLabel; Gizmox.WebGUI.Forms.Label cardTypeLabel; Gizmox.WebGUI.Forms.Label creditCardLabel; Gizmox.WebGUI.Forms.Label expDateLabel; Gizmox.WebGUI.Forms.Label orderIDLabel; Gizmox.WebGUI.Forms.Label orderNumberLabel; Gizmox.WebGUI.Forms.Label userNameLabel; Gizmox.WebGUI.Forms.Label textLabel; Gizmox.WebGUI.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new Gizmox.WebGUI.Forms.DataGridViewCellStyle(); Gizmox.WebGUI.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new Gizmox.WebGUI.Forms.DataGridViewCellStyle(); this.cardHolderTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.orderBindingSource = new Gizmox.WebGUI.Forms.BindingSource(this.components); this.cardTypeTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.creditCardTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.expDateTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.orderIDLabel1 = new Gizmox.WebGUI.Forms.Label(); this.orderNumberTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.userNameTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.orderDateTextBox = new Gizmox.WebGUI.Forms.TextBox(); this.orderDetailListBindingSource = new Gizmox.WebGUI.Forms.BindingSource(this.components); this.orderDetailListDataGridView = new Gizmox.WebGUI.Forms.DataGridView(); this.btnForceSave = new Gizmox.WebGUI.Forms.Button(); this.btnValidate = new Gizmox.WebGUI.Forms.Button(); this.btnClose = new Gizmox.WebGUI.Forms.Button(); this.btnCancel = new Gizmox.WebGUI.Forms.Button(); this.btnSaveClose = new Gizmox.WebGUI.Forms.Button(); this.btnSaveNew = new Gizmox.WebGUI.Forms.Button(); this.btnSave = new Gizmox.WebGUI.Forms.Button(); this.cslaActionExtender1 = new CslaContrib.WebGUI.CslaActionExtender(this.components); this.errorProvider1 = new CslaContrib.WebGUI.ErrorProvider(this.components); this.bindingSourceRefresh1 = new CslaContrib.WebGUI.BindingSourceRefresh(this.components); this.dataGridViewTextBoxColumn1 = new Gizmox.WebGUI.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new Gizmox.WebGUI.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new Gizmox.WebGUI.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn5 = new Gizmox.WebGUI.Forms.DataGridViewTextBoxColumn(); cardHolderLabel = new Gizmox.WebGUI.Forms.Label(); cardTypeLabel = new Gizmox.WebGUI.Forms.Label(); creditCardLabel = new Gizmox.WebGUI.Forms.Label(); expDateLabel = new Gizmox.WebGUI.Forms.Label(); orderIDLabel = new Gizmox.WebGUI.Forms.Label(); orderNumberLabel = new Gizmox.WebGUI.Forms.Label(); userNameLabel = new Gizmox.WebGUI.Forms.Label(); textLabel = new Gizmox.WebGUI.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.orderBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.orderDetailListBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.orderDetailListDataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSourceRefresh1)).BeginInit(); this.SuspendLayout(); // // cardHolderLabel // cardHolderLabel.AutoSize = true; cardHolderLabel.Location = new System.Drawing.Point(36, 59); cardHolderLabel.Name = "cardHolderLabel"; cardHolderLabel.Size = new System.Drawing.Size(66, 13); cardHolderLabel.TabIndex = 1; cardHolderLabel.Text = "Card Holder:"; // // cardTypeLabel // cardTypeLabel.AutoSize = true; cardTypeLabel.Location = new System.Drawing.Point(36, 85); cardTypeLabel.Name = "cardTypeLabel"; cardTypeLabel.Size = new System.Drawing.Size(59, 13); cardTypeLabel.TabIndex = 3; cardTypeLabel.Text = "Card Type:"; // // creditCardLabel // creditCardLabel.AutoSize = true; creditCardLabel.Location = new System.Drawing.Point(36, 111); creditCardLabel.Name = "creditCardLabel"; creditCardLabel.Size = new System.Drawing.Size(62, 13); creditCardLabel.TabIndex = 5; creditCardLabel.Text = "Credit Card:"; // // expDateLabel // expDateLabel.AutoSize = true; expDateLabel.Location = new System.Drawing.Point(36, 137); expDateLabel.Name = "expDateLabel"; expDateLabel.Size = new System.Drawing.Size(54, 13); expDateLabel.TabIndex = 7; expDateLabel.Text = "Exp Date:"; // // orderIDLabel // orderIDLabel.AutoSize = true; orderIDLabel.Location = new System.Drawing.Point(36, 163); orderIDLabel.Name = "orderIDLabel"; orderIDLabel.Size = new System.Drawing.Size(50, 13); orderIDLabel.TabIndex = 9; orderIDLabel.Text = "Order ID:"; // // orderNumberLabel // orderNumberLabel.AutoSize = true; orderNumberLabel.Location = new System.Drawing.Point(36, 189); orderNumberLabel.Name = "orderNumberLabel"; orderNumberLabel.Size = new System.Drawing.Size(76, 13); orderNumberLabel.TabIndex = 11; orderNumberLabel.Text = "Order Number:"; // // userNameLabel // userNameLabel.AutoSize = true; userNameLabel.Location = new System.Drawing.Point(36, 215); userNameLabel.Name = "userNameLabel"; userNameLabel.Size = new System.Drawing.Size(63, 13); userNameLabel.TabIndex = 13; userNameLabel.Text = "User Name:"; // // textLabel // textLabel.AutoSize = true; textLabel.Location = new System.Drawing.Point(37, 241); textLabel.Name = "textLabel"; textLabel.Size = new System.Drawing.Size(62, 13); textLabel.TabIndex = 15; textLabel.Text = "Order Date:"; // // cardHolderTextBox // this.cardHolderTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "CardHolder", true)); this.cardHolderTextBox.Location = new System.Drawing.Point(118, 56); this.cardHolderTextBox.Name = "cardHolderTextBox"; this.cardHolderTextBox.Size = new System.Drawing.Size(292, 20); this.cardHolderTextBox.TabIndex = 2; // // orderBindingSource // this.orderBindingSource.DataSource = typeof(ActionExtenderSample.Business.Order); this.bindingSourceRefresh1.SetReadValuesOnChange(this.orderBindingSource, true); // // cardTypeTextBox // this.cardTypeTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "CardType", true)); this.cardTypeTextBox.Location = new System.Drawing.Point(118, 82); this.cardTypeTextBox.Name = "cardTypeTextBox"; this.cardTypeTextBox.Size = new System.Drawing.Size(77, 20); this.cardTypeTextBox.TabIndex = 4; // // creditCardTextBox // this.creditCardTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "CreditCard", true)); this.creditCardTextBox.Location = new System.Drawing.Point(118, 108); this.creditCardTextBox.MaxLength = 20; this.creditCardTextBox.Name = "creditCardTextBox"; this.creditCardTextBox.Size = new System.Drawing.Size(140, 20); this.creditCardTextBox.TabIndex = 6; // // expDateTextBox // this.expDateTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "ExpDate", true)); this.expDateTextBox.Location = new System.Drawing.Point(118, 134); this.expDateTextBox.Name = "expDateTextBox"; this.expDateTextBox.Size = new System.Drawing.Size(77, 20); this.expDateTextBox.TabIndex = 8; // // orderIDLabel1 // this.orderIDLabel1.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "OrderID", true)); this.orderIDLabel1.Location = new System.Drawing.Point(118, 163); this.orderIDLabel1.Name = "orderIDLabel1"; this.orderIDLabel1.Size = new System.Drawing.Size(289, 13); this.orderIDLabel1.TabIndex = 10; this.orderIDLabel1.Text = "label1"; // // orderNumberTextBox // this.orderNumberTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "OrderNumber", true)); this.orderNumberTextBox.Location = new System.Drawing.Point(118, 186); this.orderNumberTextBox.MaxLength = 20; this.orderNumberTextBox.Name = "orderNumberTextBox"; this.orderNumberTextBox.Size = new System.Drawing.Size(140, 20); this.orderNumberTextBox.TabIndex = 12; // // userNameTextBox // this.userNameTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "UserName", true)); this.userNameTextBox.Location = new System.Drawing.Point(118, 212); this.userNameTextBox.MaxLength = 50; this.userNameTextBox.Name = "userNameTextBox"; this.userNameTextBox.Size = new System.Drawing.Size(292, 20); this.userNameTextBox.TabIndex = 14; // // orderDateTextBox // this.orderDateTextBox.DataBindings.Add(new Gizmox.WebGUI.Forms.Binding("Text", this.orderBindingSource, "OrderDate", true)); this.orderDateTextBox.Location = new System.Drawing.Point(118, 238); this.orderDateTextBox.Name = "orderDateTextBox"; this.orderDateTextBox.Size = new System.Drawing.Size(77, 20); this.orderDateTextBox.TabIndex = 16; this.orderDateTextBox.Validating += new System.ComponentModel.CancelEventHandler(orderDateTextBox_Validating); // // orderDetailListBindingSource // this.orderDetailListBindingSource.DataMember = "OrderDetailList"; this.orderDetailListBindingSource.DataSource = this.orderBindingSource; this.bindingSourceRefresh1.SetReadValuesOnChange(this.orderDetailListBindingSource, true); // // orderDetailListDataGridView // this.orderDetailListDataGridView.AutoGenerateColumns = false; this.orderDetailListDataGridView.ColumnHeadersHeightSizeMode = Gizmox.WebGUI.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.orderDetailListDataGridView.Columns.AddRange(new Gizmox.WebGUI.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn1, this.dataGridViewTextBoxColumn3, this.dataGridViewTextBoxColumn4, this.dataGridViewTextBoxColumn5}); this.orderDetailListDataGridView.DataSource = this.orderDetailListBindingSource; this.orderDetailListDataGridView.Location = new System.Drawing.Point(76, 284); this.orderDetailListDataGridView.Name = "orderDetailListDataGridView"; this.orderDetailListDataGridView.Size = new System.Drawing.Size(600, 220); this.orderDetailListDataGridView.TabIndex = 16; this.orderDetailListDataGridView.DataError += new Gizmox.WebGUI.Forms.DataGridViewDataErrorEventHandler(orderDetailListDataGridView_DataError); // // btnForceSave // this.cslaActionExtender1.SetActionType(this.btnForceSave, CslaContrib.WebGUI.CslaFormAction.Save); this.btnForceSave.Location = new System.Drawing.Point(518, 238); this.btnForceSave.Name = "btnForceSave"; this.btnForceSave.Size = new System.Drawing.Size(117, 23); this.btnForceSave.TabIndex = 22; this.btnForceSave.Text = "Force Save"; this.btnForceSave.UseVisualStyleBackColor = true; // // btnValidate // this.cslaActionExtender1.SetActionType(this.btnValidate, CslaContrib.WebGUI.CslaFormAction.Validate); this.btnValidate.Location = new System.Drawing.Point(518, 208); this.btnValidate.Name = "btnValidate"; this.btnValidate.Size = new System.Drawing.Size(117, 23); this.btnValidate.TabIndex = 22; this.btnValidate.Text = "Validate"; this.btnValidate.UseVisualStyleBackColor = true; // // btnClose // this.cslaActionExtender1.SetActionType(this.btnClose, CslaContrib.WebGUI.CslaFormAction.Close); this.btnClose.Location = new System.Drawing.Point(518, 158); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(117, 23); this.btnClose.TabIndex = 21; this.btnClose.Text = "Close"; this.btnClose.UseVisualStyleBackColor = true; // // btnCancel // this.cslaActionExtender1.SetActionType(this.btnCancel, CslaContrib.WebGUI.CslaFormAction.Cancel); this.cslaActionExtender1.SetCommandName(this.btnCancel, "Undo"); this.cslaActionExtender1.SetDisableWhenUseless(this.btnCancel, true); this.btnCancel.Location = new System.Drawing.Point(518, 128); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(117, 23); this.btnCancel.TabIndex = 20; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; // // btnSaveClose // this.cslaActionExtender1.SetActionType(this.btnSaveClose, CslaContrib.WebGUI.CslaFormAction.Save); this.cslaActionExtender1.SetDisableWhenUseless(this.btnSaveClose, true); this.btnSaveClose.Location = new System.Drawing.Point(518, 98); this.btnSaveClose.Name = "btnSaveClose"; this.cslaActionExtender1.SetPostSaveAction(this.btnSaveClose, CslaContrib.WebGUI.PostSaveActionType.AndClose); this.cslaActionExtender1.SetRebindAfterSave(this.btnSaveClose, false); this.btnSaveClose.Size = new System.Drawing.Size(117, 23); this.btnSaveClose.TabIndex = 19; this.btnSaveClose.Text = "Save/Close"; this.btnSaveClose.UseVisualStyleBackColor = true; // // btnSaveNew // this.cslaActionExtender1.SetActionType(this.btnSaveNew, CslaContrib.WebGUI.CslaFormAction.Save); this.cslaActionExtender1.SetDisableWhenUseless(this.btnSaveNew, true); this.btnSaveNew.Location = new System.Drawing.Point(518, 68); this.btnSaveNew.Name = "btnSaveNew"; this.cslaActionExtender1.SetPostSaveAction(this.btnSaveNew, CslaContrib.WebGUI.PostSaveActionType.AndNew); this.btnSaveNew.Size = new System.Drawing.Size(117, 23); this.btnSaveNew.TabIndex = 18; this.btnSaveNew.Text = "Save/New"; this.btnSaveNew.UseVisualStyleBackColor = true; // // btnSave // this.cslaActionExtender1.SetActionType(this.btnSave, CslaContrib.WebGUI.CslaFormAction.Save); this.cslaActionExtender1.SetDisableWhenUseless(this.btnSave, true); this.btnSave.Location = new System.Drawing.Point(518, 38); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(117, 23); this.btnSave.TabIndex = 17; this.btnSave.Text = "Save"; this.btnSave.UseVisualStyleBackColor = true; // // cslaActionExtender1 // this.cslaActionExtender1.DataSource = this.orderBindingSource; this.cslaActionExtender1.ObjectIsValidMessage = "Order is valid"; this.cslaActionExtender1.SetForNew += new System.EventHandler<CslaContrib.WebGUI.CslaActionEventArgs>(this.cslaActionExtender1_SetForNew); // // errorProvider1 // this.errorProvider1.ContainerControl = this; this.errorProvider1.DataSource = this.orderBindingSource; // // bindingSourceRefresh1 // this.bindingSourceRefresh1.Host = this; // // dataGridViewTextBoxColumn1 // this.dataGridViewTextBoxColumn1.DataPropertyName = "OrderDetailID"; this.dataGridViewTextBoxColumn1.HeaderText = "Order Detail ID"; this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; this.dataGridViewTextBoxColumn1.ReadOnly = true; this.dataGridViewTextBoxColumn1.Width = 185; // // dataGridViewTextBoxColumn3 // this.dataGridViewTextBoxColumn3.DataPropertyName = "ProductID"; this.dataGridViewTextBoxColumn3.HeaderText = "Product ID"; this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; this.dataGridViewTextBoxColumn3.Width = 185; // // dataGridViewTextBoxColumn4 // this.dataGridViewTextBoxColumn4.DataPropertyName = "PurchaseUnitPrice"; dataGridViewCellStyle1.Alignment = Gizmox.WebGUI.Forms.DataGridViewContentAlignment.MiddleRight; this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle1; this.dataGridViewTextBoxColumn4.HeaderText = "Purchase Unit Price"; this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; this.dataGridViewTextBoxColumn4.Width = 130; // // dataGridViewTextBoxColumn5 // this.dataGridViewTextBoxColumn5.AutoSizeMode = Gizmox.WebGUI.Forms.DataGridViewAutoSizeColumnMode.Fill; this.dataGridViewTextBoxColumn5.DataPropertyName = "Quantity"; dataGridViewCellStyle2.Alignment = Gizmox.WebGUI.Forms.DataGridViewContentAlignment.MiddleRight; this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle2; this.dataGridViewTextBoxColumn5.HeaderText = "Quantity"; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; // // OrderMaint // this.ClientSize = new System.Drawing.Size(791, 571); this.Controls.Add(this.btnForceSave); this.Controls.Add(this.btnValidate); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnSaveClose); this.Controls.Add(this.btnSaveNew); this.Controls.Add(this.btnSave); this.Controls.Add(this.orderDetailListDataGridView); this.Controls.Add(textLabel); this.Controls.Add(this.orderDateTextBox); this.Controls.Add(cardHolderLabel); this.Controls.Add(this.cardHolderTextBox); this.Controls.Add(cardTypeLabel); this.Controls.Add(this.cardTypeTextBox); this.Controls.Add(creditCardLabel); this.Controls.Add(this.creditCardTextBox); this.Controls.Add(expDateLabel); this.Controls.Add(this.expDateTextBox); this.Controls.Add(orderIDLabel); this.Controls.Add(this.orderIDLabel1); this.Controls.Add(orderNumberLabel); this.Controls.Add(this.orderNumberTextBox); this.Controls.Add(userNameLabel); this.Controls.Add(this.userNameTextBox); this.Name = "OrderMaint"; this.Text = "Order Maintenance - Button"; ((System.ComponentModel.ISupportInitialize)(this.orderBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.orderDetailListBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.orderDetailListDataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSourceRefresh1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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.dgProducts = new Gizmox.WebGUI.Forms.DataGridView(); this.bsProducts = new Gizmox.WebGUI.Forms.BindingSource(this.components); this.btnClear = new Gizmox.WebGUI.Forms.Button(); this.btnSet = new Gizmox.WebGUI.Forms.Button(); this.lblDisplayCount = new Gizmox.WebGUI.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dgProducts)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bsProducts)).BeginInit(); this.SuspendLayout(); // // dgProducts // this.dgProducts.ColumnHeadersHeightSizeMode = Gizmox.WebGUI.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgProducts.Location = new System.Drawing.Point(12, 74); this.dgProducts.Name = "dgProducts"; this.dgProducts.Size = new System.Drawing.Size(882, 439); this.dgProducts.TabIndex = 0; // // btnClear // this.btnClear.Location = new System.Drawing.Point(120, 36); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(75, 23); this.btnClear.TabIndex = 1; this.btnClear.Text = "Clear Filter"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // btnSet // this.btnSet.Location = new System.Drawing.Point(25, 36); this.btnSet.Name = "btnSet"; this.btnSet.Size = new System.Drawing.Size(75, 23); this.btnSet.TabIndex = 2; this.btnSet.Text = "Set Filter"; this.btnSet.UseVisualStyleBackColor = true; this.btnSet.Click += new System.EventHandler(this.btnSet_Click); // // lblDisplayCount // this.lblDisplayCount.AutoSize = true; this.lblDisplayCount.Location = new System.Drawing.Point(228, 41); this.lblDisplayCount.Name = "lblDisplayCount"; this.lblDisplayCount.Size = new System.Drawing.Size(87, 13); this.lblDisplayCount.TabIndex = 79; this.lblDisplayCount.Text = "0 items displayed"; // // GridFilter // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = Gizmox.WebGUI.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(906, 536); this.Controls.Add(this.lblDisplayCount); this.Controls.Add(this.btnSet); this.Controls.Add(this.btnClear); this.Controls.Add(this.dgProducts); this.Name = "GridFilter"; this.Text = "Grid Filter Example"; ((System.ComponentModel.ISupportInitialize)(this.dgProducts)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bsProducts)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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); }
/// <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(); }