private void clienteToolStripMenuItem1_Click(object sender, EventArgs e) { frmConsultaCliente objConClie = new frmConsultaCliente(); //objConClie.MdiParent = this; objConClie.Show(); }
private void btPesqClie_Click(object sender, EventArgs e) { frmConsultaCliente f = new frmConsultaCliente(); f.btDel.Visible = false; f.btEdit.Visible = false; f.btRpt.Visible = true; f.ShowDialog(); txtCodC.Text = GlobalVar.VarGlobal.ToString(); }