Beispiel #1
0
 private void TabControl_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (MainTabControl.SelectedIndex == 1)
     {
         SaleView.Focus();
     }
 }
Beispiel #2
0
        public MainWindow()
        {
            viewModel        = new MainViewModel();
            this.DataContext = viewModel;

            InitializeComponent();
            SaleView.Focus();
        }
Beispiel #3
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     SaleView.CleanForClosing();
 }