Beispiel #1
0
        private void sora1_CheckedChanged(object sender, EventArgs e)
        {
            string code = "0 027F6A88 005A";

            if (sora1.Checked)
            {
                NCInterface.ConstCodeRemove(sor2);
                NCInterface.ConstCodeRemove(sor3);
                NCInterface.ConstCodeRemove(sor4);
                NCInterface.ConstCodeRemove(sor5);
                NCInterface.ConstCodeRemove(sor6);
                NCInterface.ConstCodeRemove(sor7);
                NCInterface.ConstCodeRemove(sor8);
                NCInterface.ConstCodeRemove(sor9);
                NCInterface.ConstCodeRemove(sor10);
                NCInterface.ConstCodeRemove(sor11);
                NCInterface.ConstCodeRemove(sor12);
                NCInterface.ConstCodeRemove(sor13);
                NCInterface.ConstCodeRemove(sor14);
                NCInterface.ConstCodeRemove(sor15);
                NCInterface.ConstCodeRemove(sor16);
                NCInterface.ConstCodeRemove(sor17);
                NCInterface.ConstCodeRemove(sor18);

                sor1 = NCInterface.ConstCodeAdd(code, true);
            }
            else
            {
                NCInterface.ConstCodeRemove(sor1);
            }
        }