Beispiel #1
0
        private void Load_Load(object sender, EventArgs e)
        {
            Load1 Load1 = new Load1();

            Load1.ShowDialog();

            FrmLogin Form = new FrmLogin();

            Form.ShowDialog();

            MessageBox.Show("Bem Vindo!");
        }
Beispiel #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new FrmClientes());
            FrmLogin Login = new FrmLogin();

            Login.ShowDialog();
            if (Login.LiberouUsuario)
            {
                Application.Run(new FrmVazio());
            }
        }
        private void btn_welcome_Click(object sender, EventArgs e)
        {
            FrmLogin login = new FrmLogin();

            login.ShowDialog();
        }