示例#1
0
文件: MainForm.cs 项目: QAsQ/VIDA
        private void 修改状态ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            codeGet codeform = new codeGet();

            codeform.getCode();
            string code = codeform.getcode;

            if (code == null || code == "")
            {
                return;
            }
            if (MainDV.changeLearnState(VCode.VCodetobit(code)) == false)
            {
                MessageBox.Show("该进度代码与当前依赖不匹配,请输入正确的进度代码");
            }
            else
            {
                MainDV.Flash();
            }
        }
示例#2
0
文件: MainForm.cs 项目: QAsQ/VIDA
 private void 修改状态ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     codeGet codeform = new codeGet();
     codeform.getCode();
     string code = codeform.getcode;
     if (code == null || code == "")
         return;
     if(MainDV.changeLearnState(VCode.VCodetobit(code))==false){
         MessageBox.Show("该进度代码与当前依赖不匹配,请输入正确的进度代码");
     }
     else{
         MainDV.Flash();
     }
 }