Пример #1
0
        private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
        {
            frmCadastrarConvenio form = new frmCadastrarConvenio();

            if (form.ShowDialog() == DialogResult.OK)
            {
                this.binding();
            }
        }
Пример #2
0
        private void btnAtualizar_Click(object sender, EventArgs e)
        {
            frmCadastrarConvenio form = new frmCadastrarConvenio();

            form.objeto = (Convenio)bsConvenio.Current;

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