Esempio n. 1
0
        private async void BtnStartProcess_Click(object sender, EventArgs e)
        {
            // Take SolutionId and ProjectId from dropdown and start processing it...
            // var solutionMaster = (SolutionMaster)DdlLanguage.SelectedItem;
            var projectMaster = (ProjectMaster)DdlProjects.SelectedItem;

            await _clsProjectMaster.StartProjectProcessing(projectMaster.ProjectId).ConfigureAwait(true);

            FormTabControl.SelectTab("tabPage3");
        }
Esempio n. 2
0
 public FloKaptureProcessingAgent()
 {
     try
     {
         CodeVortoAgentApiProcess.StartAgentApi();
         InitializeComponent();
         FormTabControl.SelectTab("tabPage4");
         BindAllSolutions();
     }
     catch (SystemException systemException)
     {
         Console.WriteLine(systemException.Message);
         CodeVortoAgentApiProcess.StopAgentApiProcess();
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception.Message);
         CodeVortoAgentApiProcess.StopAgentApiProcess();
     }
 }