-
Notifications
You must be signed in to change notification settings - Fork 0
WPF UI
Phong VΓ΅ edited this page Mar 21, 2026
·
1 revision
GitHub-inspired dark theme (Styles.xaml):
| Token | Color | Usage |
|---|---|---|
BgDark |
#0D1117 |
Main background |
BgMedium |
#161B22 |
Cards, panels |
BgLight |
#21262D |
Hover, elevated |
AccentBlue |
#58A6FF |
Primary accent |
AccentGreen |
#3FB950 |
Success, Start button |
AccentRed |
#F85149 |
Error, Stop button |
AccentCyan |
#56D4DD |
Secondary accent |
TextPrimary |
#E6EDF3 |
Main text |
TextSecondary |
#8B949E |
Labels |
MainWindow
βββ Title Bar (gradient)
βββ TabControl (Left, groups)
β βββ π WEB β TabControl (Top, tools)
β β βββ Load Test β LoadTestPanel
β β βββ HTTP Headers β HttpHeadersPanel
β β βββ SSL Checker β SSLPanel
β β βββ WebSocket β WebSocketPanel
β βββ π§ NETWORK β TabControl (Top)
β β βββ Ping β PingPanel
β β βββ Traceroute β TraceroutePanel
β βββ π DISCOVERY β TabControl (Top)
β βββ DNS β DnsPanel
β βββ Port Scanner β PortScanPanel
β βββ IP Scanner β IPScanPanel
β βββ GeoIP β GeoIPPanel
β βββ Whois β WhoisPanel
βββ Status Bar (accent dot + status text)
-
ViewModelBase β
INotifyPropertyChanged+SetProperty - ToolViewModelBase β Engine process management, log, status
-
RelayCommand β
ICommandwithExecute/CanExecute
Mα»i tool module gα»m 4 files:
Modules/ToolName/
βββ ToolNameTool.cs β ITool: metadata + factory
βββ ToolNameViewModel.cs β Logic, parse engine output
βββ ToolNamePanel.xaml β UI layout
βββ ToolNamePanel.xaml.cs β code-behind (minimal)
ββββββββββββββββββββββββββββββββββββββββ
β LEFT (340px) β 12px β RIGHT (*) β
β β gap β β
β CardBorder: β β CardBorderβ
β βββ Config β β βββ Title β
β βββ Buttons β β βββ Data β
β βββ Stats β β (Grid/ β
β β β Chart) β
β CardBorder: β β β
β βββ Log β β β
ββββββββββββββββββββββββββββββββββββββββ