public static FrmInformacion Instance() { if (frmInstance == null || frmInstance.IsDisposed == true) { frmInstance = new FrmInformacion(); } frmInstance.BringToFront(); return(frmInstance); }
private void tsmInformacion_Click(object sender, EventArgs e) { try { var frmInformacion = FrmInformacion.Instance(); frmInformacion.MdiParent = this; frmInformacion.StartPosition = FormStartPosition.CenterScreen; frmInformacion.Show(); } catch (Exception ex) { Util.ErrorMessage(ex.Message); } }