Ejemplo n.º 1
0
 private void tsbEdit_Click(object sender, System.EventArgs e)
 {
     BenefitDebt benefitDebt = this.bsBenefitDebts.get_Current() as BenefitDebt;
     if (benefitDebt != null)
     {
         BenefitDebtAddForm form = new BenefitDebtAddForm(this.m_AccountService, benefitDebt);
         form.ShowDialog(this);
         if (form.DialogResult == System.Windows.Forms.DialogResult.OK)
         {
             this.ReloadBenefitDebts();
         }
     }
 }
Ejemplo n.º 2
0
 private void tsbAdd_Click(object sender, System.EventArgs e)
 {
     BenefitDebtAddForm form = new BenefitDebtAddForm(this.m_AccountService);
     form.ShowDialog(this);
     if (form.DialogResult == System.Windows.Forms.DialogResult.OK)
     {
         this.ReloadBenefitDebts();
     }
 }