You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RootView.xaml.cs 545 B

2 vuotta sitten
2 vuotta sitten
2 vuotta sitten
2 vuotta sitten
2 vuotta sitten
2 vuotta sitten
2 vuotta sitten
1234567891011121314151617181920212223
  1. using HKCardOUT.ViewModels;
  2. using System.Linq;
  3. using System.Windows;
  4. using System.Windows.Controls;
  5. using System.Windows.Forms;
  6. using System.Windows.Media;
  7. namespace HKCardOUT.Views
  8. {
  9. public partial class RootView : HandyControl.Controls.Window
  10. {
  11. public RootView()
  12. {
  13. InitializeComponent();
  14. this.Loaded += RootView_Loaded;
  15. }
  16. private void RootView_Loaded(object sender, RoutedEventArgs e)
  17. {
  18. (this.DataContext as RootViewModel).Main = this;
  19. }
  20. }
  21. }