예제 #1
0
 public CustomColumn(CustomColumn org, Visibility showDebitCredit, bool header)
 {
     this.header     = header;
     this.amount     = org.amount;
     this.index      = org.index;
     ShowDebitCredit = showDebitCredit;
     ShowAmount      = ShowDebitCredit == Visibility.Visible ? Visibility.Collapsed : Visibility.Visible;
 }
예제 #2
0
 public CustomColumn(CustomColumn org, Visibility showDebitCredit, bool hide, int aWidth, bool header) : this(org, showDebitCredit, header)
 {
     AmountWidth = (aWidth * 2);
     if (hide)
     {
         ShowDebitCredit = ShowAmount = Visibility.Collapsed;
     }
 }