Exemple #1
0
 public DepartmentManagerPP(MySqlConnection c, MainStoreManagerApp pf)
 {
     //New Manager
     InitializeComponent();
     connection = c;
     parentForm = pf;
 }
Exemple #2
0
 public DepartmentManagerPP(MySqlConnection c, DeptManager dm, MainStoreManagerApp pf)
 {
     InitializeComponent();
     connection = c;
     manager = dm;
     parentForm = pf;
     RefreshFields();
 }
Exemple #3
0
 public DepartmentPP(MySqlConnection c, List<DeptManager> l, MainStoreManagerApp pf)
 {
     //New Department
     InitializeComponent();
     connection = c;
     parentForm = pf;
     deptManagers = l;
     SetManagerItems();
 }
Exemple #4
0
 public DepartmentPP(MySqlConnection c, List<DeptManager> l, Department d, DeptManager cm, MainStoreManagerApp pf)
 {
     InitializeComponent();
     connection = c;
     dept = d;
     parentForm = pf;
     deptManagers = l;
     currentManager = cm;
     RefreshFields();
     SetManagerItems();
     AddCurrentlySetManager();
 }
Exemple #5
0
 private void LaunchStoreManagerApp()
 {
     var app = new MainStoreManagerApp(this,DataBase);
     app.Show();
     this.Hide();
 }