Example #1
0
        public MainViewModel()
        {
            SettingCommand = new RelayCommand <object>((p) =>
            {
                return(true);
            }, (p) =>
            {
                SettingScreen ss = new SettingScreen();
                ss.ShowDialog();
            });

            CreateJourneyCommand = new RelayCommand <object>((p) => { return(true); }, (p) =>
            {
                CreateJourneyScreen cjs = new CreateJourneyScreen();
                cjs.ShowDialog();
            });
        }