Пример #1
0
 private void ConsultaDeRentaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //Consulta de Renta
     if (frm_consulta_renta == null)
     {
         frm_consulta_renta             = new consulta_renta();
         frm_consulta_renta.MdiParent   = this;
         frm_consulta_renta.FormClosed += new FormClosedEventHandler(frm_consulta_renta_FormClosed);
         frm_consulta_renta.Show();
     }
     else
     {
         frm_consulta_renta.Activate();
     }
 }
Пример #2
0
 private void frm_consulta_renta_FormClosed(Object sender, FormClosedEventArgs e)
 {
     frm_consulta_renta = null;
 }