public MacroForm(int id, SpiderController s) { this.macroId = id; this.macro = ""; this.s = s; this.s.OnMacroInterrupt += CloseOnPaddle; InitializeComponent(); }
public MainForm() { this.s = new SpiderController(); InitializeComponent(); this.notifyIcon1.Icon = this.Icon; this.s.OnSpiderStatusChange += this.StatusChanged; this.toolStripStatusLabel1.Text = "Spider keyer not connected"; this.notifyIcon1.Text = this.Text = Application.ProductName; }