private void button2_Click(object sender, EventArgs e) { FormCadastrarCliente cadastrarCliente = new FormCadastrarCliente(); cadastrarCliente.ControlBox = true; cadastrarCliente.Show(); }
private void cadastrarClienteToolStripMenuItem_Click(object sender, EventArgs e) { FormCadastrarCliente cadastrarCliente = new FormCadastrarCliente(); cadastrarCliente.MdiParent = this; cadastrarCliente.Show(); }