private void SEC_USER_GROUP_Load(object sender, EventArgs e) { clsTranslate.InitLanguage(this); Util.ChangeStatus(this, true); FillControl.FillStatus(cboStatus, false); LoadData(); }
private void MTN_VENDOR_TYPE_Load(object sender, EventArgs e) { clsTranslate.InitLanguage(this); Util.ChangeStatus(this, true); FillControl.FillStatus(cboStatus, false); DBGrid.Tag = this.Text; LoadData(); }
private void OTHER_RECEIVABLE_OBJECT_Load(object sender, EventArgs e) { clsTranslate.InitLanguage(this); Util.ChangeStatus(this, true); FillControl.FillStatus(cboStatus, false); FillControl.FillCurrency(cboCurrency, false, true); DBGrid.Tag = this.Text; LoadData(); }
private void MTN_WAREHOUSE_LIST_Load(object sender, EventArgs e) { clsTranslate.InitLanguage(this); Util.ChangeStatus(this, true); FillControl.FillStatus(cboStatus, false); FillControl.FillYesNo(cboDefault, false); DBGrid.Tag = this.Text; LoadData(); }
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 MTN_EMPLOYEE_LIST_Load(object sender, EventArgs e) { clsTranslate.InitLanguage(this); Util.ChangeStatus(this, true); FillControl.FillStatus(cboStatus, false); FillControl.FillAdminDutyList(cboDuty, false, true); FillControl.FillAdminDegreeList(cboDegree, false, true); FillControl.FillAdminDeptList(cboDept, false, true); DBGrid.Tag = this.Text; LoadData(); }
private void SEC_TASK_LIST_Load(object sender, EventArgs e) { clsTranslate.InitLanguage(this); Util.ChangeStatus(this, true); FillControl.FillStatus(cboStatus, false); cboTaskType.Items.Add("OPERATION"); cboTaskType.Items.Add("MAINTENANCE"); cboTaskType.Items.Add("QUERY"); InactiveVisible = false; LoadTree(); }
private void SEC_USER_LIST_Load(object sender, EventArgs e) { DBGrid.ContextMenuStrip.Items.Add("-"); DBGrid.ContextMenuStrip.Items.Add(clsTranslate.TranslateString("Reset Current Password"), null, new System.EventHandler(ResetCurrentPassword_Click)); DBGrid.ContextMenuStrip.Items.Add(clsTranslate.TranslateString("Reset All Password"), null, new System.EventHandler(ResetAllPassword_Click)); DBGrid.ContextMenuStrip.Items.Add("-"); DBGrid.ContextMenuStrip.Items.Add(clsTranslate.TranslateString("Set User Privilege"), null, new System.EventHandler(SetUserPrivilege_Click)); clsTranslate.InitLanguage(this); Util.ChangeStatus(this, true); FillControl.FillStatus(cboStatus, false); FillControl.FillRoleList(cboRoleId, false); LoadTree(); }
private void MTN_CUSTOMER_LIST_Load(object sender, EventArgs e) { DBGrid.ContextMenuStrip.Items.Add("-"); DBGrid.ContextMenuStrip.Items.Add(clsTranslate.TranslateString("Customer Log"), LXMS.Properties.Resources.largeLogs, new System.EventHandler(this.mnuCustomerLog_Click)); DBGridTrace.ContextMenuStrip.Items.Add("-"); DBGridTrace.ContextMenuStrip.Items.Add(clsTranslate.TranslateString("New"), LXMS.Properties.Resources.new_med, new System.EventHandler(this.mnuAddTrace_Click)); DBGridTrace.ContextMenuStrip.Items.Add(clsTranslate.TranslateString("Edit"), LXMS.Properties.Resources.Edit, new System.EventHandler(this.mnuEditTrace_Click)); Util.ChangeStatus(this, true); FillControl.FillStatus(cboStatus, false); FillControl.FillCustomerLevel(cboCustLevel, false); FillControl.FillCustomerType(cboCustType, false, true); FillControl.FillEmployeeList(cboSalesMan, false, true); FillControl.FillShipmentTemplete(cboShipmentTemplete, false); FillControl.FillCurrency(cboCurrency, false, true); //SelectVisible = false; DBGrid.Tag = this.Text; DBGridTrace.Tag = this.Text + "Trace"; LoadTree(); }