|
|
@ -254,6 +254,7 @@ namespace Rs.MotionPlat
|
|
|
|
DialogResult dr = Msg.ShowQuestion("Are you sure to exit login?");
|
|
|
|
DialogResult dr = Msg.ShowQuestion("Are you sure to exit login?");
|
|
|
|
if(dr== DialogResult.OK)
|
|
|
|
if(dr== DialogResult.OK)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
DevLog.EventTracker(GlobalUser.UserName, -1, "", "LOGOUT");
|
|
|
|
GlobalUser.UserName = "";
|
|
|
|
GlobalUser.UserName = "";
|
|
|
|
btnPermission.ShowText=btnPermission.ShowText.Substring(0,btnPermission.ShowText.IndexOf("-"));
|
|
|
|
btnPermission.ShowText=btnPermission.ShowText.Substring(0,btnPermission.ShowText.IndexOf("-"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|