コード例 #1
0
 /// <summary>
 /// 窗体加载时 初始化时钟 并且 打开菜单窗体
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void FrmParent_Load(object sender, EventArgs e)
 {
     if (!Init())
     {
         Application.Exit();
         return;
     }
     LoadLocalData();
     //tmTime_Tick(sender, e);
     tmUpload.Interval = 3000;
     //if (! UCNodeScan._IsCameraActive)
     //    UCNodeScan._IsCameraActive = UnitechDSDll.OpenCamera(pbPreview.Handle, 3, 3, 400, 300, 1024, 768);
     OpenForm(PageState.Main);
     CheckInputPnl(false);
     CustomerServer.AddCustomersCountyId();
     HuadongTmsOrderServer.AddTMSOrderOptAt();
     BaseServer.AddTable_c2lp_optRecord();
     BaseServer.AddTable_c2lp_consignor();
     BaseServer.AddTable_c2lp_storage_scan();
     BaseServer.AddNode_ParentStorageId();
     BaseServer.AddLinkType();
     BaseServer.AddLinkRegex();
     BaseServer.AddConsignorId();
     BaseServer.AddColunmForScanRecord();
     BaseServer.AddColunmForScanRecord1();
     BaseServer.AddColunmForScanRecord2();
 }