Esempio n. 1
0
        public NavigationView(Credentials cred)
        {
            credentials            = cred;
            credentials.LoggedIn  += handleLogin;
            credentials.LoggedOut += handleLogout;

            PopupCommand = new RelayCommand(() => PopupLaunched?.Invoke(this, null));
            AdminCommand = new RelayCommand(() => AdminSelected?.Invoke(this, null));
        }
Esempio n. 2
0
 private void initCommands()
 {
     PopupCommand = new RelayCommand(() => PopupLaunched?.Invoke(this, null));
     AdminCommand = new RelayCommand(() => AdminSelected?.Invoke(this, null));
 }