예제 #1
0
        private void btnAlta_Click(object sender, EventArgs e)
        {
            AltaRol alta = new AltaRol();

            alta.Show(this);
            this.Hide();
        }
예제 #2
0
        private void btnAltaRol_Click(object sender, EventArgs e)
        {
            AltaRol form = new AltaRol();

            form.StartPosition = FormStartPosition.CenterScreen;
            form.Show();
            this.Dispose();
        }