예제 #1
0
        protected override void OnExecuted(EventArgs e)
        {
            base.OnExecuted(e);

            ShipDesignVM designVM = ShipDesignVM.Create(_gameVM);

            Views.MainWindow mw = (Views.MainWindow)Application.Instance.MainForm.Content;
            mw.AddOrSelectTabPanel("Ship Design", new Views.ShipDesignView(designVM));
        }
예제 #2
0
 public ShipDesignView(ShipDesignVM viewModel) : this()
 {
     ComponentListStack.Items.Add(new ComponentsListView(viewModel.ComponentsDesignedLists));
 }