Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
        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();
        }