Exemplo n.º 1
0
        private void chksystem_Click(object sender, EventArgs e)
        {
            if (chksystem.Checked == true)
            {
                FormMima f = new FormMima();
                f.ShowDialog();

                if (f.suc == true)
                {
                    chksystem.Checked = true;
                    grpuser.Visible   = true;
                }
                else
                {
                    chksystem.Checked = false;
                    grpuser.Visible   = false;
                }
            }
        }
Exemplo n.º 2
0
        private void chksafe_Click(object sender, EventArgs e)
        {
            if (chksafe.Checked == true)
            {
                FormMima f = new FormMima();
                f.ShowDialog();

                if (f.suc == true)
                {
                    GlobeVal.mysys.safe = chksafe.Checked;
                }
                else
                {
                    chksafe.Checked = false;
                }
            }
            else
            {
                GlobeVal.mysys.safe = chksafe.Checked;
            }
        }