private void flatButton1_Click(object sender, EventArgs e) { EmployeeDA.BinaryReader(listofemployee); this.Hide(); MIS_Manager nmis = new MIS_Manager(); nmis.Show(); }
public void fillcombobox() { EmployeeDA.BinaryReader(listofemployee); foreach (Employee element in listofemployee) { if (element.Password != 0) { flatComboBoxLogin.Items.Add(element.Employeeid); } } }
private void MIS_Manager_Load(object sender, EventArgs e) { EmployeeDA.BinaryReader(listofemployee); AddtoListUsers(); AddToListEmployee(); metroListViewemployee.FullRowSelect = true; foreach (EnumStatus element in Enum.GetValues(typeof(EnumStatus))) { flatComboBoxempstatus.Items.Add(element); } foreach (Employee element in listofemployee) { flatComboBoxuser.Items.Add(element.Employeeid); } }