/// <summary> ///Using EmployeeDB, the list of employees is declared, and the /// position in the list of employees is set to 0 /// </summary> public Manager() { empdb = EmployeeDB.Instance; emps = empdb.employees; pos = 0; InitializeComponent(); }
/// <summary> /// Creates staff database before the windows loads /// </summary> public Addemp() { edb = EmployeeDB.Instance; el = edb.Employees; InitializeComponent(); txtbxFname.Focus(); }
/// <summary> /// EmployeeDB is instantiated before the main login window /// Also sets the number of login attempts at 0 /// </summary> public MainWindow() { employees = EmployeeDB.Instance; attempts = 0; InitializeComponent(); txtUname.Focus(); }