Exemplo n.º 1
0
        private void btnGuest_Click(object sender, EventArgs e)
        {
            this.Hide();
            ParticpantView openInstance = new ParticpantView();

            openInstance.ShowDialog();
            Environment.Exit(0);
        }
Exemplo n.º 2
0
        private void btnUser_Click(object sender, EventArgs e)
        {
            // Opens the participants registration form.
            this.Hide();
            ParticpantView openInstance = new ParticpantView();

            openInstance.ShowDialog();
            Environment.Exit(0);
        }