├── Privacy Policy ├── README.md ├── Terms of Service ├── 远景论坛UWP.sln └── 远景论坛UWP ├── AccountSePage.xaml ├── AccountSePage.xaml.cs ├── App.xaml ├── App.xaml.cs ├── Assets ├── 1.png ├── APPICON.png ├── BadgeLogo.scale-100.png ├── BadgeLogo.scale-125.png ├── BadgeLogo.scale-150.png ├── BadgeLogo.scale-200.png ├── BadgeLogo.scale-400.png ├── LargeTile.scale-100.png ├── LargeTile.scale-125.png ├── LargeTile.scale-150.png ├── LargeTile.scale-200.png ├── LargeTile.scale-400.png ├── SS1.png ├── SS2.png ├── SS3.png ├── SS4.png ├── SS5.png ├── STORE.png ├── SmallTile.scale-100.png ├── SmallTile.scale-125.png ├── SmallTile.scale-150.png ├── SmallTile.scale-200.png ├── SmallTile.scale-400.png ├── SplashScreen.scale-100.png ├── SplashScreen.scale-125.png ├── SplashScreen.scale-150.png ├── SplashScreen.scale-200.png ├── SplashScreen.scale-400.png ├── Square150x150Logo.scale-100.png ├── Square150x150Logo.scale-125.png ├── Square150x150Logo.scale-150.png ├── Square150x150Logo.scale-200.png ├── Square150x150Logo.scale-400.png ├── Square44x44Logo.altform-unplated_targetsize-16.png ├── Square44x44Logo.altform-unplated_targetsize-256.png ├── Square44x44Logo.altform-unplated_targetsize-32.png ├── Square44x44Logo.altform-unplated_targetsize-48.png ├── Square44x44Logo.scale-100.png ├── Square44x44Logo.scale-125.png ├── Square44x44Logo.scale-150.png ├── Square44x44Logo.scale-200.png ├── Square44x44Logo.scale-400.png ├── Square44x44Logo.targetsize-16.png ├── Square44x44Logo.targetsize-24.png ├── Square44x44Logo.targetsize-24_altform-unplated.png ├── Square44x44Logo.targetsize-256.png ├── Square44x44Logo.targetsize-32.png ├── Square44x44Logo.targetsize-48.png ├── StoreLogo.backup.png ├── StoreLogo.scale-100.png ├── StoreLogo.scale-125.png ├── StoreLogo.scale-150.png ├── StoreLogo.scale-200.png ├── StoreLogo.scale-400.png ├── Wide310x150Logo.scale-100.png ├── Wide310x150Logo.scale-125.png ├── Wide310x150Logo.scale-150.png ├── Wide310x150Logo.scale-200.png └── Wide310x150Logo.scale-400.png ├── BBS2Page.xaml ├── BBS2Page.xaml.cs ├── BBSMainPage.xaml ├── BBSMainPage.xaml.cs ├── BlockICON ├── B1Bkg.png ├── B2Bkg.png ├── B3Bkg.png ├── B4Bkg.png ├── B4Bkg2.png ├── B5Bkg.png └── B6Bkg.png ├── MainPage.xaml ├── MainPage.xaml.cs ├── MyAlertPage.xaml ├── MyAlertPage.xaml.cs ├── MyPostPage.xaml ├── MyPostPage.xaml.cs ├── NEWSPage.xaml ├── NEWSPage.xaml.cs ├── NewsICON ├── 握手.png ├── 花.png ├── 蛋.png ├── 路过.png └── 雷.png ├── Package.StoreAssociation.xml ├── Package.appxmanifest ├── ProjectClass1.cs ├── Properties ├── AssemblyInfo.cs └── Default.rd.xml ├── ShowNEWSPage.xaml ├── ShowNEWSPage.xaml.cs ├── ShowThreadsPage.xaml ├── ShowThreadsPage.xaml.cs ├── SmallICON ├── CoinBKG.png ├── File.png ├── InboxM.png ├── NewM.png ├── RateICON.png └── Write.png ├── ThreadContentPage.xaml ├── ThreadContentPage.xaml.cs ├── TopbarICON ├── GDGN.png ├── More.png ├── 新闻.png ├── 论坛.png └── 默认头像.jpg ├── UserIfmPage.xaml ├── UserIfmPage.xaml.cs ├── 远景论坛UWP.csproj ├── 远景论坛UWP.csproj.user ├── 远景论坛UWP_StoreKey.pfx └── 远景论坛UWP_TemporaryKey.pfx /Privacy Policy: -------------------------------------------------------------------------------- 1 | 隐私协议 2 | 3 | 4 | 我们可能收集和使用的信息 5 | (一)与个人身份无关的信息: 6 | 当您使用远景服务时,我们可能收集一些用户信息,例如记录使用远景服务的每个用户的来源途径、浏览器等。 7 | (二)有关个人身份的信息: 8 | 当您使用远景服务时,我们可能收集和汇总或要求您提供有关个人身份的信息,例如个人身份证明(包括身份证、护照等);生日、籍贯、性别、兴趣爱好、个人电话号码等... 9 | 我们收集您的信息主要是为了您和其他用户能够更容易和更满意地使用我们的服务. 10 | 我们使用COOKIES,用于以下用途: 11 | (1)记住您的身份。例如:COOKIES有助于我们辨认您作为我们的注册用户的身份,或保存您向我们提供有关您的喜好或其他信息; 12 | (2)分析您使用我们服务的情况和广告优化。 13 | 14 | 对于如何保护您的个人信息 15 | 我们会确保依据本政策及国家法律法规要求对您的个人信息提供足够的保护,我们不会向任何第三方机构和个人共享您的信息。 16 | 17 | 18 | 联系我们:pcbeta.service@pcbeta.com 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | pcbeta-UWP -- pcbeta UWP App -- bbs.pcbeta.com 2 | # 远景第三方UWP客户端 3 | # [Microsoft Store](https://www.microsoft.com/store/apps/9NCT8JFTSQ07) 4 | 问题反馈:http://bbs.pcbeta.com/viewthread-1882330-1-1.html 5 | 6 |
7 | 开发者联系方式: 8 | 9 | QQ:3524984135 10 | 11 | Email:justineedyoumost@163.com 12 | 13 | 感谢您对我的支持 14 | -------------------------------------------------------------------------------- /Terms of Service: -------------------------------------------------------------------------------- 1 | 远景论坛 - 微软极客社区 网站服务条款 2 | 3 | 论坛注册许可协议(你有权停止注册,确认注册即表明接受该协议所有条款) 4 | 5 | 不得利用本站危害国家安全、泄露国家秘密,不得侵犯国家社会集体的和公民的合法权益,不得利用本站制作、复制和传播下列信息: 6 |   (1)煽动抗拒、破坏宪法和法律、行政法规实施的; 7 |   (2)煽动颠覆国家政权,推翻社会主义制度的; 8 |   (3)煽动分裂国家、破坏国家统一的; 9 |   (4)煽动民族仇恨、民族歧视,破坏民族团结的; 10 |   (5)捏造或者歪曲事实,散布谣言,扰乱社会秩序的; 11 |   (6)宣扬封建迷信、淫秽、色情、赌博、暴力、凶杀、恐怖、教唆犯罪的; 12 |   (7)公然侮辱他人或者捏造事实诽谤他人的,或者进行其他恶意攻击的; 13 |   (8)损害国家机关信誉的; 14 |   (9)其他违反宪法和法律行政法规的。 15 | (10)远景官方禁止任何团体及个人的侵权行为,包括盗版、破解版等侵权行为;为此产生的法律责任均为发布者所承担; 16 |    本论坛言论纯属发表者个人意见,与本论坛立场无关。如果您违反了上述事项的任何一项,您将承担一切因您的行为而直接或间接导致的民事或刑事法律责任。本站可向有关部门举报,同时禁止发贴者登陆或封IP地址。 17 | -------------------------------------------------------------------------------- /远景论坛UWP.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27703.2047 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "远景论坛UWP", "远景论坛UWP\远景论坛UWP.csproj", "{3CEF5E21-3463-4766-9BFB-277E16AEB341}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|ARM = Debug|ARM 11 | Debug|x64 = Debug|x64 12 | Debug|x86 = Debug|x86 13 | Release|ARM = Release|ARM 14 | Release|x64 = Release|x64 15 | Release|x86 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Debug|ARM.ActiveCfg = Debug|ARM 19 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Debug|ARM.Build.0 = Debug|ARM 20 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Debug|ARM.Deploy.0 = Debug|ARM 21 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Debug|x64.ActiveCfg = Debug|x64 22 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Debug|x64.Build.0 = Debug|x64 23 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Debug|x64.Deploy.0 = Debug|x64 24 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Debug|x86.ActiveCfg = Debug|x86 25 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Debug|x86.Build.0 = Debug|x86 26 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Debug|x86.Deploy.0 = Debug|x86 27 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Release|ARM.ActiveCfg = Release|ARM 28 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Release|ARM.Build.0 = Release|ARM 29 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Release|ARM.Deploy.0 = Release|ARM 30 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Release|x64.ActiveCfg = Release|x64 31 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Release|x64.Build.0 = Release|x64 32 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Release|x64.Deploy.0 = Release|x64 33 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Release|x86.ActiveCfg = Release|x86 34 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Release|x86.Build.0 = Release|x86 35 | {3CEF5E21-3463-4766-9BFB-277E16AEB341}.Release|x86.Deploy.0 = Release|x86 36 | EndGlobalSection 37 | GlobalSection(SolutionProperties) = preSolution 38 | HideSolutionNode = FALSE 39 | EndGlobalSection 40 | GlobalSection(ExtensibilityGlobals) = postSolution 41 | SolutionGuid = {B6F3EBBA-D305-4298-9D7B-8CAF7460E8A0} 42 | EndGlobalSection 43 | EndGlobal 44 | -------------------------------------------------------------------------------- /远景论坛UWP/AccountSePage.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /远景论坛UWP/AccountSePage.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI.Xaml; 9 | using Windows.UI.Xaml.Controls; 10 | using Windows.UI.Xaml.Controls.Primitives; 11 | using Windows.UI.Xaml.Data; 12 | using Windows.UI.Xaml.Input; 13 | using Windows.UI.Xaml.Media; 14 | using Windows.UI.Xaml.Navigation; 15 | 16 | // https://go.microsoft.com/fwlink/?LinkId=234238 上介绍了“空白页”项模板 17 | 18 | namespace 远景论坛UWP 19 | { 20 | /// 21 | /// 可用于自身或导航至 Frame 内部的空白页。 22 | /// 23 | public sealed partial class AccountSePage : Page 24 | { 25 | public AccountSePage() 26 | { 27 | this.InitializeComponent(); 28 | } 29 | 30 | private void Page_Loaded(object sender, RoutedEventArgs e) 31 | { 32 | RefreshMessage refresh = new RefreshMessage(); 33 | refresh.CheckNewMessage(); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /远景论坛UWP/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | -------------------------------------------------------------------------------- /远景论坛UWP/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.ApplicationModel; 7 | using Windows.ApplicationModel.Activation; 8 | using Windows.Foundation; 9 | using Windows.Foundation.Collections; 10 | using Windows.UI.Core; 11 | using Windows.UI.Xaml; 12 | using Windows.UI.Xaml.Controls; 13 | using Windows.UI.Xaml.Controls.Primitives; 14 | using Windows.UI.Xaml.Data; 15 | using Windows.UI.Xaml.Input; 16 | using Windows.UI.Xaml.Media; 17 | using Windows.UI.Xaml.Navigation; 18 | 19 | namespace 远景论坛UWP 20 | { 21 | /// 22 | /// 提供特定于应用程序的行为,以补充默认的应用程序类。 23 | /// 24 | sealed partial class App : Application 25 | { 26 | /// 27 | /// 初始化单一实例应用程序对象。这是执行的创作代码的第一行, 28 | /// 已执行,逻辑上等同于 main() 或 WinMain()。 29 | /// 30 | public App() 31 | { 32 | this.InitializeComponent(); 33 | this.Suspending += OnSuspending; 34 | } 35 | 36 | /// 37 | /// 在应用程序由最终用户正常启动时进行调用。 38 | /// 将在启动应用程序以打开特定文件等情况下使用。 39 | /// 40 | /// 有关启动请求和过程的详细信息。 41 | protected override void OnLaunched(LaunchActivatedEventArgs e) 42 | { 43 | Frame rootFrame = Window.Current.Content as Frame; 44 | 45 | // 不要在窗口已包含内容时重复应用程序初始化, 46 | // 只需确保窗口处于活动状态 47 | if (rootFrame == null) 48 | { 49 | // 创建要充当导航上下文的框架,并导航到第一页 50 | rootFrame = new Frame(); 51 | 52 | rootFrame.NavigationFailed += OnNavigationFailed; 53 | rootFrame.Navigated += RootFrame_Navigated; 54 | 55 | if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) 56 | { 57 | //TODO: 从之前挂起的应用程序加载状态 58 | } 59 | 60 | // 将框架放在当前窗口中 61 | Window.Current.Content = rootFrame; 62 | } 63 | 64 | if (e.PrelaunchActivated == false) 65 | { 66 | if (rootFrame.Content == null) 67 | { 68 | // 当导航堆栈尚未还原时,导航到第一页, 69 | // 并通过将所需信息作为导航参数传入来配置 70 | // 参数 71 | rootFrame.Navigate(typeof(MainPage), e.Arguments); 72 | } 73 | // 确保当前窗口处于活动状态 74 | Window.Current.Activate(); 75 | } 76 | } 77 | 78 | private void RootFrame_Navigated(object sender, NavigationEventArgs e) 79 | { 80 | var view = SystemNavigationManager.GetForCurrentView(); 81 | view.BackRequested += View_BackRequested; 82 | 83 | Frame frame = Window.Current.Content as Frame; 84 | if (frame != null) 85 | { 86 | if (frame.CanGoBack) 87 | { 88 | view.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible; 89 | } 90 | else 91 | { 92 | view.AppViewBackButtonVisibility = AppViewBackButtonVisibility.Collapsed; 93 | } 94 | } 95 | } 96 | 97 | private void View_BackRequested(object sender, BackRequestedEventArgs e) 98 | { 99 | Frame frame = Window.Current.Content as Frame; 100 | if (frame != null) 101 | { 102 | if (frame.CanGoBack) 103 | { 104 | e.Handled = true; 105 | frame.GoBack(); 106 | } 107 | } 108 | } 109 | 110 | /// 111 | /// 导航到特定页失败时调用 112 | /// 113 | ///导航失败的框架 114 | ///有关导航失败的详细信息 115 | void OnNavigationFailed(object sender, NavigationFailedEventArgs e) 116 | { 117 | throw new Exception("Failed to load Page " + e.SourcePageType.FullName); 118 | } 119 | 120 | /// 121 | /// 在将要挂起应用程序执行时调用。 在不知道应用程序 122 | /// 无需知道应用程序会被终止还是会恢复, 123 | /// 并让内存内容保持不变。 124 | /// 125 | /// 挂起的请求的源。 126 | /// 有关挂起请求的详细信息。 127 | private void OnSuspending(object sender, SuspendingEventArgs e) 128 | { 129 | var deferral = e.SuspendingOperation.GetDeferral(); 130 | //TODO: 保存应用程序状态并停止任何后台活动 131 | deferral.Complete(); 132 | } 133 | 134 | } 135 | } 136 | -------------------------------------------------------------------------------- /远景论坛UWP/Assets/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/1.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/APPICON.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/APPICON.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/BadgeLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/BadgeLogo.scale-100.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/BadgeLogo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/BadgeLogo.scale-125.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/BadgeLogo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/BadgeLogo.scale-150.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/BadgeLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/BadgeLogo.scale-200.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/BadgeLogo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/BadgeLogo.scale-400.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/LargeTile.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/LargeTile.scale-100.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/LargeTile.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/LargeTile.scale-125.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/LargeTile.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/LargeTile.scale-150.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/LargeTile.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/LargeTile.scale-200.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/LargeTile.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/LargeTile.scale-400.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SS1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SS1.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SS2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SS2.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SS3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SS3.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SS4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SS4.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SS5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SS5.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/STORE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/STORE.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SmallTile.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SmallTile.scale-100.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SmallTile.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SmallTile.scale-125.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SmallTile.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SmallTile.scale-150.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SmallTile.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SmallTile.scale-200.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SmallTile.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SmallTile.scale-400.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SplashScreen.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SplashScreen.scale-125.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SplashScreen.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SplashScreen.scale-150.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/SplashScreen.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/SplashScreen.scale-400.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square150x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square150x150Logo.scale-125.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square150x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square150x150Logo.scale-150.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square150x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square150x150Logo.scale-400.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.altform-unplated_targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.altform-unplated_targetsize-16.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.altform-unplated_targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.altform-unplated_targetsize-256.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.altform-unplated_targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.altform-unplated_targetsize-32.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.altform-unplated_targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.altform-unplated_targetsize-48.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.scale-100.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.scale-125.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.scale-150.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.scale-400.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.targetsize-16.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.targetsize-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.targetsize-24.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.targetsize-256.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.targetsize-32.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Square44x44Logo.targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Square44x44Logo.targetsize-48.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/StoreLogo.backup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/StoreLogo.backup.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/StoreLogo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/StoreLogo.scale-125.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/StoreLogo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/StoreLogo.scale-150.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/StoreLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/StoreLogo.scale-200.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/StoreLogo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/StoreLogo.scale-400.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Wide310x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Wide310x150Logo.scale-125.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Wide310x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Wide310x150Logo.scale-150.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /远景论坛UWP/Assets/Wide310x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/Assets/Wide310x150Logo.scale-400.png -------------------------------------------------------------------------------- /远景论坛UWP/BBS2Page.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | -------------------------------------------------------------------------------- /远景论坛UWP/BBS2Page.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using System.Threading.Tasks; 7 | using Windows.Foundation; 8 | using Windows.Foundation.Collections; 9 | using Windows.UI.Xaml; 10 | using Windows.UI.Xaml.Controls; 11 | using Windows.UI.Xaml.Controls.Primitives; 12 | using Windows.UI.Xaml.Data; 13 | using Windows.UI.Xaml.Input; 14 | using Windows.UI.Xaml.Media; 15 | using Windows.UI.Xaml.Media.Imaging; 16 | using Windows.UI.Xaml.Navigation; 17 | 18 | // https://go.microsoft.com/fwlink/?LinkId=234238 上介绍了“空白页”项模板 19 | 20 | namespace 远景论坛UWP 21 | { 22 | /// 23 | /// 可用于自身或导航至 Frame 内部的空白页。 24 | /// 25 | public sealed partial class BBS2Page : Page 26 | { 27 | public static BBS2Page PageTrans; 28 | public BBS2Page() 29 | { 30 | this.InitializeComponent(); 31 | PageTrans = this; 32 | } 33 | BitmapImage bitmapImage; 34 | private async void Page_Loaded(object sender, RoutedEventArgs e) 35 | { 36 | await Task.Delay(1000); 37 | try 38 | { 39 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/nb.png")); 40 | Z1P1.Source = bitmapImage; 41 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/acer.png")); 42 | Z1P2.Source = bitmapImage; 43 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/asus.png")); 44 | Z1P3.Source = bitmapImage; 45 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/dell.png")); 46 | Z1P4.Source = bitmapImage; 47 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/hp.png")); 48 | Z1P5.Source = bitmapImage; 49 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/lenovo.png")); 50 | Z1P6.Source = bitmapImage; 51 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/sony.png")); 52 | Z1P7.Source = bitmapImage; 53 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/toshiba.png")); 54 | Z1P8.Source = bitmapImage; 55 | bitmapImage = new BitmapImage(new Uri("http://www.pcbeta.com///static/image/pcbeta/forum.gif")); 56 | Z2P1.Source = bitmapImage; 57 | bitmapImage = new BitmapImage(new Uri("http://mac.pcbeta.com/images/forumicons/screen.png")); 58 | Z2P2.Source = bitmapImage; 59 | bitmapImage = new BitmapImage(new Uri("http://mac.pcbeta.com/images/forumicons/bootcamp.png")); 60 | Z2P3.Source = bitmapImage; 61 | bitmapImage = new BitmapImage(new Uri("http://mac.pcbeta.com/images/forumicons/app.png")); 62 | Z2P4.Source = bitmapImage; 63 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/help.png")); 64 | Z3P1.Source = bitmapImage; 65 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/complaint.png")); 66 | Z3P2.Source = bitmapImage; 67 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/warning.png")); 68 | Z3P3.Source = bitmapImage; 69 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/banuser.png")); 70 | Z3P4.Source = bitmapImage; 71 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/manager.png")); 72 | Z4P1.Source = bitmapImage; 73 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/special.png")); 74 | Z4P2.Source = bitmapImage; 75 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/group.png")); 76 | Z4P3.Source = bitmapImage; 77 | bitmapImage = new BitmapImage(new Uri("http://bbs.pcbeta.com/templates/forumicons/1_1/link.png")); 78 | Z4P4.Source = bitmapImage; 79 | } 80 | catch (Exception) 81 | { 82 | 83 | } 84 | } 85 | private void 子版1_SelectionChanged(object sender, SelectionChangedEventArgs e) 86 | { 87 | 88 | } 89 | 90 | private void 子版2_SelectionChanged(object sender, SelectionChangedEventArgs e) 91 | { 92 | 93 | } 94 | 95 | private void 子版3_SelectionChanged(object sender, SelectionChangedEventArgs e) 96 | { 97 | 98 | } 99 | 100 | private void 子版4_SelectionChanged(object sender, SelectionChangedEventArgs e) 101 | { 102 | 103 | } 104 | 105 | } 106 | } 107 | -------------------------------------------------------------------------------- /远景论坛UWP/BBSMainPage.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 182 | 183 | 184 | 185 | 186 | -------------------------------------------------------------------------------- /远景论坛UWP/BBSMainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using System.Threading.Tasks; 7 | using Windows.Foundation; 8 | using Windows.Foundation.Collections; 9 | using Windows.UI.Popups; 10 | using Windows.UI.Xaml; 11 | using Windows.UI.Xaml.Controls; 12 | using Windows.UI.Xaml.Controls.Primitives; 13 | using Windows.UI.Xaml.Data; 14 | using Windows.UI.Xaml.Input; 15 | using Windows.UI.Xaml.Media; 16 | using Windows.UI.Xaml.Media.Imaging; 17 | using Windows.UI.Xaml.Navigation; 18 | 19 | // https://go.microsoft.com/fwlink/?LinkId=234238 上介绍了“空白页”项模板 20 | 21 | namespace 远景论坛UWP 22 | { 23 | /// 24 | /// 可用于自身或导航至 Frame 内部的空白页。 25 | /// 26 | public sealed partial class BBSMainPage : Page 27 | { 28 | public BBSMainPage() 29 | { 30 | this.InitializeComponent(); 31 | } 32 | BitmapImage bitmapImage; 33 | private async void Page_Loaded(object sender, RoutedEventArgs e) 34 | { 35 | LoadRing.Visibility = 0; 36 | LoadRing.IsActive = true; 37 | 38 | try 39 | { 40 | MainPage.CurrentPage.WebView1.Source = new Uri("http://bbs.pcbeta.com"); 41 | if (await MainPage.CurrentPage.CheckLoadState(true) != 0) 42 | { 43 | LoadRing.Visibility = (Visibility)1; 44 | LoadRing.IsActive = false; 45 | return; 46 | } 47 | 48 | RefreshMessage refresh = new RefreshMessage(); 49 | refresh.CheckNewMessage(); 50 | /* 51 | string get1 = "document.querySelectorAll('#category_213 .fl_g').length.toString();"; 52 | string result1 = await ConnToWV(new string[] { get1 }); 53 | int count = Convert.ToInt32(result1); 54 | */ 55 | 56 | //板块1:Windows 10 57 | //1a Win10区;1b 经典区;1c 设备及硬件;1d MS其他产品 58 | for (int i = 0; i < 9; i++) 59 | { 60 | GetAndAddItems("category_213",i,List1a); 61 | await Task.Delay(100); 62 | } 63 | 64 | for (int i = 0; i < 2; i++) 65 | { 66 | GetAndAddItems("category_181", i, List1b); 67 | await Task.Delay(100); 68 | } 69 | 70 | GetAndAddItems("category_263", 1, List1b); 71 | await Task.Delay(100); 72 | GetAndAddItems("category_263", 3, List1b); 73 | await Task.Delay(100); 74 | GetAndAddItems("category_106", 2, List1b); 75 | await Task.Delay(100); 76 | 77 | for (int i = 0; i < 9; i++) 78 | { 79 | GetAndAddItems("category_287", i, List1c); 80 | await Task.Delay(100); 81 | } 82 | 83 | GetAndAddItems("category_106", 3, List1d); 84 | await Task.Delay(100); 85 | GetAndAddItems("category_106", 4, List1d); 86 | await Task.Delay(100); 87 | GetAndAddItems("category_533", 2, List1d); 88 | await Task.Delay(100); 89 | 90 | 91 | //板块2:Office 92 | for (int i = 9; i < 12; i++) 93 | { 94 | GetAndAddItems("category_213", i, List2); 95 | await Task.Delay(100); 96 | } 97 | 98 | 99 | //板块3:苹果 100 | for (int i = 0; i < 6; i++) 101 | { 102 | GetAndAddItems("category_86", i, List3); 103 | await Task.Delay(100); 104 | } 105 | 106 | 107 | //板块4:Linux 108 | GetAndAddItems("category_508", 0, List4); 109 | await Task.Delay(100); 110 | GetAndAddItems("category_508", 1, List4); 111 | await Task.Delay(100); 112 | 113 | 114 | //板块5:俱乐部 115 | GetAndAddItems("category_15", 0, List5); 116 | await Task.Delay(100); 117 | GetAndAddItems("category_156", 0, List5); 118 | await Task.Delay(100); 119 | GetAndAddItems("category_156", 3, List5); 120 | await Task.Delay(100); 121 | 122 | 123 | //板块6:站务 124 | for (int i = 0; i < 3; i++) 125 | { 126 | GetAndAddItems("category_7", i, List6); 127 | await Task.Delay(100); 128 | } 129 | 130 | 131 | } 132 | catch (Exception) 133 | { 134 | 135 | } 136 | 137 | LoadRing.Visibility = Visibility.Collapsed; 138 | LoadRing.IsActive = false; 139 | } 140 | public async void GetAndAddItems(string categoryID,int index,ListView addToListView) 141 | { 142 | try 143 | { 144 | string r1 = await ConnToWV(new string[] { "document.querySelectorAll('#" + categoryID + " .fl_g img')[" + index + "].src" }); 145 | bitmapImage = new BitmapImage(new Uri(r1)); 146 | 147 | string r2 = await ConnToWV(new string[] { "document.querySelectorAll('#" + categoryID + " .fl_g')[" + index + "].querySelector('a').href" }); 148 | Uri u1 = new Uri(r2); 149 | 150 | r2 = await ConnToWV(new string[] { "document.querySelectorAll('#" + categoryID + " .fl_g')[" + index + "].querySelectorAll('a')[1].innerText" }); 151 | string r3 = await ConnToWV(new string[] { "document.querySelectorAll('#" + categoryID + " .fl_g')[" + index + "].getElementsByClassName('xw0 xi1 yellow').length.toString();" }); 152 | if (r3 == "1") 153 | { 154 | r3 = "+" + await ConnToWV(new string[] { "document.querySelectorAll('#" + categoryID + " .fl_g')[" + index + "].querySelector('em').innerText" }); 155 | } 156 | else 157 | { 158 | r3 = ""; 159 | } 160 | 161 | string r4 = await ConnToWV(new string[] { "document.querySelectorAll('#" + categoryID + " .fl_g')[" + index + "].getElementsByClassName('xg2').length.toString();" }); 162 | if (r4 == "1") 163 | { 164 | r4 = await ConnToWV(new string[] { "document.querySelectorAll('#" + categoryID + " .fl_g')[" + index + "].querySelector('.xg2').innerText" }); 165 | } 166 | else 167 | { 168 | r4 = "该板块暂无介绍"; 169 | } 170 | 171 | r4 += "\n" + await ConnToWV(new string[] { "document.querySelectorAll('#" + categoryID + " .fl_g')[" + index + "].querySelector('dd').innerText" }); 172 | 173 | addToListView.Items.Add(new BBSMainBlock { BlockICON = bitmapImage, uri = u1, BlockTittle = r2, TodayPosts = r3, BlockIfm = r4 }); 174 | } 175 | catch (Exception) 176 | { 177 | 178 | } 179 | } 180 | 181 | public async Task ConnToWV(string[] value) 182 | { 183 | return await MainPage.CurrentPage.WebView1.InvokeScriptAsync("eval", value); ; 184 | } 185 | private void List_SelectionChanged(object sender, SelectionChangedEventArgs e) 186 | { 187 | ListView listView = sender as ListView; 188 | switch(listView.Name) 189 | { 190 | case "List1a": 191 | MainPage.CurrentPage.WebView1.Source= (List1a.SelectedItem as BBSMainBlock).uri; 192 | break; 193 | case "List1b": 194 | MainPage.CurrentPage.WebView1.Source = (List1b.SelectedItem as BBSMainBlock).uri; 195 | break; 196 | case "List1c": 197 | MainPage.CurrentPage.WebView1.Source = (List1c.SelectedItem as BBSMainBlock).uri; 198 | break; 199 | case "List1d": 200 | MainPage.CurrentPage.WebView1.Source = (List1d.SelectedItem as BBSMainBlock).uri; 201 | break; 202 | case "List2": 203 | MainPage.CurrentPage.WebView1.Source = (List2.SelectedItem as BBSMainBlock).uri; 204 | break; 205 | case "List3": 206 | MainPage.CurrentPage.WebView1.Source = (List3.SelectedItem as BBSMainBlock).uri; 207 | break; 208 | case "List4": 209 | MainPage.CurrentPage.WebView1.Source = (List4.SelectedItem as BBSMainBlock).uri; 210 | break; 211 | case "List5": 212 | MainPage.CurrentPage.WebView1.Source = (List5.SelectedItem as BBSMainBlock).uri; 213 | break; 214 | case "List6": 215 | MainPage.CurrentPage.WebView1.Source = (List6.SelectedItem as BBSMainBlock).uri; 216 | break; 217 | } 218 | 219 | Frame.Navigate(typeof(ShowThreadsPage)); 220 | } 221 | } 222 | } 223 | -------------------------------------------------------------------------------- /远景论坛UWP/BlockICON/B1Bkg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/BlockICON/B1Bkg.png -------------------------------------------------------------------------------- /远景论坛UWP/BlockICON/B2Bkg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/BlockICON/B2Bkg.png -------------------------------------------------------------------------------- /远景论坛UWP/BlockICON/B3Bkg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/BlockICON/B3Bkg.png -------------------------------------------------------------------------------- /远景论坛UWP/BlockICON/B4Bkg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/BlockICON/B4Bkg.png -------------------------------------------------------------------------------- /远景论坛UWP/BlockICON/B4Bkg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/BlockICON/B4Bkg2.png -------------------------------------------------------------------------------- /远景论坛UWP/BlockICON/B5Bkg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/BlockICON/B5Bkg.png -------------------------------------------------------------------------------- /远景论坛UWP/BlockICON/B6Bkg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FHWWC/pcbeta-UWP/7e41bf5d8a535b8dac0bc772dfaa976ae51d31fe/远景论坛UWP/BlockICON/B6Bkg.png -------------------------------------------------------------------------------- /远景论坛UWP/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 109 | 114 | 119 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 137 | 138 | 139 | 140 | 141 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 114 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 46 | 52 | 58 | 64 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 |