public FinishPorductionForm(string userName, DateTime dTime, IMSApiSessionContextStruct _sessionContext, ApplicationConfiguration _config)
 {
     InitializeComponent();
     sessionContext          = _sessionContext;
     config                  = _config;
     lblCaption.Text         = "成 品 入 库";
     this.lblCaption.Font    = new System.Drawing.Font("Segoe UI Symbol", float.Parse(config.lblCaptionsize), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.hook_Main.OnKeyUp += new KeyEventHandler(hook_MainKeyUp);
     hook_Main.InstallHook("1");
     timerCurrentTime.Enabled = true;
     clientSocket             = new SocketClientHandler(this);
 }
Exemplo n.º 2
0
 private void CreateLocator_Load(object sender, EventArgs e)
 {
     clientSocket = new SocketClientHandler();
     config       = new ApplicationConfiguration();
     clientSocket.connect(config.IPAddress, config.Port);
 }
 public UIDRelationUserReport()
 {
     InitializeComponent();
     this.Text    = "UID查询 ( Version:" + Assembly.GetExecutingAssembly().GetName().Version.ToString() + ")";
     clientSocket = new SocketClientHandler(this);
 }
Exemplo n.º 4
0
 public PackBoxNumber()
 {
     InitializeComponent();
     this.Text    = "最小包装数量查询 ( Version:" + Assembly.GetExecutingAssembly().GetName().Version.ToString() + ")";
     clientSocket = new SocketClientHandler();
 }