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)); }
private void initCommands() { PopupCommand = new RelayCommand(() => PopupLaunched?.Invoke(this, null)); AdminCommand = new RelayCommand(() => AdminSelected?.Invoke(this, null)); }