コード例 #1
0
        private void AddSupplemental_Click(object sender, RoutedEventArgs e)
        {
            if (Starship.Hull == null)
            {
                MessageBox.Show("Need to pick a hull first!");
                return;
            }
            SupplementalWindow dialog = new SupplementalWindow(Starship, loader);

            dialog.ShowDialog();
            ClearSupplementals();
            RefillSupplementals();
            UpdateSupplementals();
        }
コード例 #2
0
 private void AddSupplemental_Click(object sender, RoutedEventArgs e)
 {
     if (Starship.Hull == null)
     {
         MessageBox.Show("Need to pick a hull first!");
         return;
     }
     SupplementalWindow dialog = new SupplementalWindow(Starship, loader);
     dialog.ShowDialog();
     ClearSupplementals();
     RefillSupplementals();
     UpdateSupplementals();
 }