Example #1
0
 /// <summary>
 /// 隐藏 按任务号拣货
 /// </summary>
 public void HidePickingByTaskID()
 {
     if (this.ucPickingByTaskID != null && this.Controls.IndexOf(this.ucPickingByTaskID) > -1)
     {
         this.ucPickingByTaskID.Visible = false;
         this.ucPickingByTaskID         = null;
         this.Controls.Remove(this.ucPickingByTaskID);
     }
 }
Example #2
0
 /// <summary>
 /// 显示 按任务号拣货
 /// </summary>
 public void ShowPickingByTaskID()
 {
     if (this.Controls.IndexOf(this.ucPickingByTaskID) < 0)
     {
         this.ucPickingByTaskID          = new SCM.RF.Client.Tool.Controls.Picking.UCPickingByTaskID(this);
         this.ucPickingByTaskID.Location = new System.Drawing.Point(10, 30);
         this.ucPickingByTaskID.Name     = "ucPickingByTaskID";
         this.ucPickingByTaskID.Size     = new System.Drawing.Size(300, 260);
         this.ucPickingByTaskID.TabIndex = 1;
         this.ucPickingByTaskID.TabStop  = false;
         this.Controls.Add(this.ucPickingByTaskID);
     }
     this.ucPickingByTaskID.Visible = true;
     this.ucPickingByTaskID.BringToFront();
     this.ucPickingByTaskID.Init(EnHookType.G2);
     this.ucPickingByTaskID.Init(this.RemoteServer, this.UserViewEntity);
     this.ucPickingByTaskID.LoadData();
     this.ucPickingByTaskID.Init();
 }