public bool StartArchiveDialog(IWin32Window owner, GitRevision revision) { return DoAction(owner, true, PreArchive, PostArchive, () => { using (var form = new FormArchive(this)) { form.SelectedRevision = revision; form.ShowDialog(owner); } return true; } ); }
public bool StartArchiveDialog() { if (!InvokeEvent(PreArchive)) return true; FormArchive form = new FormArchive(); form.ShowDialog(); InvokeEvent(PostArchive); return false; }
public bool StartArchiveDialog(IWin32Window owner) { if (!RequiresValidWorkingDir()) return false; if (!InvokeEvent(owner, PreArchive)) return true; var form = new FormArchive(); form.ShowDialog(owner); InvokeEvent(owner, PostArchive); return false; }
public bool StartArchiveDialog(IWin32Window owner) { return DoAction(owner, true, PreArchive, PostArchive, () => { using (var form = new FormArchive(this)) form.ShowDialog(owner); return true; } ); }