public static string askUserForFileToOpen(this Control control, string baseDirectory, string filter)
 {
     return((string)control.invokeOnThread(
                () => O2Forms.askUserForFileToOpen(baseDirectory, filter)));
 }
Beispiel #2
0
 public static string open(this DesignerCanvas designerCanvas)
 {
     return(designerCanvas.open(O2Forms.askUserForFileToOpen(Environment.CurrentDirectory)));
 }
 public static string askUserForFileToOpen(this Control control)
 {
     return((string)control.invokeOnThread(
                () => O2Forms.askUserForFileToOpen()));
 }