Пример #1
0
        private void Index()
        {
            UsuariosIndex index = null;

            index           = UsuariosIndex.Instncia();
            index.MdiParent = MdiAdmin.ActiveForm;
            index.Show();
            this.Close();
        }
Пример #2
0
        private void usuariosToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            UsuariosIndex index = null;

            index           = UsuariosIndex.Instncia();
            index.MdiParent = this;
            index.Show();
            Form frm = this.MdiChildren.FirstOrDefault(x => x is UsuarioEditar || x is UsuariosNuevo);

            if (frm != null)
            {
                frm.Close();
            }
        }