|
|
@ -26,7 +26,15 @@ namespace Rs.MotionPlat
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
|
|
//Application.Run(new FormIO2());
|
|
|
|
//Application.Run(new FormIO2());
|
|
|
|
Application.Run(new Home());
|
|
|
|
if (System.Diagnostics.Process.GetProcessesByName(System.Diagnostics.Process.GetCurrentProcess().ProcessName).Length > 1)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Msg.ShowInfo("Anther application is running");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Application.Run(new Home());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|