コード例 #1
0
 /// <summary>
 /// sets the sidebar intro page.  This will show the page on the scoreboard
 /// </summary>
 /// <param name="window"></param>
 /// <param name="lineUpSettings"></param>
 /// <param name="logoLocation"></param>
 /// <param name="teamName"></param>
 private static void setUpSideBarIntroPage(MainWindow window, LineUpViewModel lineUpSettings, string logoLocation, string teamName)
 {
     SideBarLogo profile = new SideBarLogo();
     profile.setBackgroundColor(lineUpSettings.SidebarBackgroundColor);
     profile.setLogo(logoLocation);
     profile.setSidebarColor(lineUpSettings.SidebarColor);
     profile.setSideBarPanelText(teamName);
     profile.setSidebarTextColor(lineUpSettings.SidebarTextColor);
     foreach (var scoreboard in window.ClockViewArray)
         scoreboard.ContentControl.Content = profile;
 }
コード例 #2
0
 /// <summary>
 /// sets the introduction slide.This will show the page on the scoreboard
 /// </summary>
 /// <param name="window"></param>
 /// <param name="lineUpSettings"></param>
 /// <param name="logoLocation"></param>
 private static void setUpPlainIntroPage(MainWindow window, LineUpViewModel lineUpSettings, string logoLocation)
 {
     PlainLogo profile = new PlainLogo();
     profile.setBackgroundColor(lineUpSettings.PlainBackgroundColor);
     profile.setBorderColor(lineUpSettings.PlainBorderColor);
     profile.setLogo(logoLocation);
     foreach (var scoreboard in window.ClockViewArray)
         scoreboard.ContentControl.Content = profile;
 }
コード例 #3
0
        /// <summary>
        /// sets up the side bar profile page.This will show the page on the scoreboard
        /// </summary>
        /// <param name="window"></param>
        /// <param name="member"></param>
        /// <param name="lineUpSettings"></param>
        /// <param name="logoLocation"></param>
        /// <param name="teamName"></param>
        private static void setUpSideBarProfilePage(MainWindow window, TeamMembersViewModel member, LineUpViewModel lineUpSettings, string logoLocation, string teamName)
        {
            SideBarProfile profile = new SideBarProfile();
            profile.setBackgroundColor(lineUpSettings.SidebarBackgroundColor);
            profile.setLogo(logoLocation);
            profile.setSkaterName(member.SkaterName);
            profile.setSkaterNumber(member.SkaterNumber);
            profile.setSkaterPicture(member.SkaterPictureLocation);
            profile.setSkaterTextColor(lineUpSettings.SidebarSkaterTextColor);
            profile.setSidebarColor(lineUpSettings.SidebarColor);
            profile.setSideBarPanelText(teamName);
            profile.setSidebarTextColor(lineUpSettings.SidebarTextColor);
            foreach (var scoreboard in window.ClockViewArray)
                scoreboard.ContentControl.Content = profile;

        }
コード例 #4
0
 /// <summary>
 /// sets up the plain profile page for plain profiles.This will show the page on the scoreboard
 /// </summary>
 /// <param name="window"></param>
 /// <param name="member"></param>
 /// <param name="lineUpSettings"></param>
 /// <param name="logoLocation"></param>
 private static void setUpPlainProfilePage(MainWindow window, TeamMembersViewModel member, LineUpViewModel lineUpSettings, string logoLocation)
 {
     PlainProfile profile = new PlainProfile();
     profile.setBackgroundColor(lineUpSettings.PlainBackgroundColor);
     profile.setBorderColor(lineUpSettings.PlainBorderColor);
     profile.setLogo(logoLocation);
     profile.setSkaterName(member.SkaterName);
     profile.setSkaterNumber(member.SkaterNumber);
     profile.setSkaterPicture(member.SkaterPictureLocation);
     profile.setSkaterTextColor(lineUpSettings.PlainTextColor);
     foreach (var scoreboard in window.ClockViewArray)
         scoreboard.ContentControl.Content = profile;
 }