Ejemplo n.º 1
0
 public My_Equipment(EquipmentControl equipmentControl = null)
 {
     if (equipmentControl != null)
     {
         My_equipmentControl      = equipmentControl;
         My_equipmentControl.Top  = this.Top;
         My_equipmentControl.Left = this.Left + this.Width;
     }
 }
Ejemplo n.º 2
0
        public My_Equipment(IContainer container, EquipmentControl equipmentControl = null)
        {
            container.Add(this);

            if (equipmentControl != null)
            {
                My_equipmentControl      = equipmentControl;
                My_equipmentControl.Top  = this.Top;
                My_equipmentControl.Left = this.Left + this.Width;
            }
        }