Beispiel #1
0
 private void LogotTemp_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.IsTempActive)
     {
         PrivilegesManager.IsTempActive = false;
         //LogotTemp.Visible = false;
         PrivilegesManager.ClearTempTemplate();
     }
 }
Beispiel #2
0
 private void logoutTempToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.IsTempActive)
     {
         PrivilegesManager.IsTempActive      = false;
         logoutTempToolStripMenuItem.Visible = false;
         PrivilegesManager.ClearTempTemplate();
         UserLoggedTxt.Text = SharedVariables.user_logged_name + ": " + SharedVariables.user_logged_name_name;
     }
 }
Beispiel #3
0
 private void TempLogoutRibnBtn_Click(object sender, EventArgs e)
 {
     if (PrivilegesManager.IsTempActive)
     {
         PrivilegesManager.IsTempActive = false;
         TempLogoutRibnBtn.Visible      = false;
         PrivilegesManager.ClearTempTemplate();
         LoggedUsrTxtLbl.Text = SharedVariables.user_logged_name + ": " + SharedVariables.user_logged_name_name;
     }
 }