Esempio n. 1
0
        private void wizardPage5_CloseFromNext(object sender, Gui.Wizard.PageEventArgs e)
        {
            //start
            FrmMonitor monForm = new FrmMonitor();

            this.Hide();
            OlaParser pars = new OlaParser(GetDBConnection(lstDB.SelectedItem as string), (cmbOLAComp.SelectedItem as OlaComp).Id, (cmbOLAEtapp.SelectedItem as OlaComp).Id);

            monForm.SetParser(pars as IExternalSystemResultParser);
            monForm.CompetitionID = Convert.ToInt32(txtCompID.Text);
            monForm.ShowDialog(this);
        }
Esempio n. 2
0
 private void wizardPage5_CloseFromNext(object sender, Gui.Wizard.PageEventArgs e)
 {
     StoreSettings();
     //start
     FrmMonitor monForm = new FrmMonitor();
     this.Hide();
     OlaParser pars = new OlaParser(GetDBConnection(lstDB.SelectedItem as string), (cmbOLAComp.SelectedItem as OlaComp).Id, (cmbOLAEtapp.SelectedItem as OlaComp).Id);
     monForm.SetParser(pars as IExternalSystemResultParser);
     monForm.CompetitionID = Convert.ToInt32(txtCompID.Text);
     monForm.ShowDialog(this);
 }