private void Almacenar() { clsPortConfig objConfig = new clsPortConfig(); objConfig.Write(idPort, 9600); //CAMBIAR frmApp.InitLectura(); Close(); }
public void InitLectura() { clsPortConfig objConfig = new clsPortConfig(); Verificar(objConfig.GetPort()); SPortObject.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(RecibirCtres); }