gclib  2.0.8
Communications API for Galil controllers and PLCs
Program.cs
Go to the documentation of this file.
1 
3 using System;
4 using System.Collections.Generic;
5 using System.Linq;
6 using System.Threading.Tasks;
7 using System.Windows.Forms;
8 
9 namespace gclib_example
10 {
11  static class Program
12  {
16  [STAThread]
17  static void Main()
18  {
19  Application.EnableVisualStyles();
20  Application.SetCompatibleTextRenderingDefault(false);
21  Application.Run(new MainForm());
22  }
23  }
24 }
Demonstrates using gclib in a Windows Form, including using a second thread to free the GUI.
Definition: Form1.cs:23