コード例 #1
0
        private void btnNovoMedico_Click(object sender, EventArgs e)
        {
            frmCadastrarMedico form = new frmCadastrarMedico();

            if (form.ShowDialog() == DialogResult.OK)
            {
                this.binding();
            }
        }
コード例 #2
0
        private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
        {
            frmCadastrarMedico form = new frmCadastrarMedico();

            if (form.ShowDialog() == DialogResult.OK)
            {
                this.binding();
            }
        }
コード例 #3
0
        private void btnAtualizar_Click(object sender, EventArgs e)
        {
            frmCadastrarMedico form = new frmCadastrarMedico();

            form.Medico = (Medico)bsMedico.Current;

            if (form.ShowDialog() == DialogResult.OK)
            {
                this.binding();
            }
        }