Пример #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));
        }
Пример #2
0
 private void initCommands()
 {
     PopupCommand = new RelayCommand(() => PopupLaunched?.Invoke(this, null));
     AdminCommand = new RelayCommand(() => AdminSelected?.Invoke(this, null));
 }