Example #1
0
 public Form1()
 {
     InitializeComponent();
     initRecptComponent();
     initCameraComponent();
     initMainPanelQueryComponent();
     showRecptComponent();
     issue_name_itemNo1.Event_ItemNo       += new issue_name_itemNo.Del_ItemNo(issue1_Event_ItemNo);
     recpt_name_itemNo1.Event_recpt_ItemNo += new recpt_name_itemNo.Del_recpt_ItemNo(recpt_Event_ItemNo);
     event_control_close += new control_close(camerDriver1.camerDriver_Closed);
     event_control_show  += new control_show(camerDriver1.camerDriver_Open);
     MySqlSimpleOper.SetServerIp("127.0.0.1");
     //
     preMySql();
 }
Example #2
0
 public Form1()
 {
     InitializeComponent();
     initRecptComponent();
     initCameraComponent();
     initMainPanelQueryComponent();
     showRecptComponent();
     issue_name_itemNo1.Event_ItemNo += new issue_name_itemNo.Del_ItemNo(issue1_Event_ItemNo);
     recpt_name_itemNo1.Event_recpt_ItemNo += new recpt_name_itemNo.Del_recpt_ItemNo(recpt_Event_ItemNo);
     event_control_close += new control_close(camerDriver1.camerDriver_Closed);
     event_control_show += new control_show(camerDriver1.camerDriver_Open);
     MySqlSimpleOper.SetServerIp("127.0.0.1");
     //
     preMySql();
 }