Esempio n. 1
0
 /// <summary>
 /// 隐藏收货框
 /// </summary>
 public void HideReceive()
 {
     if (this.ucReceive != null && this.Controls.IndexOf(this.ucReceive) > -1)
     {
         this.ucReceive.Visible = false;
         this.ucReceive         = null;
         this.Controls.Remove(this.ucReceive);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 显示收货框
 /// </summary>
 /// <param name="message"></param>
 /// <param name="choise"></param>
 public void ShowReceive()
 {
     if (this.Controls.IndexOf(this.ucReceive) < 0)
     {
         this.ucReceive          = new SCM.RF.Client.Tool.Controls.Receive.UCReceiveMain(this);
         this.ucReceive.Location = new System.Drawing.Point(10, 30);
         this.ucReceive.Name     = "ucReceive";
         this.ucReceive.Size     = new System.Drawing.Size(300, 260);
         this.ucReceive.TabIndex = 1;
         this.ucReceive.TabStop  = false;
         this.Controls.Add(this.ucReceive);
     }
     this.ucReceive.Visible = true;
     this.ucReceive.BringToFront();
     this.ucReceive.Init(EnHookType.D1);
     this.ucReceive.Init(this.RemoteServer, this.UserViewEntity);
     this.ucReceive.Init();
 }