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