示例#1
0
 void Frm_disclaimFormClosing(object sender, FormClosingEventArgs e)
 {
     if (!agree)
     {
         Environment.Exit(0);
     }
     else
     {
         SettingConfUtils.SetConfig("ShowLicenseStartup", checkBox1.Checked);
     }
 }
示例#2
0
 void Button1Click(object sender, EventArgs e)
 {
     agree = true;
     SettingConfUtils.SetConfig("ShowLicenseStartup", checkBox1.Checked);
     Close();
 }