Exemplo n.º 1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Terminal mf = new Terminal();
     Application.Run();
     return;
 }
Exemplo n.º 2
0
 public ComPort(WithEvents ev, string PortName, Terminal term) 
 {
     this.Port = new SerialPort(ev, PortName);
     this.term = term;
 }