Exemple #1
0
        public SettingsVM()
        {
            WindowTitle = "Настройки";

            Label   = Properties.Settings.Default.Title;
            EndDate = Properties.Settings.Default.EndDate;

            OkClick     = new RelayCommand(() => ViewNavigator.CloseLastView());
            GoBackClick = new RelayCommand(() => ViewNavigator.CloseLastView(false));
            CloseClick  = new RelayCommand(() => ViewNavigator.CloseWindow());
        }
Exemple #2
0
 public Question21VM()
 {
     NavigateTo31Command = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new Question31VM());
     });
     NavigateTo32Command = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new Question32VM());
     });
     GoBackCommand = new RelayCommand(() =>
     {
         ViewNavigator.CloseLastView();
     });
 }
Exemple #3
0
 public Question22VM()
 {
     NavigateTo33Command = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new Question33VM());
     });
     NavigateTo34Command = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new Question34VM());
     });
     GoBackCommand = new RelayCommand(() =>
     {
         ViewNavigator.CloseLastView();
     });
 }
Exemple #4
0
 public Question23VM()
 {
     NavigateTo35Command = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new Question35VM());
     });
     NavigateTo36Command = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new Question36VM());
     });
     GoBackCommand = new RelayCommand(() =>
     {
         ViewNavigator.CloseLastView();
     });
 }
Exemple #5
0
 public Question36VM()
 {
     NavigateTo1CCommand = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new OneSVM());
     });
     NavigateToGoCommand = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new GoVM());
     });
     GoBackCommand = new RelayCommand(() =>
     {
         ViewNavigator.CloseLastView();
     });
 }
Exemple #6
0
 public Question33VM()
 {
     NavigateToAssemblerCommand = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new AssemblerVM());
     });
     NavigateToCCommand = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new CVM());
     });
     GoBackCommand = new RelayCommand(() =>
     {
         ViewNavigator.CloseLastView();
     });
 }
Exemple #7
0
 public Question31VM()
 {
     NavigateToJavaCommand = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new JavaVM());
     });
     NavigateToKotlinCommand = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new KotlinVM());
     });
     GoBackCommand = new RelayCommand(() =>
     {
         ViewNavigator.CloseLastView();
     });
 }
Exemple #8
0
 public Question34VM()
 {
     NavigateToPythonCommand = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new PythonVM());
     });
     NavigateToPHPCommand = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new PHPVM());
     });
     GoBackCommand = new RelayCommand(() =>
     {
         ViewNavigator.CloseLastView();
     });
 }
Exemple #9
0
 public Question35VM()
 {
     NavigateToJavaScriptCommand = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new JavaScriptVM());
     });
     NavigateToTypeScriptCommand = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new TypeScriptVM());
     });
     GoBackCommand = new RelayCommand(() =>
     {
         ViewNavigator.CloseLastView();
     });
 }
Exemple #10
0
 public Question32VM()
 {
     NavigateToCSharpCommand = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new CSharpVM());
     });
     NavigateToCPlusPlusCommand = new RelayCommand(() =>
     {
         ViewNavigator.NavigateTo(new CPlusPlusVM());
     });
     GoBackCommand = new RelayCommand(() =>
     {
         ViewNavigator.CloseLastView();
     });
 }