コード例 #1
0
        private void btnPesquisa_Click(object sender, EventArgs e)
        {
            frmPesquisarPacientes abrir = new frmPesquisarPacientes();

            clnUtil.Temp = txtPesClien.Text;

            abrir.ShowDialog();

            txtPesClien.Text = clnUtil.Temp;

            if (!(txtPesClien.Equals("") || txtPesClien == null))
            {
                comboBox2.Enabled = true;
                PreencherTipoServico();
            }
        }
コード例 #2
0
        private void btnPesquisa_Click(object sender, EventArgs e)
        {
            frmPesquisarPacientes abrir = new frmPesquisarPacientes();

            clnUtil.Temp = txtPesClien.Text;

            abrir.ShowDialog();

            txtPesClien.Text = clnUtil.Temp;

            if (!string.IsNullOrEmpty(txtPesClien.Text))
            {
                comboBox2.Enabled = true;
                PreencherTipoServico();
                PreencherAgendamentos();
            }
        }