public frmEmployeeDetail() { InitializeComponent(); empFun = new frmEmployeeFunction(); btnClr.Visible = false; itemPanel1.Items.Remove(itemContainer1); itemPanel1.Items.Remove(itemContainer4); comboBox1.SelectedIndex = 0; }
public frmEmployees() { InitializeComponent(); empFun = new frmEmployeeFunction(); posFun = new frmPosFunction(); loadPlaceHolder(); Control[] tempRequire = { txtEn1, txtEn2, txtEmail, txtPhone, txtSalary }; requirement = tempRequire; btnnext.Enabled = false; }
public frmCustomer() { InitializeComponent(); cusFun = new frmCustomerFunction(); empFun = new frmEmployeeFunction(); dataGridView1.MultiSelect = false; Control[] tempRequire = { txtEn1, txtEn2, txtEmail, txtphone }; requirement = tempRequire; txtphone.TextMaskFormat = MaskFormat.ExcludePromptAndLiterals; txtPhone2.TextMaskFormat = MaskFormat.ExcludePromptAndLiterals; loadPlaceHolder(); }
//BindingSource binding = new BindingSource(); public frmCustomerDetail() { InitializeComponent(); cusFun = new frmCustomerFunction(); empFun = new frmEmployeeFunction(); btnClr.Visible = false; itemPanel1.Items.Remove(itemContainer1); itemPanel1.Items.Remove(itemContainer4); //customersDataGridView.DataSource = binding; //Helper.BindGridView("SELECT * FROM Customers;", binding, customersDataGridView); //Helper.AutoFitColumns(customersDataGridView); }