예제 #1
0
 private void AddItemDialog(MeshType type)
 {
     using (AddItemWithStepsDialog dlg = new AddItemWithStepsDialog())
     {
         if (dlg.ShowDialog() == DialogResult.OK)
         {
             AddItem(type, dlg.Steps);
         }
     }
 }
예제 #2
0
 private void AddItemDialog(MeshType type)
 {
     using (AddItemWithStepsDialog dlg = new AddItemWithStepsDialog())
     {
         if (dlg.ShowDialog() == DialogResult.OK)
         {
             AddItem(type, dlg.Steps);
         }
     }
 }