Beispiel #1
0
 private static void Main()
 {
     try
     {
         Application.EnableVisualStyles();
         Application.SetCompatibleTextRenderingDefault(false);
         Application.Run(new FloKaptureProcessingAgent());
         // CodeVortoAgentApiProcess.StopAgentApiProcess();
     }
     catch (Exception exception)
     {
         Console.WriteLine(exception.Message);
         CodeVortoAgentApiProcess.StopAgentApiProcess();
     }
 }
Beispiel #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();
     }
 }
Beispiel #3
0
 private void BtnCancel_Click(object sender, EventArgs e)
 {
     CodeVortoAgentApiProcess.StopAgentApiProcess();
     Close();
 }
Beispiel #4
0
 private void FloKaptureProcessingAgent_FormClosing(object sender, FormClosingEventArgs e)
 {
     CodeVortoAgentApiProcess.StopAgentApiProcess();
 }
Beispiel #5
0
 protected override void OnClosed(EventArgs e)
 {
     base.OnClosed(e);
     CodeVortoAgentApiProcess.StopAgentApiProcess();
 }