public BADSSheet(TDocs.AccountsView acctInfo) { InitializeComponent(); accountInfo = acctInfo; getContactData(acctInfo.bankID_pk); getRulesData(acctInfo.accountNumber); populateAccountInfo(); }
public void InitCon(TDocs indoc, ClientBrief target) { if (indoc == null) { return; } tdoc = indoc; TargetClient = target; updateCon(); }
public BADSSheet(TDocs.BADSInfo badsInfo) { InitializeComponent(); getRulesData(badsInfo.accountNumber); bankLabel.Content = badsInfo.name; entityLabel.Content = badsInfo.entityName; accountTypeLabel.Content = badsInfo.description; streetLabel.Content = badsInfo.street1; string cityLabelText = ""; if (badsInfo.city != null && badsInfo.city != "") cityLabelText += badsInfo.city; if (badsInfo.state != null && badsInfo.state != "") cityLabelText += ", " + badsInfo.state; if (badsInfo.zip != null && badsInfo.state != "") cityLabelText += " " + badsInfo.zip.ToString(); if (badsInfo.street2 == null || badsInfo.street2 == "") secondStreetLabel.Content = cityLabelText; else { secondStreetLabel.Content = badsInfo.street2; cityLabel.Content = cityLabelText; } phoneLabel.Content = "Phone Number: " + badsInfo.phone; faxLabel.Content = "Fax Number: " + badsInfo.fax; emailLabel.Content = "Email Address: " + badsInfo.email; contactNameLabel.Content = badsInfo.firstname + " " + badsInfo.lastname; currencyLabel.Content = badsInfo.currencyCode; accountNumberLabel.Content = badsInfo.accountNumber; accountTitleLabel.Content = badsInfo.accountName; accountOpenedLabel.Content = badsInfo.opened_date; accountClosedLabel.Content = badsInfo.closed_date; changeDateLabel.Content = badsInfo.modifieddate; taxIdLabel.Content = badsInfo.taxID; accountStatementLabel.Content = badsInfo.acstatement; zbaLabel.Content = badsInfo.zba; notesLabel.Text = badsInfo.notes; }
public void InitCon(TDocs indoc) { InitCon(indoc, new ClientBrief(null, GlobalVar.LocalPath)); }
public ResultItemCon(TDocs indoc, ClientBrief target) : this(indoc) { InitCon(indoc, target); }
public ResultItemCon(TDocs indoc) : this() { InitCon(indoc); }
public ResultItemCon() { tdoc = null; InitializeComponent(); }
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(); }