public AccountServiceJournalAddChangeForm(Jn jn)
     : this()
 {
     this.m_Jn = jn;
 }
 public AccountServiceJournalBenefitsForm(Jn jn)
     : this()
 {
     this.m_Jn = jn;
 }
Example #3
0
 public void UpdateJn(Jn jn)
 {
     Mappers.JnMapper.UpdateJn(jn);
 }
 public AccountServiceJournalBenefitsForm()
 {
     this.m_Jn = Jn.Null;
     this.m_JnBenefit = JnBenefit.Null;
     this.InitializeComponent();
 }
 private void tsbJournalInsert_Click(object sender, System.EventArgs e)
 {
     if (this.m_accountService == AccountService.Null)
     {
         this.bsJn.Clear();
     }
     else
     {
         Jn jn = new Jn {
             AccountServiceId = this.m_accountService.Id,
             AccountId = this.m_accountService.AccountId
         };
         AccountServiceJournalAddChangeForm form = new AccountServiceJournalAddChangeForm(jn);
         if (form.ShowDialog() == System.Windows.Forms.DialogResult.Yes)
         {
             this.bsJn.Add(jn);
             this.bsJn.set_Sort(this.bsJn.get_Sort());
             this.bsJn.set_Position(this.bsJn.IndexOf(jn));
         }
     }
 }