/**
  *  Choose Tunnel from the database.
  */
 private void btnChooseTunnel_Click(object sender, EventArgs e)
 {
     var dlg = new SelectWorkingFaceDlg();
     if (DialogResult.OK != dlg.ShowDialog()) return;
     var workingFace = dlg.SelectedWorkingFace;
     cbxWorkingface.Items.Add(workingFace);
     cbxWorkingface.SelectedItem = workingFace;
     WriteRecentWorkingFaceXml();
 }
Beispiel #2
0
        /**
         *  Choose Tunnel from the database.
         */
        private void btnChooseTunnel_Click(object sender, EventArgs e)
        {
            var dlg = new SelectWorkingFaceDlg();

            if (DialogResult.OK != dlg.ShowDialog())
            {
                return;
            }
            var workingFace = dlg.SelectedWorkingFace;

            cbxWorkingface.Items.Add(workingFace);
            cbxWorkingface.SelectedItem = workingFace;
            WriteRecentWorkingFaceXml();
        }