コード例 #1
0
 public BADSSheet(TDocs.AccountsView acctInfo)
 {
     InitializeComponent();
     accountInfo = acctInfo;
     getContactData(acctInfo.bankID_pk);
     getRulesData(acctInfo.accountNumber);
     populateAccountInfo();
 }
コード例 #2
0
 public BADSSheet(TDocs.AccountsView info, List<TDocs.Contacts> contacts, Dictionary<int, List<string>> entitlements,
     Dictionary<int, String> groups, Dictionary<int, List<string>> signers, Size printableArea, Thickness margins)
 {
     InitializeComponent();
     accountInfo = info;
     _contacts = contacts;
     allEntitlements = entitlements;
     allSigners = signers;
     entitlementGroups = groups;
     populateAccountInfo();
     populateContactView();
     populateRulesView();
     printLength = printableArea.Height;
     printWidth = printableArea.Width;
     PrintButton.Visibility = System.Windows.Visibility.Collapsed;
     Scroller.VerticalScrollBarVisibility = ScrollBarVisibility.Hidden;
     setupPrintingPages();
 }