Пример #1
0
        private void checkBox2_CheckedChanged(object sender, EventArgs e)
        {
            int result;

            if (chkBuzzer.Checked)
            {
                lbInfo.Items.Add("YLE280_BuzzerOn()");
                result = RF_YLE280U.YLE280_BuzzerOn();
            }
            else
            {
                lbInfo.Items.Add("YLE280_BuzzerOff()");
                result = RF_YLE280U.YLE280_BuzzerOff();
            }
            lbInfo.Items.Add("返回值: " + result.ToString());
        }