protected void DailyRevenueCallbackPanel_Callback(object sender, DevExpress.Web.CallbackEventArgsBase e) { int delta = 0; if (Int32.TryParse(e.Parameter, out delta) && delta != 0) { DateSelectorControl.ChangeDate(delta); PopulateDailySalesData(); } }
protected void VerticalBarCallbackPanel_Callback(object sender, CallbackEventArgsBase e) { int delta = 0; if (Int32.TryParse(e.Parameter, out delta) && delta != 0) { DateSelectorControl.ChangeDate(delta); RaiseRangeSelectionChanged(); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.millCombo = new System.Windows.Forms.ComboBox(); this.customerCombo = new System.Windows.Forms.ComboBox(); this.okbtn = new System.Windows.Forms.Button(); this.cancelBtn = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.statusCombo = new System.Windows.Forms.ComboBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label2 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.customerLocationCombo = new System.Windows.Forms.ComboBox(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.invoiceStatusCombo = new System.Windows.Forms.ComboBox(); this.SizeLbl = new System.Windows.Forms.Label(); this.sizeCombo = new System.Windows.Forms.ComboBox(); this.gradeCombo = new System.Windows.Forms.ComboBox(); this.finishCombo = new System.Windows.Forms.ComboBox(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.selectShipDate = new EM.DateSelectorControl(); this.revisedDateSelector = new EM.DateSelectorControl(); this.ackDateSelector = new EM.DateSelectorControl(); this.poDateSelector = new EM.DateSelectorControl(); this.treatmentCombo = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.label10 = new System.Windows.Forms.Label(); this.invoiceNumber = new System.Windows.Forms.TextBox(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox4.SuspendLayout(); this.SuspendLayout(); // // millCombo // this.millCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.millCombo.Location = new System.Drawing.Point(120, 16); this.millCombo.Name = "millCombo"; this.millCombo.Size = new System.Drawing.Size(288, 21); this.millCombo.TabIndex = 1; this.millCombo.SelectedIndexChanged += new System.EventHandler(this.OnMillChanged); // // customerCombo // this.customerCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.customerCombo.Location = new System.Drawing.Point(120, 16); this.customerCombo.Name = "customerCombo"; this.customerCombo.Size = new System.Drawing.Size(288, 21); this.customerCombo.TabIndex = 1; this.customerCombo.SelectedIndexChanged += new System.EventHandler(this.OnCustomerChanged); // // okbtn // this.okbtn.DialogResult = System.Windows.Forms.DialogResult.OK; this.okbtn.Location = new System.Drawing.Point(800, 496); this.okbtn.Name = "okbtn"; this.okbtn.Size = new System.Drawing.Size(64, 31); this.okbtn.TabIndex = 13; this.okbtn.Text = "OK"; // // cancelBtn // this.cancelBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelBtn.Location = new System.Drawing.Point(728, 496); this.cancelBtn.Name = "cancelBtn"; this.cancelBtn.Size = new System.Drawing.Size(64, 31); this.cancelBtn.TabIndex = 12; this.cancelBtn.Text = "Cancel"; // // label1 // this.label1.Location = new System.Drawing.Point(8, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 23); this.label1.TabIndex = 4; this.label1.Text = "Status:"; // // statusCombo // this.statusCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.statusCombo.Location = new System.Drawing.Point(56, 16); this.statusCombo.Name = "statusCombo"; this.statusCombo.Size = new System.Drawing.Size(104, 21); this.statusCombo.TabIndex = 5; // // groupBox1 // this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.millCombo); this.groupBox1.Location = new System.Drawing.Point(24, 168); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(416, 49); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Mill"; // // label2 // this.label2.Location = new System.Drawing.Point(8, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(100, 23); this.label2.TabIndex = 0; this.label2.Text = "Name:"; // // groupBox2 // this.groupBox2.Controls.Add(this.customerLocationCombo); this.groupBox2.Controls.Add(this.label7); this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.customerCombo); this.groupBox2.Location = new System.Drawing.Point(24, 256); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(416, 80); this.groupBox2.TabIndex = 3; this.groupBox2.TabStop = false; this.groupBox2.Text = "Customer"; // // customerLocationCombo // this.customerLocationCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.customerLocationCombo.Location = new System.Drawing.Point(120, 48); this.customerLocationCombo.MaxDropDownItems = 14; this.customerLocationCombo.Name = "customerLocationCombo"; this.customerLocationCombo.Size = new System.Drawing.Size(288, 21); this.customerLocationCombo.TabIndex = 3; // // label7 // this.label7.Location = new System.Drawing.Point(8, 48); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(100, 23); this.label7.TabIndex = 2; this.label7.Text = "Location:"; // // label6 // this.label6.Location = new System.Drawing.Point(8, 16); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(100, 23); this.label6.TabIndex = 0; this.label6.Text = "Name:"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(168, 16); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(78, 13); this.label3.TabIndex = 6; this.label3.Text = "Invoice Status:"; // // invoiceStatusCombo // this.invoiceStatusCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.invoiceStatusCombo.FormattingEnabled = true; this.invoiceStatusCombo.Location = new System.Drawing.Point(248, 16); this.invoiceStatusCombo.Name = "invoiceStatusCombo"; this.invoiceStatusCombo.Size = new System.Drawing.Size(121, 21); this.invoiceStatusCombo.TabIndex = 7; // // SizeLbl // this.SizeLbl.AutoSize = true; this.SizeLbl.Location = new System.Drawing.Point(8, 16); this.SizeLbl.Name = "SizeLbl"; this.SizeLbl.Size = new System.Drawing.Size(50, 13); this.SizeLbl.TabIndex = 10; this.SizeLbl.Text = "Item Size"; // // sizeCombo // this.sizeCombo.FormattingEnabled = true; this.sizeCombo.Items.AddRange(new object[] { "All"}); this.sizeCombo.Location = new System.Drawing.Point(64, 16); this.sizeCombo.Name = "sizeCombo"; this.sizeCombo.Size = new System.Drawing.Size(128, 21); this.sizeCombo.TabIndex = 11; this.sizeCombo.Text = "All"; // // gradeCombo // this.gradeCombo.FormattingEnabled = true; this.gradeCombo.Location = new System.Drawing.Point(168, 40); this.gradeCombo.Name = "gradeCombo"; this.gradeCombo.Size = new System.Drawing.Size(136, 21); this.gradeCombo.TabIndex = 16; // // finishCombo // this.finishCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.finishCombo.FormattingEnabled = true; this.finishCombo.Location = new System.Drawing.Point(48, 40); this.finishCombo.Name = "finishCombo"; this.finishCombo.Size = new System.Drawing.Size(64, 21); this.finishCombo.TabIndex = 17; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(128, 40); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(36, 13); this.label8.TabIndex = 18; this.label8.Text = "Grade"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(8, 40); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(34, 13); this.label9.TabIndex = 19; this.label9.Text = "Finish"; // // selectShipDate // this.selectShipDate.IsNullEnabled = true; this.selectShipDate.IsNullTitle = "No Ship Date"; this.selectShipDate.Location = new System.Drawing.Point(448, 320); this.selectShipDate.Name = "selectShipDate"; this.selectShipDate.SearchForward = true; this.selectShipDate.Size = new System.Drawing.Size(432, 160); this.selectShipDate.TabIndex = 9; this.selectShipDate.Title = "Ship Date"; // // revisedDateSelector // this.revisedDateSelector.IsNullEnabled = true; this.revisedDateSelector.IsNullTitle = "No Revised Acknowledge Date"; this.revisedDateSelector.Location = new System.Drawing.Point(448, 160); this.revisedDateSelector.Name = "revisedDateSelector"; this.revisedDateSelector.SearchForward = false; this.revisedDateSelector.Size = new System.Drawing.Size(432, 152); this.revisedDateSelector.TabIndex = 8; this.revisedDateSelector.Title = "Revised Acknowledge Date Selection"; // // ackDateSelector // this.ackDateSelector.IsNullEnabled = true; this.ackDateSelector.IsNullTitle = "Unacknowledged"; this.ackDateSelector.Location = new System.Drawing.Point(448, 8); this.ackDateSelector.Name = "ackDateSelector"; this.ackDateSelector.SearchForward = false; this.ackDateSelector.Size = new System.Drawing.Size(432, 152); this.ackDateSelector.TabIndex = 1; this.ackDateSelector.Title = "Acknowledge Date Selection"; // // poDateSelector // this.poDateSelector.IsNullEnabled = false; this.poDateSelector.IsNullTitle = "Is Null"; this.poDateSelector.Location = new System.Drawing.Point(16, 8); this.poDateSelector.Name = "poDateSelector"; this.poDateSelector.SearchForward = false; this.poDateSelector.Size = new System.Drawing.Size(432, 152); this.poDateSelector.TabIndex = 0; this.poDateSelector.Title = "PO Date Selection"; // // treatmentCombo // this.treatmentCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.treatmentCombo.FormattingEnabled = true; this.treatmentCombo.Location = new System.Drawing.Point(352, 40); this.treatmentCombo.Name = "treatmentCombo"; this.treatmentCombo.Size = new System.Drawing.Size(56, 21); this.treatmentCombo.TabIndex = 21; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(312, 40); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(32, 13); this.label4.TabIndex = 20; this.label4.Text = "Treat"; // // groupBox3 // this.groupBox3.Controls.Add(this.label10); this.groupBox3.Controls.Add(this.invoiceNumber); this.groupBox3.Controls.Add(this.label1); this.groupBox3.Controls.Add(this.statusCombo); this.groupBox3.Controls.Add(this.label3); this.groupBox3.Controls.Add(this.invoiceStatusCombo); this.groupBox3.Location = new System.Drawing.Point(24, 344); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(416, 80); this.groupBox3.TabIndex = 22; this.groupBox3.TabStop = false; this.groupBox3.Text = "Status"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(168, 48); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(85, 13); this.label10.TabIndex = 9; this.label10.Text = "Invoice Number:"; // // invoiceNumber // this.invoiceNumber.Location = new System.Drawing.Point(264, 48); this.invoiceNumber.Name = "invoiceNumber"; this.invoiceNumber.Size = new System.Drawing.Size(112, 20); this.invoiceNumber.TabIndex = 8; this.invoiceNumber.Text = "All"; // // groupBox4 // this.groupBox4.Controls.Add(this.SizeLbl); this.groupBox4.Controls.Add(this.sizeCombo); this.groupBox4.Controls.Add(this.treatmentCombo); this.groupBox4.Controls.Add(this.gradeCombo); this.groupBox4.Controls.Add(this.label4); this.groupBox4.Controls.Add(this.finishCombo); this.groupBox4.Controls.Add(this.label9); this.groupBox4.Controls.Add(this.label8); this.groupBox4.Location = new System.Drawing.Point(24, 432); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(416, 72); this.groupBox4.TabIndex = 23; this.groupBox4.TabStop = false; this.groupBox4.Text = "Item"; // // ReportDialog // this.AcceptButton = this.okbtn; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancelBtn; this.ClientSize = new System.Drawing.Size(895, 544); this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox3); this.Controls.Add(this.selectShipDate); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.revisedDateSelector); this.Controls.Add(this.ackDateSelector); this.Controls.Add(this.poDateSelector); this.Controls.Add(this.cancelBtn); this.Controls.Add(this.okbtn); this.Name = "ReportDialog"; this.Text = "Report Selection"; this.Load += new System.EventHandler(this.ReportDialog_Load); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.ResumeLayout(false); }