コード例 #1
0
ファイル: Program.cs プロジェクト: y2ket/DoorManaging-Csharp
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.ThreadExit += new EventHandler(Application_ThreadExit);
     HardDeviceManaging.Initial();
     Application.Run(new Forms.MainWithGrid());
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: y2ket/DoorManaging-Csharp
 static void Application_ThreadExit(object sender, EventArgs e)
 {
     HardDeviceManaging.PortClose();
 }