private void toolStrip_lDarts_Click(object sender, EventArgs e)
        {
            cmdHdler = new CmdHandler();
            string states = cmdHdler.connect("lDarts");

            setNewStates(states);
        }
        private void toolStrip_lFloor_Click(object sender, EventArgs e)
        {
            cmdHdler = new CmdHandler();
            string states = cmdHdler.connect("lFloor");

            setNewStates(states);
            toolStrip_lFloor.Checked = lFloor_On;
        }
        public LazyWindow()
        {
            InitializeComponent();

            cmdHdler = new CmdHandler();
            string states = cmdHdler.connect();

            setNewStates(states);
        }
        private void memory2ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            cmdHdler = new CmdHandler();
            string states = cmdHdler.connect("MC2");

            setNewStates(states);
            memory1ToolStripMenuItem.Checked = false;
            memory2ToolStripMenuItem.Checked = true;
        }
        private void volBar_MouseUp(object sender, MouseEventArgs e)
        {
            cmdHdler = new CmdHandler();
            TrackBar tb     = (TrackBar)sender;
            string   volTxt = String.Format("{0:D3}VL", tb.Value);

            string states = cmdHdler.connect(volTxt);

            setNewStates(states);
        }
        private void btn_Click(object sender, EventArgs e)
        {
            Button b = (Button)sender;

            cmdHdler = new CmdHandler();

            string btn = b.Name;

            string states = cmdHdler.connect(btn);

            setNewStates(states);
        }
        private void toolStrip_lAll_Click(object sender, EventArgs e)
        {
            cmdHdler = new CmdHandler();
            string btn = "";

            if (lDesk_On && lFloor_On)
            {
                btn = "lAllOff";
                toolStrip_lDesk.Checked  = false;
                toolStrip_lFloor.Checked = false;
            }
            else
            {
                btn = "lAllOn";
                toolStrip_lDesk.Checked  = true;
                toolStrip_lFloor.Checked = true;
            }

            string states = cmdHdler.connect(btn);

            setNewStates(states);
        }