public CPrintPromotionalTickets(PromotionVouchers parentPromo) : this() { _parentPromo = parentPromo; }
public void PromoScreen() { ApplicationManager.SyncSendSync((o) => { UIElement promotionChild = null; pnlContent.Children.Clear(); bool enable = true; if (this.PromotionActiveElement != null) { enable = false; promotionChild = this.PromotionActiveElement; } else { promotionChild = new PromotionVouchers(); } btnLogout.IsEnabled = enable; btnExit.IsEnabled = enable; btnShutdown.IsEnabled = enable; UIElement parent = LogicalTreeHelper.GetParent(promotionChild) as UIElement; if (parent == null) { pnlContent.Children.Add(promotionChild); } }, null); }
public CPrintPromotionalTickets(PromotionVouchers parentPromo) : this() { _parentPromo = parentPromo; }
public PromoPrint(PromotionVouchers parent) : this() { _parent = parent; }
public PromoPrint(PromotionVouchers parent) : this() { _parent = parent; }