public Form_MainAdmin(User loggedinasuser)
 {
     InitializeComponent();
     adminhandler  = new AdminHandler();
     lbl_Name.Text = loggedinasuser.Name;
     RefreshScreen();
     ignoreWarnings = false;
 }
 public Form_MainAdmin(User loggedinasuser)
 {
     InitializeComponent();
     adminhandler = new AdminHandler();
     lbl_Name.Text = loggedinasuser.Name;
     RefreshScreen();
     ignoreWarnings = false;
 }