public ZonalWindow() { InitializeComponent(); ViewModel = new ZonalViewModel(); ViewModel.InsertCommand.IsEnabled = true; base.DataContext = ViewModel; }
public ZonalListWindow() { InitializeComponent(); ViewModel = new ZonalViewModel(); base.DataContext = ViewModel; ViewModel.DeleteCommand.IsEnabled = true; }