Example #1
0
        void btnReplayLastPkt_Click(object sender, EventArgs e)
        {
            EIBAddressTreeNodeConf n = this.treeView1.SelectedNode as EIBAddressTreeNodeConf;

            if (n == null || n.Details == null)
            {
                //Error
                return;
            }
            Cursor.Current = Cursors.WaitCursor;
            if (!ConsoleAPI.SendAddrCmd(n.Details, ConsoleAPI.BlockingMode.WAIT_FOR_CONFIRM))
            {
                //Error
            }
            Cursor.Current = Cursors.Default;
        }