예제 #1
0
 /// <summary>
 /// 隐藏 拣货页面
 /// </summary>
 public void HideUCPickingByTaskID4()
 {
     if (this.ucPickingByTaskID4 != null && this.Controls.IndexOf(this.ucPickingByTaskID4) > -1)
     {
         this.ucPickingByTaskID4.Visible = false;
         this.ucPickingByTaskID4         = null;
         this.Controls.Remove(this.ucPickingByTaskID4);
     }
 }
예제 #2
0
 /// <summary>
 /// 显示 拣货页面
 /// </summary>
 public void ShowUCPickingByTaskID4(PickViewEntity entity)
 {
     if (this.Controls.IndexOf(this.ucPickingByTaskID4) < 0)
     {
         this.ucPickingByTaskID4          = new SCM.RF.Client.Tool.Controls.Picking.UCPickingByTaskID4(this);
         this.ucPickingByTaskID4.Location = new System.Drawing.Point(10, 30);
         this.ucPickingByTaskID4.Name     = "ucPickingByTaskID4";
         this.ucPickingByTaskID4.Size     = new System.Drawing.Size(300, 260);
         this.ucPickingByTaskID4.TabIndex = 1;
         this.ucPickingByTaskID4.TabStop  = false;
         this.Controls.Add(this.ucPickingByTaskID4);
     }
     this.ucPickingByTaskID4.Visible = true;
     this.ucPickingByTaskID4.BringToFront();
     this.ucPickingByTaskID4.Init(EnHookType.G4);
     this.ucPickingByTaskID4.Init(this.RemoteServer, this.UserViewEntity);
     this.ucPickingByTaskID4.LoadData(entity);
     this.ucPickingByTaskID4.Init();
 }