static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Spy spy = new Spy(); Form form1 = new Form1(); spy.regist(form1); Application.Run(form1); }
public SpyViewer(Spy model) { this.model = model; this.Visible = true; InitializeComponent(); }
public EventListener(Spy owner, string eventName) { this.owner = owner; this.eventName = eventName; }