Exemplo n.º 1
0
        private void metroToggle4_CheckedChanged(object sender, EventArgs e)
        {
            Settings1 kmm1 = new Settings1();

            if (metroToggle4.Checked == true)
            {
                setting.svdt = "True";
                setting.Save();
                button1.Show();
                goto exit;
            }
            else
            {
                setting.svdt = "False";
                setting.Save();

                loadForm ff2 = new loadForm();
                ff2.Close();
                kmm1.loaddataform = "False";
                kmm1.Save();


                button1.Hide();
                goto exit;
            }
            exit :;
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Settings1 kmm1 = new Settings1();
            loadForm  ff1  = new loadForm();

            ff1.Show();
            kmm1.loaddataform = "True";
            kmm1.Save();
        }