- using System;
- namespace CSharpSerialPort
- {
- public delegate void TextChangedHandler(string s);
- public class cResult
- {
- public string Result1 = "";
- public string Result2 = "";
- public event TextChangedHandler TextChanged;
- public void ChangeText(string s)
- {
- if(TextChanged != null)
- TextChanged(s);
- }
- }
- }