public static GitModule OpenModule(IWin32Window owner) { using (var open = new Open()) { open.ShowDialog(owner); return open.choosenModule; } }
private void openItem_Click(object sender, EventArgs e) { var open = new Open(); open.ShowDialog(); OnWorkingDirChanged(); }
private void Open_Click(object sender, EventArgs e) { Open open = new Open(); open.ShowDialog(); indexWatcher.Clear(); RevisionGrid.ForceRefreshRevisions(); InternalInitialize(false); indexWatcher.Reset(); }
private void OpenToolStripMenuItemClick(object sender, EventArgs e) { using (Open frm = new Open()) { if (frm.ShowDialog(this) == DialogResult.OK) { WorkingDirChanged(false); } } }
private void openToolStripMenuItem_Click(object sender, EventArgs e) { Open open = new Open(); open.ShowDialog(); Initialize(); }