private void ServiƧosToolStripMenuItem1_Click(object sender, EventArgs e) { frmConsultaServico f = new frmConsultaServico(); f.MdiParent = this; f.Show(); }
private void btProcurar_Click(object sender, EventArgs e) { frmConsultaServico f = new frmConsultaServico(true); f.ShowDialog(); if (f.cod != 0) { txtCodServico.Text = f.cod.ToString(); txtCodServico_Leave(sender, e); } }