Exemplo n.º 1
0
 public DebtActionAddChangeForm(DebtAction debtAction)
     : this()
 {
     this.m_DebtAction = debtAction;
 }
Exemplo n.º 2
0
 private void bsDebtActionsChangedSelect()
 {
     if (this.m_debtAffair == DebtAffair.Null)
     {
         this.m_selectDebtAction = DebtAction.Null;
     }
     else
     {
         this.m_selectDebtAction = (this.bsDebtActions.get_Current() as DebtAction) ?? DebtAction.Null;
     }
     this.bsDebtActionNoticesFill();
     this.bsDebtActionDiffFill(true);
 }
Exemplo n.º 3
0
 public DebtActionAddChangeForm()
 {
     this.m_DebtAction = DebtAction.Null;
     this.InitializeComponent();
 }
Exemplo n.º 4
0
 private void tsbDebtActionAdd_Click(object sender, System.EventArgs e)
 {
     if (this.m_debtAffair != DebtAffair.Null)
     {
         DebtAction debtAction = new DebtAction {
             DebtAffairId = this.m_debtAffair.Id
         };
         DebtActionAddChangeForm form = new DebtActionAddChangeForm(debtAction);
         if (form.ShowDialog() == System.Windows.Forms.DialogResult.Yes)
         {
             this.bsDebtActions.Add(debtAction);
             this.bsDebtActions.set_Sort(this.bsDebtActions.get_Sort());
             this.bsDebtActions.set_Position(this.bsDebtActions.IndexOf(debtAction));
         }
     }
 }