Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWindowManager.SplashView.cs
More file actions
Latest commit
42 lines (36 loc) · 1.75 KB
/
Copy pathWindowManager.SplashView.cs
File metadata and controls
42 lines (36 loc) · 1.75 KB
1
2
3
4
5
6
7
8
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
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Windows.Controls;
usingSystem.Windows.Controls.Primitives;
usingSystem.Windows.Input;
usingPAYMAP_BACKEND.Views;
usingMahApps.Metro.Controls;
namespacePAYMAP_BACKEND
{
partialclassWindowManager
{
privatestaticSplashView_splashView;
privatestaticToggleButton_splashCreditPAYMAP;
privatestaticToggleButton_splashCreditMJ;
privatestaticToggleButton_splashCreditJY;
privatestaticToggleButton_splashCreditSB;
privatestaticvoidInitializeSplashWindow()
{
if(_splashView==null)return;
_splashCreditPAYMAP=(ToggleButton)_splashView.FindName("CreditPAYMAP");
_splashCreditMJ=(ToggleButton)_splashView.FindName("CreditMJ");
_splashCreditJY=(ToggleButton)_splashView.FindName("CreditJY");
_splashCreditSB=(ToggleButton)_splashView.FindName("CreditSB");
if(_splashCreditPAYMAP==null||_splashCreditMJ==null||_splashCreditJY==null||_splashCreditSB==null)return;
_splashCreditPAYMAP.Click+=(sender,args)=>System.Diagnostics.Process.Start("https://github.com/pay-map");
_splashCreditMJ.Click+=(sender,args)=>System.Diagnostics.Process.Start("https://github.com/MoonJuhan");
_splashCreditJY.Click+=(sender,args)=>System.Diagnostics.Process.Start("https://github.com/LIMECAKE");
_splashCreditSB.Click+=(sender,args)=>System.Diagnostics.Process.Start("https://github.com/seongbuming");
}
publicstaticvoidSetSplashView(SplashViewsplashView)
{
_splashView=splashView;
InitializeSplashWindow();
}
}
}