Example #1
0
 public EncendidoLuz(SerialPort serialPort, ControlGeneral formcontrol)
 {
     InitializeComponent();
     this.serialPort       = serialPort;
     pictureBox1.BackColor = Color.Black;
     this.MdiParent        = formcontrol;
 }
Example #2
0
 public MonitorTemperatura(SerialPort serialPort, ControlGeneral controlGeneral)
 {
     InitializeComponent();
     this.serialPort = serialPort;
     this.MdiParent  = controlGeneral;
     controlGeneral.guardarToolStripMenuItem.Click += new System.EventHandler(this.guardarToolStripMenuItem_Click);
 }
Example #3
0
 public MonitorTemperatura(SerialPort serialPort, ControlGeneral controlGeneral)
 {
     InitializeComponent();
     this.serialPort = serialPort;
     this.MdiParent  = controlGeneral;
 }
 public ControlLuz(SerialPort puertoserial, ControlGeneral control)
 {
     InitializeComponent();
     this.puertoserial = puertoserial;
     this.MdiParent    = control;
 }