private void QRY_PURCHASE_DETAIL_Load(object sender, EventArgs e) { DBGrid.Tag = this.Name; clsTranslate.InitLanguage(this); FillControl.FillPurchaseType(cboPurchaseType, true); FillControl.FillVendorList(lstVendor, "1", string.Empty); lstVendor.BackColor = frmOptions.BACKCOLOR; dtpFrom.Value = Util.modperiod.StartDate; dtpTo.Value = Util.modperiod.EndDate; }