private void lbRepo_DoubleClick(object sender, EventArgs e) { if (lbLog.SelectedIndex == -1) { return; } var rb = new RepoBusiness(txtPasta.Text + lbLog.SelectedItem.ToString()); rb.RunGitBash(); }
private void gitBashToolStripMenuItem_Click(object sender, EventArgs e) { var rb = new RepoBusiness(txtPasta.Text + lbLog.SelectedItem.ToString()); rb.RunGitBash(); }