Inheritance: System.Windows.Forms.Form
Example #1
0
 public DialogResult ShowConfigurationDialog(string folderPath)
 {
     using (var dlg = new ConfigurationDialog(Path.Combine(folderPath, "configuration.htm"), GetLibraryData(), _isolator))
     {
         var result = dlg.ShowDialog(null);
         if (result == DialogResult.OK)
         {
             CollectJsonData(dlg.FormData);
         }
         return(result);
     }
 }
Example #2
0
 public DialogResult ShowConfigurationDialog(string folderPath)
 {
     using (var dlg = new ConfigurationDialog(Path.Combine(folderPath, "configuration.htm"), GetLibraryData()))
     {
         var result = dlg.ShowDialog(null);
         if(result == DialogResult.OK)
         {
             CollectJsonData(dlg.FormData);
         }
         return result;
     }
 }