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; }
public FormIniciarFondo(FormFondos form_anterior, String idComunidad, String idFondo) { InitializeComponent(); this.idComunidad = idComunidad; this.idFondo = idFondo; this.form_anterior = form_anterior; }
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; }
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); } }