private void QRY_SALES_SHIPMENT_SUMMARY_Load(object sender, EventArgs e) { DBGrid.Tag = this.Name; clsTranslate.InitLanguage(this); FillControl.FillShipType(cboShipType, true); FillControl.FillCustomerList(lstCustomer); FillControl.FillEmployeeList(cboSalesMan, true, false); lstCustomer.BackColor = frmOptions.BACKCOLOR; dtpFrom.Value = Util.modperiod.StartDate; dtpTo.Value = Util.modperiod.EndDate; }
private void QRY_SALES_SHIPMENT_DETAIL_Load(object sender, EventArgs e) { DBGrid.ContextMenuStrip.Items.Add("-"); DBGrid.ContextMenuStrip.Items.Add(clsTranslate.TranslateString("Sales Statement"), LXMS.Properties.Resources.Property, new System.EventHandler(this.mnuSalesStatement_Click)); DBGrid.Tag = this.Name; clsTranslate.InitLanguage(this); FillControl.FillShipType(cboShipType, true); FillControl.FillCustomerList(lstCustomer); FillControl.FillEmployeeList(cboSalesMan, true, false); lstCustomer.BackColor = frmOptions.BACKCOLOR; dtpFrom.Value = Util.modperiod.StartDate; dtpTo.Value = Util.modperiod.EndDate; }