private void btnOK_Click(object sender, EventArgs e) { DialogResult result = BrowserForNUnitBinariesDialog.ShowDialog(); if (result == DialogResult.OK) { location = BrowserForNUnitBinariesDialog.SelectedPath; } else { location = string.Empty; } if (browsingType == BrowseForNunitDialogType.libraries) { Settings.Default.UnitBinariesDirectory = location; Settings.Default.Save(); } else if (browsingType == BrowseForNunitDialogType.console) { Settings.Default.UnitConsoleDirectory = location; Settings.Default.Save(); } this.Close(); }
private void btnOK_Click(object sender, EventArgs e) { DialogResult result = BrowserForNUnitBinariesDialog.ShowDialog(); if (result == DialogResult.OK) { location = BrowserForNUnitBinariesDialog.SelectedPath; } else { location = string.Empty; } SessionPrivatePartCoverValueHolder = location; this.Close(); }
private void btnOK_Click(object sender, EventArgs e) { DialogResult result = BrowserForNUnitBinariesDialog.ShowDialog(); if (result == DialogResult.OK) { location = BrowserForNUnitBinariesDialog.SelectedPath; this.coverageFramework.BinariesDirectory = location; } else { location = string.Empty; } this.Close(); }
private void btnOK_Click(object sender, EventArgs e) { DialogResult result = BrowserForNUnitBinariesDialog.ShowDialog(); if (result == DialogResult.OK) { location = BrowserForNUnitBinariesDialog.SelectedPath; Settings.Default.UnitBinariesDirectory = location; Settings.Default.Save(); } else { location = string.Empty; } this.Close(); }