Example #1
0
 private void addModelBtn_Click(object sender, EventArgs e)
 {
     using (var modelForm = new ModelSelectForm(null, 0))
     {
         if (modelForm.ShowDialog() == DialogResult.OK)
         {
             modelPathsBox.AppendText(modelForm.selectedModel + Environment.NewLine);
         }
     }
 }
 private void entry3Model1_Click(object sender, EventArgs e)
 {
     using (var modelForm = new ModelSelectForm(entry3Model1, 0))
     {
         if (modelForm.ShowDialog() == DialogResult.OK)
         {
             e3m1 = modelForm.selectedModel;
         }
     }
 }