Exemple #1
0
 public LoginChildWindow(LoginMainWindow loginMainWindow)
 {
     InitializeComponent();
     _loginMain = loginMainWindow;
     grdUpdatePassword.Visibility = Visibility.Collapsed;
     pnlName.Text = "Login";
     LoginServiceClient _client = new LoginServiceClient();
 }
Exemple #2
0
 private void _LoginWindow_SubmitAction(MainPage main, LoginMainWindow _loginMain, LoginChildWindow loginChildWindow)
 {
     main.LoggedUserTextBlock.Content    = LoggedUserInfo.WFM_UserName;
     main.LoggedUserTextBlock.Tag        = LoggedUserInfo.Code;
     main.LoggedUserTextBlock.TargetName = LoggedUserInfo.Iserial.ToString(CultureInfo.InvariantCulture);
     if (!LoggedUserInfo.WFM_IsMenuInitiated)
     {
         LoggedUserInfo.InitiatePermissions(main, main.PanelButtons, _loginMain, loginChildWindow);
     }
     DefaultUserSettings.DATAAREAID = new Dictionary <string, string> {
         { "CCM", "CCM" }, { "CCR", "CCR" }
     };
 }