private bool StartBlameDialog(IWin32Window owner, string fileName, GitRevision revision, List<string> children) { return DoAction(owner, true, PreBlame, PostBlame, () => { using (var frm = new FormBlame(this, fileName, revision, children)) frm.ShowDialog(owner); return true; } ); }
private bool StartBlameDialog(IWin32Window owner, string fileName, GitRevision revision) { if (!RequiresValidWorkingDir(owner)) return false; if (!InvokeEvent(owner, PreBlame)) return false; using (var frm = new FormBlame(fileName, revision)) frm.ShowDialog(owner); InvokeEvent(owner, PostBlame); return false; }