コード例 #1
0
 public AccountServiceJournalAddChangeForm(Jn jn)
     : this()
 {
     this.m_Jn = jn;
 }
コード例 #2
0
 public AccountServiceJournalBenefitsForm(Jn jn)
     : this()
 {
     this.m_Jn = jn;
 }
コード例 #3
0
ファイル: Jn.cs プロジェクト: u4097/SQLScript
 public void UpdateJn(Jn jn)
 {
     Mappers.JnMapper.UpdateJn(jn);
 }
コード例 #4
0
 public AccountServiceJournalBenefitsForm()
 {
     this.m_Jn = Jn.Null;
     this.m_JnBenefit = JnBenefit.Null;
     this.InitializeComponent();
 }
コード例 #5
0
 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));
         }
     }
 }