private void loginClick()
 {
     try
     {
         if (clsLogin.Check_Clicked_User_Status(Current_User_Id) == true)
         {
             if (clsLogin.Check_Clicked_Login_Status(Current_User_Id) == true)
             {
                 if (txtPassword.Text.Trim() != "")
                 {
                     if (clsLogin.Check_Entered_PIN_code(Current_User_Id, txtPassword.Text.Trim()) == true)
                     {
                         txtPassword.Text    = "";
                         txtPassword.Enabled = false;
                         label1.Text         = "Please Wait...";
                         if (clsLogin.Sucess_Full_Login(Current_User_Id) == true)
                         {
                             // Sucess
                             txtPassword.Enabled = true;
                             MainScreen.Login_Sucessfull();
                             this.Dispose();
                         }
                         else
                         {
                             txtPassword.Enabled = true;
                             label1.Text         = "Please enter your PIN Code";
                             new frmMessageBox("error", "Login failed", "Could not get the Details. Unexpected User found!", false, MainScreen).ShowDialog();
                         }
                     }
                     else
                     {
                         new frmMessageBox("error", "Invaild Login", "Wrong Login PIN Code", false, MainScreen).ShowDialog(); txtPassword.Text = "";
                     }
                 }
                 else
                 {
                     new frmMessageBox("error", "Login", "Please  enter Login PIN Code", false, MainScreen).ShowDialog();
                 }
             }
             else
             {
                 new frmMessageBox("error", "Duplicate Login", "You can not Login Now Here!, You have already Loged in to this system.", false, MainScreen).ShowDialog();
             }
         }
         else
         {
             new frmMessageBox("error", "Invalid Login", "You can not Login Now!, Your Login was deactivated.", false, MainScreen).ShowDialog();
         }
     }
     catch (Exception ex) { MessageBox.Show(ex.Message); }
 }