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