private void MTN_VENDOR_LIST_Load(object sender, EventArgs e) { clsTranslate.InitLanguage(this); Util.ChangeStatus(this, true); FillControl.FillStatus(cboStatus, false); FillControl.FillVendorType(cboVendorType, false, true); FillControl.FillCurrency(cboCurrency, false, true); DBGrid.Tag = this.Text; LoadData(); }
private void cboVendorType_SelectedIndexChanged(object sender, EventArgs e) { if (cboVendorType.SelectedValue == null) { return; } if (cboVendorType.SelectedValue.ToString().CompareTo("New...") != 0) { return; } MTN_VENDOR_TYPE frm = new MTN_VENDOR_TYPE(); frm.ShowDialog(); FillControl.FillVendorType(cboVendorType, false, true); }