Exemple #1
0
        public static InterpretesForm GetInstancia()
        {
            if (instancia == null)
            {
                instancia             = new InterpretesForm();
                instancia.FormClosed += form_Close;
            }

            return(instancia);
        }
        private void ManejarInterpretes()
        {
            InterpretesForm frm = InterpretesForm.GetInstancia(DI.Create <IServicioInterprete>());

            frm.MdiParent   = this;
            frm.WindowState = FormWindowState.Maximized;
            frm.Dock        = DockStyle.Fill;


            frm.Show();
        }
Exemple #3
0
 private static void form_Close(object sender, FormClosedEventArgs e)
 {
     instancia = null;
 }