private void tsbChange_Click(object sender, System.EventArgs e)
 {
     OrganizationCommission organizationCommission = (this.bsOrganizationCommisions.get_Current() as OrganizationCommission) ?? OrganizationCommission.Null;
     if (organizationCommission == OrganizationCommission.Null)
     {
         System.Windows.Forms.MessageBox.Show("Выберите запись");
     }
     else
     {
         OrganizationCommissionAddChangeForm form = new OrganizationCommissionAddChangeForm(organizationCommission);
         if (form.ShowDialog(this) != System.Windows.Forms.DialogResult.Cancel)
         {
             this.bsOrganizationCommisions.set_DataSource(this.m_Organization.GetOrganizationCommissions());
         }
     }
 }
 private void tsbAdd_Click(object sender, System.EventArgs e)
 {
     if (this.selectOrganization.SelectedOrganization == Organization.Null)
     {
         Messages.ShowMessage("Выберите организацию");
     }
     else
     {
         OrganizationCommission organizationCommission = new OrganizationCommission {
             OrganizationId = this.m_Organization.Id
         };
         OrganizationCommissionAddChangeForm form = new OrganizationCommissionAddChangeForm(organizationCommission);
         if (form.ShowDialog(this) != System.Windows.Forms.DialogResult.Cancel)
         {
             this.bsOrganizationCommisions.set_DataSource(this.m_Organization.GetOrganizationCommissions());
         }
     }
 }