예제 #1
0
        private async Task SetBanner()
        {
            var bannerControl = await _bannerManager.GetBanner(BannerSlots.PrintJob);

            if (bannerControl != null)
            {
                _regionManager.AddToRegion(PrintJobRegionNames.PrintJobViewBannerRegion, bannerControl);
            }
        }
예제 #2
0
        private async Task SetBanner()
        {
            var bannerControl = await _bannerManager.GetBanner(BannerSlots.PrintJob);

            if (bannerControl != null)
            {
                BannerRegion.Children.Add(bannerControl);
            }
        }
예제 #3
0
        private async Task SetBanner()
        {
            // No banner currently loaded
            if (BannerGrid.Children.Count == 0)
            {
                var bannerControl = await _bannerManager.GetBanner(BannerSlots.Home);

                if (bannerControl != null)
                {
                    BannerGrid.Children.Add(bannerControl);
                    FrequentTipsControl.Visibility = Visibility.Collapsed;
                }
            }
        }