├── .gitattributes ├── .gitignore ├── LICENSE ├── NodeTapGui.sln ├── NodeTapGui ├── App.config ├── App.xaml ├── App.xaml.cs ├── Controls │ ├── QRCodeRect.xaml │ └── QRCodeRect.xaml.cs ├── Converters │ └── HostDelayColorTextConv.cs ├── Framwork │ ├── Common │ │ ├── CmdHelper.cs │ │ ├── CommonEx.cs │ │ ├── CommonFunc.cs │ │ └── PasswordBoxBindingHelper.cs │ ├── Imagin.Common.WPF.dll │ ├── Imagin.Common.dll │ ├── Net │ │ └── PingHelper.cs │ └── NotifyProperty │ │ └── NotifyPropertyEx.cs ├── Images │ ├── Logo.ico │ └── QRCode.png ├── Models │ └── RoutesTabelModel.cs ├── NodeTapGui.csproj ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ ├── Settings.settings │ └── app.manifest ├── Styles │ └── Generic.xaml ├── Views │ ├── MainView.xaml │ ├── MainView.xaml.cs │ ├── RoutesTableDialog.xaml │ └── RoutesTableDialog.xaml.cs ├── WinFormComponent │ ├── NotifyIconComponent.Designer.cs │ ├── NotifyIconComponent.cs │ └── NotifyIconComponent.resx └── packages.config ├── README.md └── Screenshots └── Screenshot01.png /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.userosscache 8 | *.sln.docstates 9 | 10 | # User-specific files (MonoDevelop/Xamarin Studio) 11 | *.userprefs 12 | 13 | # Build results 14 | [Dd]ebug/ 15 | [Dd]ebugPublic/ 16 | [Rr]elease/ 17 | [Rr]eleases/ 18 | x64/ 19 | x86/ 20 | bld/ 21 | [Bb]in/ 22 | [Oo]bj/ 23 | [Ll]og/ 24 | 25 | # Visual Studio 2015 cache/options directory 26 | .vs/ 27 | # Uncomment if you have tasks that create the project's static files in wwwroot 28 | #wwwroot/ 29 | 30 | # MSTest test Results 31 | [Tt]est[Rr]esult*/ 32 | [Bb]uild[Ll]og.* 33 | 34 | # NUNIT 35 | *.VisualState.xml 36 | TestResult.xml 37 | 38 | # Build Results of an ATL Project 39 | [Dd]ebugPS/ 40 | [Rr]eleasePS/ 41 | dlldata.c 42 | 43 | # DNX 44 | project.lock.json 45 | project.fragment.lock.json 46 | artifacts/ 47 | 48 | *_i.c 49 | *_p.c 50 | *_i.h 51 | *.ilk 52 | *.meta 53 | *.obj 54 | *.pch 55 | *.pdb 56 | *.pgc 57 | *.pgd 58 | *.rsp 59 | *.sbr 60 | *.tlb 61 | *.tli 62 | *.tlh 63 | *.tmp 64 | *.tmp_proj 65 | *.log 66 | *.vspscc 67 | *.vssscc 68 | .builds 69 | *.pidb 70 | *.svclog 71 | *.scc 72 | 73 | # Chutzpah Test files 74 | _Chutzpah* 75 | 76 | # Visual C++ cache files 77 | ipch/ 78 | *.aps 79 | *.ncb 80 | *.opendb 81 | *.opensdf 82 | *.sdf 83 | *.cachefile 84 | *.VC.db 85 | *.VC.VC.opendb 86 | 87 | # Visual Studio profiler 88 | *.psess 89 | *.vsp 90 | *.vspx 91 | *.sap 92 | 93 | # TFS 2012 Local Workspace 94 | $tf/ 95 | 96 | # Guidance Automation Toolkit 97 | *.gpState 98 | 99 | # ReSharper is a .NET coding add-in 100 | _ReSharper*/ 101 | *.[Rr]e[Ss]harper 102 | *.DotSettings.user 103 | 104 | # JustCode is a .NET coding add-in 105 | .JustCode 106 | 107 | # TeamCity is a build add-in 108 | _TeamCity* 109 | 110 | # DotCover is a Code Coverage Tool 111 | *.dotCover 112 | 113 | # NCrunch 114 | _NCrunch_* 115 | .*crunch*.local.xml 116 | nCrunchTemp_* 117 | 118 | # MightyMoose 119 | *.mm.* 120 | AutoTest.Net/ 121 | 122 | # Web workbench (sass) 123 | .sass-cache/ 124 | 125 | # Installshield output folder 126 | [Ee]xpress/ 127 | 128 | # DocProject is a documentation generator add-in 129 | DocProject/buildhelp/ 130 | DocProject/Help/*.HxT 131 | DocProject/Help/*.HxC 132 | DocProject/Help/*.hhc 133 | DocProject/Help/*.hhk 134 | DocProject/Help/*.hhp 135 | DocProject/Help/Html2 136 | DocProject/Help/html 137 | 138 | # Click-Once directory 139 | publish/ 140 | 141 | # Publish Web Output 142 | *.[Pp]ublish.xml 143 | *.azurePubxml 144 | # TODO: Comment the next line if you want to checkin your web deploy settings 145 | # but database connection strings (with potential passwords) will be unencrypted 146 | #*.pubxml 147 | *.publishproj 148 | 149 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 150 | # checkin your Azure Web App publish settings, but sensitive information contained 151 | # in these scripts will be unencrypted 152 | PublishScripts/ 153 | 154 | # NuGet Packages 155 | *.nupkg 156 | # The packages folder can be ignored because of Package Restore 157 | **/packages/* 158 | # except build/, which is used as an MSBuild target. 159 | !**/packages/build/ 160 | # Uncomment if necessary however generally it will be regenerated when needed 161 | #!**/packages/repositories.config 162 | # NuGet v3's project.json files produces more ignoreable files 163 | *.nuget.props 164 | *.nuget.targets 165 | 166 | # Microsoft Azure Build Output 167 | csx/ 168 | *.build.csdef 169 | 170 | # Microsoft Azure Emulator 171 | ecf/ 172 | rcf/ 173 | 174 | # Windows Store app package directories and files 175 | AppPackages/ 176 | BundleArtifacts/ 177 | Package.StoreAssociation.xml 178 | _pkginfo.txt 179 | 180 | # Visual Studio cache files 181 | # files ending in .cache can be ignored 182 | *.[Cc]ache 183 | # but keep track of directories ending in .cache 184 | !*.[Cc]ache/ 185 | 186 | # Others 187 | ClientBin/ 188 | ~$* 189 | *~ 190 | *.dbmdl 191 | *.dbproj.schemaview 192 | *.jfm 193 | *.pfx 194 | *.publishsettings 195 | node_modules/ 196 | orleans.codegen.cs 197 | 198 | # Since there are multiple workflows, uncomment next line to ignore bower_components 199 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 200 | #bower_components/ 201 | 202 | # RIA/Silverlight projects 203 | Generated_Code/ 204 | 205 | # Backup & report files from converting an old project file 206 | # to a newer Visual Studio version. Backup files are not needed, 207 | # because we have git ;-) 208 | _UpgradeReport_Files/ 209 | Backup*/ 210 | UpgradeLog*.XML 211 | UpgradeLog*.htm 212 | 213 | # SQL Server files 214 | *.mdf 215 | *.ldf 216 | 217 | # Business Intelligence projects 218 | *.rdl.data 219 | *.bim.layout 220 | *.bim_*.settings 221 | 222 | # Microsoft Fakes 223 | FakesAssemblies/ 224 | 225 | # GhostDoc plugin setting file 226 | *.GhostDoc.xml 227 | 228 | # Node.js Tools for Visual Studio 229 | .ntvs_analysis.dat 230 | 231 | # Visual Studio 6 build log 232 | *.plg 233 | 234 | # Visual Studio 6 workspace options file 235 | *.opt 236 | 237 | # Visual Studio LightSwitch build output 238 | **/*.HTMLClient/GeneratedArtifacts 239 | **/*.DesktopClient/GeneratedArtifacts 240 | **/*.DesktopClient/ModelManifest.xml 241 | **/*.Server/GeneratedArtifacts 242 | **/*.Server/ModelManifest.xml 243 | _Pvt_Extensions 244 | 245 | # Paket dependency manager 246 | .paket/paket.exe 247 | paket-files/ 248 | 249 | # FAKE - F# Make 250 | .fake/ 251 | 252 | # JetBrains Rider 253 | .idea/ 254 | *.sln.iml 255 | 256 | # CodeRush 257 | .cr/ 258 | 259 | # Python Tools for Visual Studio (PTVS) 260 | __pycache__/ 261 | *.pyc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 JerryAJ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /NodeTapGui.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27428.2015 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NodeTapGui", "NodeTapGui\NodeTapGui.csproj", "{530CB540-7F68-4D7C-BC26-23CD92C636CC}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Debug|x64 = Debug|x64 12 | Release|Any CPU = Release|Any CPU 13 | Release|x64 = Release|x64 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {530CB540-7F68-4D7C-BC26-23CD92C636CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 17 | {530CB540-7F68-4D7C-BC26-23CD92C636CC}.Debug|Any CPU.Build.0 = Debug|Any CPU 18 | {530CB540-7F68-4D7C-BC26-23CD92C636CC}.Debug|x64.ActiveCfg = Debug|x64 19 | {530CB540-7F68-4D7C-BC26-23CD92C636CC}.Debug|x64.Build.0 = Debug|x64 20 | {530CB540-7F68-4D7C-BC26-23CD92C636CC}.Release|Any CPU.ActiveCfg = Release|Any CPU 21 | {530CB540-7F68-4D7C-BC26-23CD92C636CC}.Release|Any CPU.Build.0 = Release|Any CPU 22 | {530CB540-7F68-4D7C-BC26-23CD92C636CC}.Release|x64.ActiveCfg = Release|x64 23 | {530CB540-7F68-4D7C-BC26-23CD92C636CC}.Release|x64.Build.0 = Release|x64 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {41D0D077-7CE7-4820-8D70-A12ECEF8C8EA} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /NodeTapGui/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /NodeTapGui/App.xaml: -------------------------------------------------------------------------------- 1 |  5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /NodeTapGui/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using NodeTapGui.WinFormComponent; 2 | using System; 3 | using System.Diagnostics; 4 | using System.Reflection; 5 | using System.Security.Principal; 6 | using System.Windows; 7 | using System.Windows.Navigation; 8 | 9 | namespace NodeTapGui 10 | { 11 | /// 12 | /// App.xaml 的交互逻辑 13 | /// 14 | public partial class App : Application 15 | { 16 | #region properties 17 | 18 | /// 19 | /// 状态栏图标对象 20 | /// 21 | private NotifyIconComponent _notifyIcon; 22 | 23 | #endregion 24 | 25 | #region override method 26 | 27 | protected override void OnStartup(StartupEventArgs e) 28 | { 29 | // 检查是否为管理员权限运行 30 | CheckAdministrator(); 31 | 32 | // 构造主窗口并显示 33 | MainWindow = new MainView(); 34 | MainWindow.Show(); 35 | 36 | // 配置NotifyIcon 37 | _notifyIcon = new NotifyIconComponent(); 38 | MainWindow.StateChanged += 39 | (s, args) => 40 | { 41 | var win = s as MainView; 42 | if (win.WindowState == WindowState.Minimized) 43 | { 44 | win.ShowInTaskbar = false; 45 | _notifyIcon.ShowBalloonTip("NodeTapGui has been minimized!"); 46 | // 停止Ping 47 | Common.CommonEx.TimerGetHostDelays.Stop(); 48 | } 49 | }; 50 | _notifyIcon.OnShowWindowHandler += 51 | (s, args) => 52 | { 53 | // 还原显示窗口 54 | if (MainWindow.WindowState == WindowState.Minimized) 55 | { 56 | MainWindow.WindowState = WindowState.Normal; 57 | MainWindow.ShowInTaskbar = true; 58 | // 开启Ping 59 | Common.CommonEx.TimerGetHostDelays.Start(); 60 | } 61 | }; 62 | } 63 | 64 | protected override void OnExit(ExitEventArgs e) 65 | { 66 | base.OnExit(e); 67 | 68 | // 释放资源 69 | _notifyIcon.Dispose(); 70 | } 71 | 72 | #endregion 73 | 74 | #region method 75 | 76 | /// 77 | /// 检查是否是管理员身份 78 | /// 79 | private void CheckAdministrator() 80 | { 81 | var wi = WindowsIdentity.GetCurrent(); 82 | var wp = new WindowsPrincipal(wi); 83 | 84 | bool runAsAdmin = wp.IsInRole(WindowsBuiltInRole.Administrator); 85 | 86 | if (!runAsAdmin) 87 | { 88 | // It is not possible to launch a ClickOnce app as administrator directly, 89 | // so instead we launch the app as administrator in a new process. 90 | var processInfo = new ProcessStartInfo(Assembly.GetExecutingAssembly().CodeBase); 91 | 92 | // The following properties run the new process as administrator 93 | processInfo.UseShellExecute = true; 94 | processInfo.Verb = "runas"; 95 | 96 | // Start the new process 97 | try 98 | { 99 | Process.Start(processInfo); 100 | } 101 | catch (Exception ex) 102 | { 103 | MessageBox.Show(ex.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error); 104 | } 105 | 106 | // Shut down the current process 107 | Environment.Exit(0); 108 | } 109 | 110 | } 111 | 112 | #endregion 113 | } 114 | } 115 | -------------------------------------------------------------------------------- /NodeTapGui/Controls/QRCodeRect.xaml: -------------------------------------------------------------------------------- 1 |  18 | 19 | 20 | 21 | 22 | 27 | 32 | 38 | 44 | 51 | 52 | 53 | 54 | 55 | 56 | 59 | 60 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /NodeTapGui/Controls/QRCodeRect.xaml.cs: -------------------------------------------------------------------------------- 1 | using NotifyProperty; 2 | using System.Threading.Tasks; 3 | using System.Windows; 4 | 5 | namespace NodeTapGui.Controls 6 | { 7 | /// 8 | /// QRCodeRect.xaml 的交互逻辑 9 | /// 10 | public partial class QRCodeRect : Window 11 | { 12 | public NotifyPropertyEx TargetWidth { get; } = 0f; 13 | public NotifyPropertyEx TargetHeight { get; } = 0f; 14 | public NotifyPropertyEx TargetLeft { get; } = 0f; 15 | public NotifyPropertyEx TargetTop { get; } = 0f; 16 | 17 | public QRCodeRect(float targetWidth, float targetHeight, float targetLeft, float targetTop, float fullWidth, float fullHeight) 18 | { 19 | InitializeComponent(); 20 | 21 | DataContext = this; 22 | 23 | 24 | TargetWidth.Value = targetWidth; 25 | TargetHeight.Value = targetHeight; 26 | TargetLeft.Value = targetLeft; 27 | TargetTop.Value = targetTop; 28 | 29 | Loaded += async (s, e) => 30 | { 31 | await Task.Delay(3000); 32 | Close(); 33 | }; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /NodeTapGui/Converters/HostDelayColorTextConv.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Globalization; 3 | using System.Windows.Data; 4 | using System.Windows.Media; 5 | 6 | namespace NodeTapGui.Converters 7 | { 8 | public class HostDelayColorTextConv : IValueConverter 9 | { 10 | public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 11 | { 12 | var str = value.ToString(); 13 | if (!string.IsNullOrWhiteSpace(str) && str != "time out" && str != "invalid addr") 14 | { 15 | int o = int.Parse(str.Substring(0, str.IndexOf(" ms"))); 16 | if (0 < o && o <= 120) 17 | return Brushes.Green; 18 | else 19 | return Brushes.Red; 20 | } 21 | return Brushes.Red; 22 | } 23 | 24 | public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 25 | { 26 | return null; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /NodeTapGui/Framwork/Common/CmdHelper.cs: -------------------------------------------------------------------------------- 1 | using NodeTapGui; 2 | using System; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | 7 | namespace Common 8 | { 9 | public class CmdHelper 10 | { 11 | public MainView Main; 12 | Process proc; 13 | 14 | public CmdHelper(MainView main) 15 | { 16 | Main = main; 17 | } 18 | 19 | /// 20 | /// 异步执行命令 21 | /// 22 | /// 23 | /// 24 | public async Task ExecuteCommandAsync(string command) 25 | { 26 | await Task.Run(() => 27 | { 28 | ProcessStartInfo CmdProcessInfo = new ProcessStartInfo() 29 | { 30 | FileName = "cmd", 31 | Arguments = "/c " + command, 32 | UseShellExecute = false, 33 | RedirectStandardOutput = true, 34 | CreateNoWindow = true, 35 | WindowStyle = ProcessWindowStyle.Hidden 36 | }; 37 | proc = new Process() { StartInfo = CmdProcessInfo }; 38 | proc.StartInfo.RedirectStandardError = true; 39 | proc.Start(); 40 | proc.BeginOutputReadLine(); 41 | proc.BeginErrorReadLine(); 42 | proc.OutputDataReceived += Proc_OutputDataReceived; 43 | proc.ErrorDataReceived += Proc_ErrorDataReceived; 44 | }); 45 | } 46 | 47 | /// 48 | /// 关闭当前关联程序 49 | /// 50 | public void CloseProc() 51 | { 52 | if (proc != null && !proc.HasExited) 53 | { 54 | proc.Close(); 55 | Process.GetProcesses().Where(pr => pr.ProcessName == "sstap").FirstOrDefault().Kill(); 56 | } 57 | } 58 | 59 | /// 60 | /// 程序执行命令信息输出,程序未执行完毕也可以实现输出 61 | /// 62 | /// 63 | /// 64 | private void Proc_OutputDataReceived(object sender, DataReceivedEventArgs e) 65 | { 66 | Main.ConsoleText.Value += e.Data + Environment.NewLine; 67 | } 68 | 69 | /// 70 | /// 程序错误信息输出 71 | /// 72 | /// 73 | /// 74 | private void Proc_ErrorDataReceived(object sender, DataReceivedEventArgs e) 75 | { 76 | if (null != e.Data) 77 | { 78 | Main.ConsoleText.Value += e.Data + Environment.NewLine; 79 | Main.ConsoleText.Value += "提醒:如果提示命令不存在,请检查当前程序是否在sstap.exe根目录下。"; 80 | } 81 | } 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /NodeTapGui/Framwork/Common/CommonEx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Windows.Threading; 7 | 8 | namespace Common 9 | { 10 | public static class CommonEx 11 | { 12 | /// 13 | /// 显示网络延迟的计时器 14 | /// 15 | public static DispatcherTimer TimerGetHostDelays; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /NodeTapGui/Framwork/Common/CommonFunc.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Net; 6 | using System.Net.Sockets; 7 | using System.Threading.Tasks; 8 | 9 | namespace Common 10 | { 11 | public class CommonFunc 12 | { 13 | #region methods 14 | 15 | /// 16 | /// 获取地址的IP 17 | /// 18 | /// 19 | /// 20 | public static string GetIp(string address) 21 | { 22 | try 23 | { 24 | // ipv4 25 | var ip = Dns.GetHostEntry(address) 26 | .AddressList 27 | .FirstOrDefault(x => x.AddressFamily == AddressFamily.InterNetwork) 28 | ?.ToString(); 29 | if (string.IsNullOrWhiteSpace(address)) 30 | { 31 | // ipv6? 32 | ip = Dns.GetHostEntry(address) 33 | .AddressList 34 | .FirstOrDefault(x => x.AddressFamily == AddressFamily.InterNetworkV6) 35 | ?.ToString(); 36 | } 37 | 38 | return ip; 39 | } 40 | catch (Exception ex) 41 | { 42 | #if DEBUG 43 | Console.WriteLine(ex.Message); 44 | #endif 45 | return string.Empty; 46 | } 47 | } 48 | 49 | /// 50 | /// 读取文本文件行信息 51 | /// 52 | /// 53 | /// 54 | public static async Task> ReadLineAsync(string filePath) 55 | { 56 | var list = new List(); 57 | 58 | using (var reader = new StreamReader(filePath)) 59 | { 60 | string line; 61 | 62 | while ((line = await reader.ReadLineAsync()) != null) 63 | { 64 | list.Add(line); 65 | } 66 | } 67 | return list; 68 | } 69 | 70 | #endregion 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /NodeTapGui/Framwork/Common/PasswordBoxBindingHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows; 3 | using System.Windows.Controls; 4 | 5 | /* 6 | [WPF]实现密码框的密码绑定 by:周银辉 7 | http://www.cnblogs.com/zhouyinhui/archive/2009/08/27/1554943.html 8 | */ 9 | namespace Common 10 | { 11 | public static class PasswordBoxBindingHelper 12 | { 13 | public static bool GetIsPasswordBindingEnabled(DependencyObject obj) 14 | { 15 | return (bool)obj.GetValue(IsPasswordBindingEnabledProperty); 16 | } 17 | 18 | public static void SetIsPasswordBindingEnabled(DependencyObject obj, bool value) 19 | { 20 | obj.SetValue(IsPasswordBindingEnabledProperty, value); 21 | } 22 | 23 | public static readonly DependencyProperty IsPasswordBindingEnabledProperty = 24 | DependencyProperty.RegisterAttached("IsPasswordBindingEnabled", typeof(bool), 25 | typeof(PasswordBoxBindingHelper), 26 | new UIPropertyMetadata(false, OnIsPasswordBindingEnabledChanged)); 27 | 28 | private static void OnIsPasswordBindingEnabledChanged(DependencyObject obj, 29 | DependencyPropertyChangedEventArgs e) 30 | { 31 | var passwordBox = obj as PasswordBox; 32 | 33 | if (passwordBox != null) 34 | { 35 | passwordBox.PasswordChanged -= PasswordBoxPasswordChanged; 36 | 37 | if ((bool)e.NewValue) 38 | { 39 | passwordBox.PasswordChanged += PasswordBoxPasswordChanged; 40 | } 41 | 42 | } 43 | } 44 | 45 | //when the passwordBox's password changed, update the buffer 46 | static void PasswordBoxPasswordChanged(object sender, RoutedEventArgs e) 47 | { 48 | var passwordBox = (PasswordBox)sender; 49 | 50 | if (!String.Equals(GetBindedPassword(passwordBox), passwordBox.Password)) 51 | { 52 | SetBindedPassword(passwordBox, passwordBox.Password); 53 | } 54 | } 55 | 56 | 57 | public static string GetBindedPassword(DependencyObject obj) 58 | { 59 | return (string)obj.GetValue(BindedPasswordProperty); 60 | } 61 | 62 | 63 | public static void SetBindedPassword(DependencyObject obj, string value) 64 | { 65 | obj.SetValue(BindedPasswordProperty, value); 66 | } 67 | 68 | public static readonly DependencyProperty BindedPasswordProperty = 69 | DependencyProperty.RegisterAttached("BindedPassword", typeof(string), 70 | typeof(PasswordBoxBindingHelper), 71 | new UIPropertyMetadata(string.Empty, OnBindedPasswordChanged)); 72 | 73 | //when the buffer changed, upate the passwordBox's password 74 | private static void OnBindedPasswordChanged(DependencyObject obj, 75 | DependencyPropertyChangedEventArgs e) 76 | { 77 | var passwordBox = obj as PasswordBox; 78 | if (passwordBox != null) 79 | { 80 | 81 | passwordBox.Password = e.NewValue == null ? string.Empty : e.NewValue.ToString(); 82 | } 83 | } 84 | 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /NodeTapGui/Framwork/Imagin.Common.WPF.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EjiHuang/node-tap-gui/4e2938f8df559baa38ce0215a608aecbf48f9235/NodeTapGui/Framwork/Imagin.Common.WPF.dll -------------------------------------------------------------------------------- /NodeTapGui/Framwork/Imagin.Common.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EjiHuang/node-tap-gui/4e2938f8df559baa38ce0215a608aecbf48f9235/NodeTapGui/Framwork/Imagin.Common.dll -------------------------------------------------------------------------------- /NodeTapGui/Framwork/Net/PingHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | using System.Net.NetworkInformation; 4 | 5 | namespace NodeTapGui.Framwork.Net 6 | { 7 | public class PingHelper 8 | { 9 | 10 | public delegate void DlgPingCompletedHandler(object sender, PingCompletedEventArgs p, params object[] parameters); 11 | public event DlgPingCompletedHandler PingCompleted = null; 12 | 13 | private object[] ps; 14 | 15 | public bool Ping(string ip, params object[] ps) 16 | { 17 | Ping p = new Ping(); 18 | this.ps = ps; 19 | p.PingCompleted += new PingCompletedEventHandler(PingCompletedEx); 20 | if (!string.IsNullOrWhiteSpace(ip)) 21 | { 22 | try 23 | { 24 | p.SendAsync(ip, 5000, null); 25 | return true; 26 | } 27 | catch 28 | { 29 | return false; 30 | } 31 | } 32 | return false; 33 | } 34 | 35 | private void PingCompletedEx(object sender, PingCompletedEventArgs e) 36 | { 37 | PingCompleted(this, e, ps); 38 | Ping ping = (Ping)sender; 39 | ping.Dispose(); 40 | } 41 | 42 | public bool ValidateIPv4(string ipString) 43 | { 44 | if (String.IsNullOrWhiteSpace(ipString)) 45 | { 46 | return false; 47 | } 48 | 49 | string[] splitValues = ipString.Split('.'); 50 | if (splitValues.Length != 4) 51 | { 52 | return false; 53 | } 54 | 55 | byte tempForParsing; 56 | 57 | return splitValues.All(r => byte.TryParse(r, out tempForParsing)); 58 | } 59 | 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /NodeTapGui/Framwork/NotifyProperty/NotifyPropertyEx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.ComponentModel; 3 | using System.Runtime.CompilerServices; 4 | using System.Threading; 5 | using System.Windows; 6 | using System.Windows.Threading; 7 | 8 | namespace NotifyProperty 9 | { 10 | public class NotifyPropertyEx : INotifyPropertyChanged 11 | { 12 | public event PropertyChangedEventHandler PropertyChanged; 13 | private Dispatcher _dispatcher = Application.Current.Dispatcher; 14 | private object _value { get; set; } 15 | 16 | public NotifyPropertyEx() 17 | { 18 | Value = default(T); 19 | } 20 | 21 | public static implicit operator NotifyPropertyEx(T val) 22 | { 23 | return new NotifyPropertyEx { Value = val }; 24 | } 25 | 26 | public static implicit operator T(NotifyPropertyEx prop) 27 | { 28 | return prop.Value; 29 | } 30 | 31 | public T Value 32 | { 33 | get => (T) _value; 34 | 35 | set => SetValue(value); 36 | } 37 | 38 | public void SetValue(T val) 39 | { 40 | if (val != null && !(val is T)) 41 | { 42 | throw new InvalidCastException(string.Format("Cannot convert {0} to {1}", val.GetType(), typeof(T))); 43 | } 44 | 45 | if (Equals(val, _value)) 46 | { 47 | return; 48 | } 49 | 50 | _value = val; 51 | 52 | OnPropertyChanged(nameof(Value)); 53 | } 54 | 55 | protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) 56 | { 57 | if (Thread.CurrentThread.GetApartmentState() != ApartmentState.STA) 58 | { 59 | PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); 60 | } 61 | else 62 | { 63 | _dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(() => 64 | { 65 | PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); 66 | })); 67 | } 68 | } 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /NodeTapGui/Images/Logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EjiHuang/node-tap-gui/4e2938f8df559baa38ce0215a608aecbf48f9235/NodeTapGui/Images/Logo.ico -------------------------------------------------------------------------------- /NodeTapGui/Images/QRCode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EjiHuang/node-tap-gui/4e2938f8df559baa38ce0215a608aecbf48f9235/NodeTapGui/Images/QRCode.png -------------------------------------------------------------------------------- /NodeTapGui/Models/RoutesTabelModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace NodeTapGui.Models 8 | { 9 | public class RoutesTabelModel 10 | { 11 | /// 12 | /// ip 13 | /// 14 | public string RouteIp { set; get; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /NodeTapGui/NodeTapGui.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {530CB540-7F68-4D7C-BC26-23CD92C636CC} 8 | WinExe 9 | NodeTapGui 10 | NodeTapGui 11 | v4.6.1 12 | 512 13 | {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 14 | 4 15 | true 16 | false 17 | publish\ 18 | true 19 | Disk 20 | false 21 | Foreground 22 | 7 23 | Days 24 | false 25 | false 26 | true 27 | 0 28 | 1.0.0.%2a 29 | false 30 | true 31 | 32 | 33 | 34 | AnyCPU 35 | true 36 | full 37 | false 38 | bin\Debug\ 39 | DEBUG;TRACE 40 | prompt 41 | 4 42 | 43 | 44 | AnyCPU 45 | none 46 | true 47 | bin\Release\ 48 | TRACE 49 | prompt 50 | 4 51 | Auto 52 | 53 | 54 | NodeTapGui.App 55 | 56 | 57 | LocalIntranet 58 | 59 | 60 | false 61 | 62 | 63 | Properties\app.manifest 64 | 65 | 66 | true 67 | bin\x64\Debug\ 68 | DEBUG;TRACE 69 | full 70 | x64 71 | prompt 72 | MinimumRecommendedRules.ruleset 73 | true 74 | 75 | 76 | bin\x64\Release\ 77 | TRACE 78 | true 79 | pdbonly 80 | x64 81 | prompt 82 | MinimumRecommendedRules.ruleset 83 | true 84 | 85 | 86 | Images\Logo.ico 87 | 88 | 89 | 90 | ..\packages\MetroRadiance.2.4.0\lib\net46\MetroRadiance.dll 91 | 92 | 93 | ..\packages\MetroRadiance.Chrome.2.2.0\lib\net46\MetroRadiance.Chrome.dll 94 | 95 | 96 | ..\packages\MetroRadiance.Core.2.4.0\lib\net46\MetroRadiance.Core.dll 97 | 98 | 99 | ..\packages\System.Windows.Interactivity.WPF.2.0.20525\lib\net40\Microsoft.Expression.Interactions.dll 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | ..\packages\System.Windows.Interactivity.WPF.2.0.20525\lib\net40\System.Windows.Interactivity.dll 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 4.0 117 | 118 | 119 | 120 | 121 | 122 | ..\packages\ZXing.Net.0.16.4\lib\net461\zxing.dll 123 | 124 | 125 | ..\packages\ZXing.Net.0.16.4\lib\net461\zxing.presentation.dll 126 | 127 | 128 | 129 | 130 | MSBuild:Compile 131 | Designer 132 | 133 | 134 | QRCodeRect.xaml 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | RoutesTableDialog.xaml 143 | 144 | 145 | Component 146 | 147 | 148 | NotifyIconComponent.cs 149 | 150 | 151 | Designer 152 | MSBuild:Compile 153 | 154 | 155 | Designer 156 | MSBuild:Compile 157 | 158 | 159 | Designer 160 | MSBuild:Compile 161 | 162 | 163 | MSBuild:Compile 164 | Designer 165 | 166 | 167 | App.xaml 168 | Code 169 | 170 | 171 | 172 | 173 | 174 | MainView.xaml 175 | Code 176 | 177 | 178 | 179 | 180 | Code 181 | 182 | 183 | True 184 | True 185 | Resources.resx 186 | 187 | 188 | True 189 | Settings.settings 190 | True 191 | 192 | 193 | ResXFileCodeGenerator 194 | Resources.Designer.cs 195 | 196 | 197 | NotifyIconComponent.cs 198 | 199 | 200 | 201 | 202 | SettingsSingleFileGenerator 203 | Settings.Designer.cs 204 | 205 | 206 | 207 | 208 | Designer 209 | 210 | 211 | 212 | 213 | False 214 | Microsoft .NET Framework 4.6.1 %28x86 和 x64%29 215 | true 216 | 217 | 218 | False 219 | .NET Framework 3.5 SP1 220 | false 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | -------------------------------------------------------------------------------- /NodeTapGui/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Resources; 3 | using System.Runtime.CompilerServices; 4 | using System.Runtime.InteropServices; 5 | using System.Windows; 6 | 7 | // 有关程序集的一般信息由以下 8 | // 控制。更改这些特性值可修改 9 | // 与程序集关联的信息。 10 | [assembly: AssemblyTitle("NodeTapGui")] 11 | [assembly: AssemblyDescription("")] 12 | [assembly: AssemblyConfiguration("")] 13 | [assembly: AssemblyCompany("Microsoft")] 14 | [assembly: AssemblyProduct("NodeTapGui")] 15 | [assembly: AssemblyCopyright("Copyright © Microsoft 2018")] 16 | [assembly: AssemblyTrademark("")] 17 | [assembly: AssemblyCulture("")] 18 | 19 | // 将 ComVisible 设置为 false 会使此程序集中的类型 20 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 21 | //请将此类型的 ComVisible 特性设置为 true。 22 | [assembly: ComVisible(false)] 23 | 24 | //若要开始生成可本地化的应用程序,请设置 25 | //.csproj 文件中的 CultureYouAreCodingWith 26 | //例如,如果您在源文件中使用的是美国英语, 27 | //使用的是美国英语,请将 设置为 en-US。 然后取消 28 | //对以下 NeutralResourceLanguage 特性的注释。 更新 29 | //以下行中的“en-US”以匹配项目文件中的 UICulture 设置。 30 | 31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] 32 | 33 | 34 | [assembly: ThemeInfo( 35 | ResourceDictionaryLocation.None, //主题特定资源词典所处位置 36 | //(未在页面中找到资源时使用, 37 | //或应用程序资源字典中找到时使用) 38 | ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置 39 | //(未在页面中找到资源时使用, 40 | //、应用程序或任何主题专用资源字典中找到时使用) 41 | )] 42 | 43 | 44 | // 程序集的版本信息由下列四个值组成: 45 | // 46 | // 主版本 47 | // 次版本 48 | // 生成号 49 | // 修订号 50 | // 51 | // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 52 | // 方法是按如下所示使用“*”: : 53 | // [assembly: AssemblyVersion("1.0.*")] 54 | [assembly: AssemblyVersion("1.0.0.0")] 55 | [assembly: AssemblyFileVersion("1.0.0.0")] 56 | -------------------------------------------------------------------------------- /NodeTapGui/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.42000 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace NodeTapGui.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// 一个强类型的资源类,用于查找本地化的字符串等。 17 | /// 18 | // 此类是由 StronglyTypedResourceBuilder 19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen 21 | // (以 /str 作为命令选项),或重新生成 VS 项目。 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// 返回此类使用的缓存的 ResourceManager 实例。 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("NodeTapGui.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// 使用此强类型资源类,为所有资源查找 51 | /// 重写当前线程的 CurrentUICulture 属性。 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /NodeTapGui/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 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 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /NodeTapGui/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.42000 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace NodeTapGui.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.7.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /NodeTapGui/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /NodeTapGui/Properties/app.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 47 | 54 | 55 | 69 | -------------------------------------------------------------------------------- /NodeTapGui/Styles/Generic.xaml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /NodeTapGui/Views/MainView.xaml: -------------------------------------------------------------------------------- 1 |  18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 42 | 43 | 52 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 |