Пример #1
0
 private void frmDonate_FormClosed(object sender, EventArgs e)
 {
     if (chkPopup.Checked)
     {
         RegConfig.SetStringValue("DemoShowDonate", "0");
     }
     else
     {
         RegConfig.SetStringValue("DemoShowDonate", "1");
     }
 }
Пример #2
0
        public static void Main()
        {
            if (RegConfig.GetStringValue("DemoShowDonate", "1") == "1")
            {
                frmDonate frmDon = new frmDonate();
                frmDon.ShowDialog();
                frmDon.Dispose();
            }

            frmSamples frm = new frmSamples();

            frm.ShowDialog();
            frm.Dispose();
        }
Пример #3
0
 private void frmDonate_Load(object sender, System.EventArgs e)
 {
     lstAmount.SelectedIndex = 2;
     chkPopup.Checked        = RegConfig.GetStringValue("DemoShowDonate", "1") == "0";
 }