spc-kiosk-pb/WinEtc/NewPosInstaller/Process/_IEcho.cs
2019-06-16 14:12:09 +09:00

22 lines
486 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NewPosInstaller
{
public interface IEcho
{
event EchoEventHandler EchoHandler;
void OnEcho(string args);
}
public delegate void EchoEventHandler(string args);
public class Echo : IEcho
{
public event EchoEventHandler EchoHandler;
public void OnEcho(string args) { if (this.EchoHandler != null) this.EchoHandler(args); }
}
}