Example #1
0
        private void 获取状态码ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            List <bool> state = MainDV.isLearnState;
            string      bit   = "";

            for (int i = 0; i < state.Count; i++)
            {
                bit += state[i] ? '1' : '0';
            }
            string   vcode    = VCode.BitToVCode(bit);
            ShowCode codeform = new ShowCode();

            codeform.ShowMeCode(vcode);
        }
Example #2
0
 private void 获取状态码ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     List<bool> state = MainDV.isLearnState;
     string bit="";
     for (int i = 0; i < state.Count; i++)
     {
         bit += state[i] ? '1' : '0';
     }
     string vcode = VCode.BitToVCode(bit);
     ShowCode codeform = new ShowCode();
     codeform.ShowMeCode(vcode);
 }