Esempio n. 1
0
 public MoveATub2()
 {
     _mediator  = new MoveATubMediator(this);
     Font       = _ui.Font;
     ClientSize = new Size(920, 334);
     foreach (Control c in Boxes())
     {
         Controls.Add(c);
         c.MouseHover += new  System.EventHandler(_mediator.HoverBox);
     }
     Controls.AddRange(new Control[] {
         MachineList(),
         TubList(),
         TubLabel(),
         AssignButton(),
         MachineLabel()
     });
     Text = "Move a Tub";
     foreach (string s in NameBase.MachineNames())
     {
         MachineList().Items.Add(new ListViewItem(s, 0));
     }
 }