示例#1
0
        private void OrgGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            var form   = new OrganizationSingle(SelectedOrganization());
            var result = form.ShowDialog();

            if (result == DialogResult.Yes)
            {
                OrganizationsData.RenewDataTable();
            }
        }
示例#2
0
        private void NewCompany_Click(object sender, EventArgs e)
        {
            OrganizationSingle form = new OrganizationSingle();
            var result = form.ShowDialog();

            Show();
            if (result == DialogResult.Yes)
            {
                OrganizationsData.RenewDataTable();
            }
        }