public bool StartBrowseDialog(IWin32Window owner, string filter) { if (!InvokeEvent(owner, PreBrowse)) { return(false); } using (var form = new FormBrowse(filter)) form.ShowDialog(owner); InvokeEvent(owner, PostBrowse); return(true); }
public bool StartBrowseDialog(string filter) { if (!InvokeEvent(PreBrowse)) { return(false); } var form = new FormBrowse(filter); form.ShowDialog(); InvokeEvent(PostBrowse); return(true); }
public bool StartBrowseDialog(IWin32Window owner, string filter) { if (!InvokeEvent(owner, PreBrowse)) return false; using (var form = new FormBrowse(this, filter)) form.ShowDialog(owner); InvokeEvent(owner, PostBrowse); return true; }