Beispiel #1
0
        private void lockToggle(object sender, System.Windows.RoutedEventArgs e)
        {
            bool current = MainPageViewModel.getInstance().CanToggle;

            MainPageViewModel.getInstance().CanToggle = !current;
        }
Beispiel #2
0
 public MainPage()
 {
     this.DataContext = MainPageViewModel.getInstance();
     InitializeComponent();
 }