public bool StartStashDialog() { if (!InvokeEvent(PreStash)) { return(true); } var form = new FormStash(); form.ShowDialog(); InvokeEvent(PostStash); return(true); }
public bool StartStashDialog(IWin32Window owner) { if (!RequiresValidWorkingDir(owner)) { return(false); } if (!InvokeEvent(owner, PreStash)) { return(true); } using (var form = new FormStash()) form.ShowDialog(owner); InvokeEvent(owner, PostStash); return(true); }
public bool StartStashDialog() { if (!RequiresValidWorkingDir()) { return(false); } if (!InvokeEvent(PreStash)) { return(true); } var form = new FormStash(); form.ShowDialog(); InvokeEvent(PostStash); return(true); }
public bool StartStashDialog(IWin32Window owner) { if (!RequiresValidWorkingDir(owner)) return false; if (!InvokeEvent(owner, PreStash)) return true; using (var form = new FormStash(this)) form.ShowDialog(owner); InvokeEvent(owner, PostStash); return true; }
public bool StartStashDialog() { if (!RequiresValidWorkingDir()) return false; if (!InvokeEvent(PreStash)) return true; var form = new FormStash(); form.ShowDialog(); InvokeEvent(PostStash); return true; }
public bool StartStashDialog() { if (!InvokeEvent(PreStash)) return true; FormStash form = new FormStash(); form.ShowDialog(); InvokeEvent(PostStash); return false; }