Exemplo n.º 1
0
        // GO BACK
        private void cmdExit_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form Main = new frmMainSection(this.access);

            Main.ShowDialog();
        }
Exemplo n.º 2
0
        private void cmdLogin_Click(object sender, EventArgs e)
        {
            int access = this.ValidateLogin();

            if (access != 9001)
            {
                this.Hide();
                Form Main = new frmMainSection(access);
                Main.ShowDialog();
            }
        }