public TrayNotificationViewModel( IVpnManager vpnManager, AppExitHandler appExitHandler, QuickLaunchViewModel quickLaunchViewModel) { _vpnManager = vpnManager; _appExitHandler = appExitHandler; ExitCommand = new RelayCommand(ExitAction); DisconnectCommand = new RelayCommand(DisconnectAction); ConnectCommand = new RelayCommand(ConnectAction); HandleVpnStatus(VpnStatus.Disconnected); QuickLaunch = quickLaunchViewModel; }
public QuickLaunchPage() { InitializeComponent(); BindingContext = viewModel = new QuickLaunchViewModel(); }