private void toolStripButton_PesquisarC_Click(object sender, EventArgs e) { SelecionarCliente novo = new SelecionarCliente(); novo.ShowDialog(); textBox_Cliente.Text = new LocacaoService().BuscarCliente(novo.CodigoCliente); codCliente = novo.CodigoCliente; if (textBox_Cliente.Text != "") { textBox_Cliente.BackColor = Color.PaleGreen; } }
private void toolStripButton_PesquisarC_Click(object sender, EventArgs e) { SelecionarCliente novo = new SelecionarCliente(); novo.Show(); }