static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); g_frmMain = new frmMain(); data = new Database(); server = new TcpIpServer(); formRobot_1 = new formRobotCom_1(); formRobot_2 = new formRobotCom_2(); Application.Run(g_frmMain); //Application.Run(formRobot_1); //Application.Run(formRobot_2); }
private void D2_CAM_Click(object sender, EventArgs e) { formRobotCom_2 formRobot_2 = new formRobotCom_2(); formRobot_2.Show(); }