Esempio n. 1
0
 public FormFondosAlta(FormFondos form_anterior, String id_comunidad_cargado, String id_fondo_cargado)
 {
     InitializeComponent();
     this.id_comunidad_cargado = id_comunidad_cargado;
     this.form_anterior        = form_anterior;
     this.id_fondo_cargado     = id_fondo_cargado;
 }
Esempio n. 2
0
 public FormIniciarFondo(FormFondos form_anterior, String idComunidad, String idFondo)
 {
     InitializeComponent();
     this.idComunidad   = idComunidad;
     this.idFondo       = idFondo;
     this.form_anterior = form_anterior;
 }
Esempio n. 3
0
 public FormIniciarFondo(FormFondos form_anterior, String idComunidad, String idFondo, String ImporteResultado, String idDetalleFondoAnterior)
 {
     InitializeComponent();
     this.idComunidad            = idComunidad;
     this.idFondo                = idFondo;
     this.form_anterior          = form_anterior;
     this.ImporteResultado       = ImporteResultado;
     this.idDetalleFondoAnterior = idDetalleFondoAnterior;
 }
Esempio n. 4
0
        private void fondosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form existe = Application.OpenForms.OfType <Form>().Where(pre => pre.Name.Contains(nombre_comunidad + " Fondos")).SingleOrDefault <Form>();

            if (existe != null)
            {
                existe.WindowState = FormWindowState.Maximized;
                existe.BringToFront();
                //this.Size = new Size(862, 685);
            }
            else
            {
                FondosForms.FormFondos newMDIChild = new FondosForms.FormFondos(id_comunidad.ToString());
                newMDIChild.MdiParent   = this;
                newMDIChild.WindowState = FormWindowState.Maximized;
                newMDIChild.Show();
                //this.Size = new Size(862,685);
            }
        }