예제 #1
0
        private void btnBuscaCliente_Click(object sender, EventArgs e)
        {
            clienteListaFrm frm = new clienteListaFrm();

            frm.ShowDialog();
            if (frm.DialogResult == DialogResult.OK)
            {
                setDadosCliente(frm.getCliente());
            }
        }
예제 #2
0
        private void btnListar_Click(object sender, EventArgs e)
        {
            clienteListaFrm frm = new clienteListaFrm();

            frm.ShowDialog();
            if (frm.DialogResult == DialogResult.OK)
            {
                setDadosCliente(frm.getCliente());
                botaoAlterarExcluir();
            }
        }