private void button1_MouseHover(object sender, EventArgs e) { if (button1.Visible) { M_Consultas.BringToFront(); } }
private void pn_consultasS_Click(object sender, EventArgs e) { M_Consultas consultas = new M_Consultas(); consultas.MdiParent = this; consultas.Show(); pn_consultas.Hide(); }
private void M_Consultas_Click(object sender, EventArgs e) { M_Consultas consultas = new M_Consultas(); consultas.MdiParent = this; consultas.Show(); M_Consultas.Enabled = false; }