コード例 #1
0
 private void buttonEx1_Click(object sender, EventArgs e)
 {
     if (getKeys)
     {
         if (Checksum.CheckRegiterKeysIsValid(superPassword.Text.ToUpper(), label6.Text.ToUpper()))
         {
             panel1.Enabled = true;
             cfgSaved       = true;
             Common.ReportCmdKeyProgress(CmdKey.S0034);
         }
         else
         {
             Common.ReportCmdKeyProgress(CmdKey.S0033);
             panel1.Enabled = false;
         }
     }
     buttonEx2_Click(this, null);
     superPassword.Text = string.Empty;
 }