コード例 #1
0
        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;
        }
コード例 #2
0
 public CIAViewModel(ConquerItAllView CIA)
 {
     _CIA = CIA;
     CIAM = new CIAModel(_CIA);
 }
コード例 #3
0
 public List <Territory> GetTerritoryList()
 {
     return(CIAModel.GetTerritoryList());
 }