示例#1
0
文件: MainForm.cs 项目: QAsQ/VIDA
        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);
        }
示例#2
0
文件: MainForm.cs 项目: QAsQ/VIDA
 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);
 }