示例#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));
 }