private void mBrowseDepotBtn_Click(object sender, EventArgs e) { checkConnect(); DepotPathDlg dlg = new DepotPathDlg(rep); if (dlg.ShowDialog() == DialogResult.OK) { mSolutionPath.Text = dlg.SelectedFile; int lastChange = GetLastChange(); mLastChangeLbl.Text = lastChange.ToString(); changeAtLastBuild = lastChange; // start the monitor MonitorChangesThread = new Thread(new ThreadStart(MonitorThreadProc)); MonitorChangesThread.IsBackground = true; MonitorChangesThread.Start(); } }
private void mBrowseDepotBtn_Click(object sender, EventArgs e) { checkConnect(); DepotPathDlg dlg = new DepotPathDlg(rep); if (dlg.ShowDialog() == DialogResult.OK) { mSolutionPath.Text = dlg.SelectedFile; int lastChange = GetLastChange(); mLastChangeLbl.Text = lastChange.ToString(); changeAtLastBuild = lastChange; // start the monitor MonitorChangesThread = new Thread(new ThreadStart(MonitorThreadProc)); MonitorChangesThread.IsBackground = true; MonitorChangesThread.Start(); } }