예제 #1
0
        public MacroForm(int id, SpiderController s)
        {
            this.macroId             = id;
            this.macro               = "";
            this.s                   = s;
            this.s.OnMacroInterrupt += CloseOnPaddle;

            InitializeComponent();
        }
예제 #2
0
        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;
        }