public FileSelectionDialog (string title, FileSelectionEventHandler fileSelectedHandler) { if(fileSelectedHandler == null) throw new Exception ("FileSelectionDialog fileSelectedHandler is null"); caption = title; fh = fileSelectedHandler; Show (); }
public FileSelectionDialog (string title, FileSelectionEventHandler fileSelectedHandler) { window = new FileSelection (title); window.OkButton.Clicked += new EventHandler (OnFileSelectionOk); window.CancelButton.Clicked += new EventHandler (OnFileSelectionCancel); if(fileSelectedHandler == null) throw new Exception ("FileSelectionDialog fileSelectedHandler is null"); fh = fileSelectedHandler; window.ShowAll (); }
public FileSelectionDialog(string title, FileSelectionEventHandler fileSelectedHandler) { if (fileSelectedHandler == null) { throw new Exception("FileSelectionDialog fileSelectedHandler is null"); } caption = title; fh = fileSelectedHandler; Show(); }
public FileSelectionDialog(string title, FileSelectionEventHandler fileSelectedHandler) { window = new FileSelection(title); window.OkButton.Clicked += new EventHandler(OnFileSelectionOk); window.CancelButton.Clicked += new EventHandler(OnFileSelectionCancel); if (fileSelectedHandler == null) { throw new Exception("FileSelectionDialog fileSelectedHandler is null"); } fh = fileSelectedHandler; window.ShowAll(); }