private void window_Loaded(object sender, RoutedEventArgs e) { vm = new CIAViewModel(this); m = new CIAModel(this); StartDialog sd = new StartDialog(this); sd.Owner = this; sd.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner; sd.Visibility = Visibility.Visible; }
public CIAViewModel(ConquerItAllView CIA) { _CIA = CIA; CIAM = new CIAModel(_CIA); }
public List <Territory> GetTerritoryList() { return(CIAModel.GetTerritoryList()); }