コード例 #1
0
ファイル: BenefitDebtsView.cs プロジェクト: u4097/SQLScript
 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();
         }
     }
 }
コード例 #2
0
ファイル: BenefitDebtsView.cs プロジェクト: u4097/SQLScript
 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();
     }
 }