Beispiel #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.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);
 }
Beispiel #2
0
 protected override void SetBaseDateTimePickerValue(IDateTimePicker dateTimePicker, DateTime value)
 {
     Gizmox.WebGUI.Forms.DateTimePicker picker = (Gizmox.WebGUI.Forms.DateTimePicker)dateTimePicker;
     picker.Value = value;
 }
Beispiel #3
0
 protected override void SetBaseDateTimePickerCheckedValue(IDateTimePicker dateTimePicker, bool value)
 {
     Gizmox.WebGUI.Forms.DateTimePicker picker = (Gizmox.WebGUI.Forms.DateTimePicker)dateTimePicker;
     picker.Checked = value;
 }
Beispiel #4
0
 protected override void SubscribeToBaseValueChangedEvent(IDateTimePicker dateTimePicker, EventHandler onValueChanged)
 {
     Gizmox.WebGUI.Forms.DateTimePicker picker = (Gizmox.WebGUI.Forms.DateTimePicker)dateTimePicker;
     picker.ValueChanged += onValueChanged;
 }