private void loginBtn_Click(object sender, EventArgs e)
 {
     if (MainClass.checkControls(leftpanel).Count == 0)
     {
         if (retrival.getUserDetails(usrTxt.Text, passTxt.Text))
         {
             if (retrival.ROLE == "Administrator")
             {
                 HomeScreen obj = new HomeScreen();
                 MainClass.showWindow(obj, this, MDI.ActiveForm);
             }
             else if (retrival.ROLE == "Chef")
             {
                 HomeScreen2 obj = new HomeScreen2();
                 MainClass.showWindow(obj, this, MDI.ActiveForm);
             }
         }
         else
         {
         }
     }
 }
        public virtual void backBtn_Click(object sender, EventArgs e)
        {
            HomeScreen obj = new HomeScreen();

            MainClass.showWindow(obj, this, MDI.ActiveForm);
        }
        private void back_Click(object sender, EventArgs e)
        {
            HomeScreen obj = new HomeScreen();

            MainClass.showWindow(obj, this, MDI.ActiveForm);
        }