Esempio n. 1
0
        public SettingTab(SettingTabViewModel viewModel, IDatabaseService database)
        {
            _database = database;

            _viewModel  = viewModel;
            DataContext = viewModel;
            InitializeComponent();
        }
Esempio n. 2
0
 public SettingTab()
 {
     this.InitializeComponent();
     vm = new SettingTabViewModel();
     this.DataContext = vm;
 }