Inheritance: System.Windows.Forms.Form
Esempio n. 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);
     }
 }
Esempio n. 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;
     }
 }