public bool StartFormatPatchDialog() { if (!InvokeEvent(PreFormatPatch)) { return(true); } var form = new FormFormatPatch(); form.ShowDialog(); InvokeEvent(PostFormatPatch); return(false); }
public bool StartFormatPatchDialog(IWin32Window owner) { if (!RequiresValidWorkingDir(owner)) { return(false); } if (!InvokeEvent(owner, PreFormatPatch)) { return(true); } using (var form = new FormFormatPatch()) form.ShowDialog(owner); InvokeEvent(owner, PostFormatPatch); return(false); }
public bool StartFormatPatchDialog(IWin32Window owner) { if (!RequiresValidWorkingDir(owner)) return false; if (!InvokeEvent(owner, PreFormatPatch)) return true; using (var form = new FormFormatPatch(this)) form.ShowDialog(owner); InvokeEvent(owner, PostFormatPatch); return false; }
public bool StartFormatPatchDialog() { if (!RequiresValidWorkingDir()) return false; if (!InvokeEvent(PreFormatPatch)) return true; var form = new FormFormatPatch(); form.ShowDialog(); InvokeEvent(PostFormatPatch); return false; }
public bool StartFormatPatchDialog() { if (!InvokeEvent(PreFormatPatch)) return true; var form = new FormFormatPatch(); form.ShowDialog(); InvokeEvent(PostFormatPatch); return false; }