-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathForm1.cs
811 lines (697 loc) · 29.6 KB
/
Form1.cs
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
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
98
99
100
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
143
144
145
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
188
189
190
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
using System.Drawing.Imaging;
using System.Net.Sockets;
namespace Show_Invested_Coins
{
public partial class Form1 : Form
{
private string data;
public int easy_coins, normal_coins, elite_coins;
public bool automode;
public bool useLocalStorage;
private bool gameMenuScreenshotDone;
public string userpass;
private const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
public string leaderboard;
public string leaderboardlist;
Form6 form6;
[DllImport("user32.dll")]
private static extern IntPtr GetForegroundWindow();
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern int GetWindowText(IntPtr hWnd, StringBuilder lpString, int nMaxCount);
[DllImport("user32.dll", SetLastError = true)]
static extern uint GetWindowThreadProcessId(IntPtr hWnd, out uint lpdwProcessId);
public static string RandomString(int length)
{
Random random = new Random();
return new string(Enumerable.Repeat(chars, length)
.Select(s => s[random.Next(s.Length)]).ToArray());
}
public static Boolean testRandomString(string str)
{
int valcount = 0;
if (str.Length != 10) return false;
for(int i=0;i<10;i++)
{
for(int j=0;j<chars.Length;j++)
{
if(chars[j] == str[i])
{
valcount++;
break;
}
}
}
if (valcount == 10)
return true;
else
return false;
}
public int readFile(string _filename, string what_to_change)
{
string filename = data + _filename;
String line;
try
{
//Pass the file path and file name to the StreamReader constructor
StreamReader sr = new StreamReader(filename);
//Read the first line of text
line = sr.ReadLine();
//Continue to read until you reach end of file
while (line != null)
{
if(what_to_change == "username")
{
form6.textBox4.Text = line;
break; // Only 1 line in the file
}
if (what_to_change == "textbox")
textBox1.Text = line;
if (what_to_change == "checkbox")
{
if (line.Split('|')[0] == "False") {
checkBox1.CheckState = CheckState.Unchecked;
checkBox2.Checked = false;
}
else
{
checkBox1.CheckState = CheckState.Checked;
checkBox1.Checked = true;
}
if (line.Split('|')[1] == "False")
{
checkBox2.CheckState = CheckState.Unchecked;
checkBox2.Checked = false;
}
else
{
checkBox2.CheckState = CheckState.Checked;
checkBox2.Checked = true;
}
/*if (line.ToLower() == "false")
{
checkBox2.CheckState = CheckState.Unchecked;
checkBox2.Checked = false;
}
else
{
checkBox2.CheckState = CheckState.Checked;
checkBox2.Checked = true;
}*/
}
if (what_to_change == "coinvalues") {
string[] values = line.Split(",");
easy_coins = Int32.Parse(values[0]);
normal_coins = Int32.Parse(values[1]);
elite_coins = Int32.Parse(values[2]);
}
if(what_to_change == "userpass")
{
userpass = line;
}
// Read the next line
line = sr.ReadLine();
}
if(easy_coins == 0) { easy_coins = 3; }
if (normal_coins == 0) { normal_coins = 5; }
if (elite_coins == 0) { elite_coins = 7; }
sr.Close();
}
catch (Exception)
{
Console.WriteLine("File "+_filename+ "could not be read!");
if (_filename == "dd_uselocal")
{
// dd_local not there
return -2;
}
else
{
return -1;
}
}
return 0;
}
public void writeFile(string filename, string content)
{
filename = data + filename;
try
{
//Pass the filepath and filename to the StreamWriter Constructor
StreamWriter sw = new StreamWriter(filename);
//Write a line of text
sw.WriteLine(content);
//Close the file
sw.Close();
}
catch (Exception e)
{
Console.WriteLine("File could not be written!");
}
finally
{
//Console.WriteLine("Executing finally block.");
}
}
public void deleteFile(string filename)
{
File.Delete(data + filename);
}
public Form1()
{
InitializeComponent();
data = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData).ToString() + @"\DogeDashCoins\";
Directory.CreateDirectory(data);
automode = false;
gameMenuScreenshotDone = false;
// TODO HERE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
if (readFile("dd_uselocal", "") == -2 && readFile("dd_account", "") == 0) // dd_uselocal not there but dd_account there
{
if (!checkServer())
{
using (DialogCenteringService centeringService = new DialogCenteringService(this)) {
MessageBox.Show("Warning, the server is down, or your firewall blocks access to it. We will use your local storage for saving your data as long the blockage isn't removed! Please allow this program in your firewall and restart it!");
useLocalStorage = true;
writeFile("dd_uselocal", "");
deleteFile("dd_account");
}
}
else // Server is on, but both files exist, remove all local dd_files except dd_account and use dd_account
{
useLocalStorage = false;
deleteFile("dd_uselocal");
deleteFile("dd_coins");
deleteFile("dd_config");
deleteFile("dd_values");
}
}
else
{
if (readFile("dd_uselocal", "") == -1 && readFile("dd_account", "") == -1) { // If nothing exists
// File exists, use only local storage
useLocalStorage = true;
loadOfflineValuesIntoWindow();
}
}
if (!useLocalStorage) {
// create user pass (account) and file automatically at the very first run, if not needed later, delete that account and use
// that one the user inputs in the options dialog
loadOnlineValuesIntoWindow();
}
else
{
// If local storage is set, user only can use server, if he actively checks the box in the options dialog!
}
form6 = new Form6(this);
}
public void loadOnlineValuesIntoWindow()
{
if (readFile("dd_account", "") == -1)
{
// Create new account
userpass = RandomString(10);
writeFile("dd_account", userpass);
}
else
{
// File (account) already exists, read userpass
readFile("dd_account", "userpass");
}
// TODO: Read coins and coin values in one server connection at once:
readFromServer("coins");
readFromServer("config"); // Main-Window checkbox-states
}
public void loadOfflineValuesIntoWindow()
{
// load values from drive
readFile("dd_coins", "textbox");
readFile("dd_config", "checkbox");
readFile("dd_values", "coinvalues");
label4.Text = easy_coins + "+";
label5.Text = normal_coins + "+";
label6.Text = elite_coins + "+";
}
public void writeToServer(string command, string sendStr)
{
if (!useLocalStorage)
{
const int PORT_NO = 7075;
const string SERVER_IP = "serviceserver.ddnsfree.com";
string textToSend = userpass + "_" + command + "_write_" + sendStr;
// create a TCPClient object at the IP and port no.
try
{
TcpClient client = new TcpClient(SERVER_IP, PORT_NO);
NetworkStream nwStream = client.GetStream();
byte[] bytesToSend = ASCIIEncoding.ASCII.GetBytes(textToSend);
// send
nwStream.Write(bytesToSend, 0, bytesToSend.Length);
if (command == "getleaderboard")
{
byte[] leaderboardBytes = new byte[client.ReceiveBufferSize];
int bytesRead = nwStream.Read(leaderboardBytes, 0, client.ReceiveBufferSize);
this.leaderboard = Encoding.ASCII.GetString(leaderboardBytes, 0, bytesRead);
//MessageBox.Show("Sendstring: ["+textToSend+"[\n"+leaderboard.Length+ "bytes read back");
}
client.Close();
}
catch (SocketException ex)
{
if (ex.SocketErrorCode.ToString() == "ConnectionRefused")
{
// Server is down
MessageBox.Show("Warning, the server is down, or your firewall blocks access to it. We will use your local storage for saving your data as long the blockage isn't removed! If you want online storage again, please enable it in the options! Please allow this program in your firewall and restart it!");
useLocalStorage = true;
writeFile("dd_uselocal", "");
}
}
}
}
public bool checkServer()
{
const int PORT_NO = 7075;
const string SERVER_IP = "serviceserver.ddnsfree.com";
string textToSend = "test";
// create a TCPClient object at the IP and port no.
try
{
TcpClient client = new TcpClient(SERVER_IP, PORT_NO);
NetworkStream nwStream = client.GetStream();
byte[] bytesToSend = ASCIIEncoding.ASCII.GetBytes(textToSend);
// send
nwStream.Write(bytesToSend, 0, bytesToSend.Length);
// read "ok"
byte[] bytesToRead = new byte[client.ReceiveBufferSize];
int bytesRead = nwStream.Read(bytesToRead, 0, client.ReceiveBufferSize);
client.Close();
//MessageBox.Show(Encoding.ASCII.GetString(bytesToRead, 0, bytesRead));
if (Encoding.ASCII.GetString(bytesToRead, 0, bytesRead) == "ok") {
return true;
}
else {
return false;
}
}
catch (SocketException ex)
{
/*if (ex.SocketErrorCode.ToString() == "ConnectionRefused")
{
// Server is down
MessageBox.Show("Warning, the server is down, or your firewall blocks access to it. We will use your local storage for saving your data as long the blockage isn't removed!");
useLocalStorage = true;
writeFile("dd_uselocal", "");
}*/
//MessageBox.Show(ex.Message);
//MessageBox.Show(ex.NativeErrorCode.ToString());
return false;
}
}
public async void readFromServer(string command)
{
if (!useLocalStorage)
{
const int PORT_NO = 7075;
const string SERVER_IP = "serviceserver.ddnsfree.com";
string textToSend = userpass + "_" + command + "_read";
// create a TCPClient object at the IP and port no.
try {
TcpClient client = new TcpClient(SERVER_IP, PORT_NO);
NetworkStream nwStream = client.GetStream();
byte[] bytesToSend = ASCIIEncoding.ASCII.GetBytes(textToSend);
// send
nwStream.Write(bytesToSend, 0, bytesToSend.Length);
// read
byte[] bytesToRead = new byte[client.ReceiveBufferSize];
int bytesRead = nwStream.Read(bytesToRead, 0, client.ReceiveBufferSize);
if (command == "coins") {
textBox1.Text = Encoding.ASCII.GetString(bytesToRead, 0, bytesRead).Split('|')[0];
easy_coins = Int32.Parse(Encoding.ASCII.GetString(bytesToRead, 0, bytesRead).Split('|')[1].Split(',')[0]);
normal_coins = Int32.Parse(Encoding.ASCII.GetString(bytesToRead, 0, bytesRead).Split('|')[1].Split(',')[1]);
elite_coins = Int32.Parse(Encoding.ASCII.GetString(bytesToRead, 0, bytesRead).Split('|')[1].Split(',')[2]);
label4.Text = easy_coins.ToString()+"+"; label5.Text = normal_coins.ToString() + "+"; label6.Text = elite_coins.ToString() + "+";
}
if(command == "config") {
checkBox1.CheckState = ((Encoding.ASCII.GetString(bytesToRead, 0, bytesRead).Split('|')[0]) == "True") ? CheckState.Checked : CheckState.Unchecked;
checkBox2.CheckState = ((Encoding.ASCII.GetString(bytesToRead, 0, bytesRead).Split('|')[1]) == "True") ? CheckState.Checked : CheckState.Unchecked;
}
if(command == "leaderboard") {
// get latest leaderboard-results
this.leaderboard = Encoding.ASCII.GetString(bytesToRead, 0, bytesRead);
}
if (command == "getleaderboardactual")
{
this.leaderboard = Encoding.ASCII.GetString(bytesToRead, 0, bytesRead);
}
if (command == "leaderboardlist") { // Get file-list of old leaderboards to call later
this.leaderboardlist = Encoding.ASCII.GetString(bytesToRead, 0, bytesRead);
}
if(command == "username") {
form6.textBox4.Text = Encoding.ASCII.GetString(bytesToRead, 0, bytesRead);
}
if(command == "uniqueplayers")
{
form6.label14.Text = Encoding.ASCII.GetString(bytesToRead, 0, bytesRead);
}
client.Close();
}
catch (SocketException ex)
{
if (ex.SocketErrorCode.ToString() == "ConnectionRefused")
{
// Server is down
MessageBox.Show("Warning, the server is down, or your firewall blocks access to it. We will use your local storage for saving your data as long the blockage isn't removed! If you want online storage again, please enable it in the options! Please allow this program in your firewall and restart it!");
useLocalStorage = true;
writeFile("dd_uselocal", "");
}
}
/*catch(IndexOutOfRangeException)
{
}
catch(System.FormatException)
{
}*/
}
}
public bool testServer()
{
const int PORT_NO = 7075;
const string SERVER_IP = "serviceserver.ddnsfree.com";
TcpClient tcpClient = new TcpClient();
try
{
tcpClient.Connect(SERVER_IP, PORT_NO);
return true;
}
catch (Exception)
{
return false;
}
}
private void button2_Click(object sender, EventArgs e)
{
textBox1.Text = (Int32.Parse(textBox1.Text) + normal_coins).ToString();
}
private void label1_Click(object sender, EventArgs e)
{
}
private void Form1_Load(object sender, EventArgs e)
{
button7.Visible = button8.Visible = button9.Visible = false;
}
private void label2_Click(object sender, EventArgs e)
{
}
private void button4_Click(object sender, EventArgs e)
{
if (checkBox2.CheckState == CheckState.Checked)
{
Form2 form2 = new Form2(this);
form2.TopMost = true;
form2.ShowDialog();
}
else
{
ChangeTextBoxText = "0";
}
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
if (useLocalStorage)
{
writeFile("dd_coins", textBox1.Text);
}
else
{
writeToServer("coins", textBox1.Text);
}
}
private void button3_Click(object sender, EventArgs e)
{
textBox1.Text = (Int32.Parse(textBox1.Text) + elite_coins).ToString();
}
private void button1_Click(object sender, EventArgs e)
{
textBox1.Text = (Int32.Parse(textBox1.Text) + easy_coins).ToString();
}
private void label3_Click(object sender, EventArgs e)
{
}
private void button5_Click(object sender, EventArgs e)
{
Form3 form3 = new Form3();
form3.TopMost = true;
form3.ShowDialog();
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("explorer.exe", "https://play.dogedash.com");
}
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
string data = checkBox1.Checked.ToString() + "|" + checkBox2.Checked.ToString();
if (TopMost)
{
TopMost = false;
}
else
{
TopMost = true;
}
if (useLocalStorage)
{
writeFile("dd_config", data);
}
else
{
writeToServer("config", data);
}
}
private void label4_Click(object sender, EventArgs e)
{
}
private void label7_Click(object sender, EventArgs e)
{
}
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
//System.Diagnostics.Process.Start("explorer.exe", "https://poocoin.app/tokens/0x7ae5709c585ccfb3e61ff312ec632c21a5f03f70");
System.Diagnostics.Process.Start("explorer.exe", "https://poocoin.app/tokens/0x0f1cbed8efa0e012adbccb1638d0ab0147d5ac00");
}
private async void HookManager_MouseDown(object sender, MouseEventArgs e)
{
//Debug.Print(e.X.ToString() + " " + e.Y.ToString());
Task<int> numPictures = getGameButtons(e);
int result = await numPictures;
if(result > 0)
{
Debug.Print("numPictures =" + result);
}
}
private async void test()
{
const int count = 512;
int counter = 0;
var text = new StringBuilder(count);
await Task.Delay(2000); // wait, let user switch to browser and then start
string exe = (GetActiveProcess().MainModule.FileName).Split(@"\").Last().ToLower();
HookManager.MouseDown -= HookManager_MouseDown; // disable temporarily
IntPtr handle = GetForegroundWindow();
int length = GetWindowText(handle, text, count);
while (length > 0)
{
var image = ScreenCapture.CaptureActiveWindow(handle, counter++);
image.Save("ingame" + counter + ".png", ImageFormat.Png);
await Task.Delay(1000);
}
}
// Will be called continuously as long HookManager is not disabled!!
private async Task<int> getGameButtons(MouseEventArgs e)
{
//await Task.Delay(1500); // Game is loading...
const int count = 512;
// Max number of screenshots to take (in hope there's the main screen we need).
const int max_pics = 14;
var text = new StringBuilder(count);
bool ok = false;
int counter = 0;
if(automode)
{
Debug.Print("in event...");
//if (gameMenuScreenshotDone)
// return;
string exe = (GetActiveProcess().MainModule.FileName).Split(@"\").Last().ToLower();
IntPtr handle = GetForegroundWindow();
if (GetWindowText(handle, text, count) > 0)
{
ok = false;
switch (exe)
{
case "iexplore.exe":
case "firefox.exe":
case "edge.exe":
case "opera.exe":
case "brave.exe":
case "vivaldi.exe":
case "duckduckgo.exe":
case "safari.exe":
case "chrome.exe":
case "chromium.exe":
ok = true;
break;
default:
ok = false;
break;
}
}
string title = text.ToString().ToLower();
//if(ok && (title == "dogedash") && !title.Contains("game portal") && !title.Contains("coin calculator") && !title.Contains("token tracker"))
if(ok && (title == "dogedash - mozilla firefox") ||
(title == "dogedash - brave") ||
(title == "dogedash - google chrome") ||
(title == "dogedash - microsoft edge") ||
(title == "dogedash - opera") ||
(title == "dogedash - safari")) {
ok = false;
// We are at the main screen now
// System.ArgumentException can happen if user clicks away from browser-window
/*MemoryStream mem1 = new MemoryStream();
MemoryStream mem2 = new MemoryStream();
image.Save(mem1, ImageFormat.Png);
mem1.WriteTo(mem2);
mem1.Dispose();
await Task.Delay(500);
mem2.Dispose();*/
HookManager.MouseDown -= HookManager_MouseDown;
// get screenshot several times because of unknown game loading time
if (gameMenuScreenshotDone == false) { // important
for (int i = 0; i < max_pics; i++)
{
var image = ScreenCapture.CaptureActiveWindow(handle, counter++);
// Hope to catch one picture with the main-menu
image.Save("mainscreen" + i + ".png", ImageFormat.Png);
await Task.Delay(1000);
}
gameMenuScreenshotDone = true;
return max_pics; // important also
}
}
//await Task.Delay(1000);
} return 0;
}
public Process GetActiveProcess()
{
IntPtr handle = GetForegroundWindow();
uint pID;
GetWindowThreadProcessId(handle, out pID);
return Process.GetProcessById((Int32)pID);
}
private void button7_Click(object sender, EventArgs e)
{
Debug.Print("automode: "+ automode);
// TODO (Switch button type to permanent on / permanent off button and add or subtract handler: += or -=)
if (automode == false) {
HookManager.MouseDown += HookManager_MouseDown;
automode = true;
}
//Bitmap img = new("button_pressed.png");
// < >
/*
for (int y = img.Height; y >=0; y--)
{
}
for (int x = 0; x < img.Width; x++)
{
for (int y = 0; y < img.Height; y++)
{
Color pixel = img.GetPixel(x, y);
}
}*/
}
private void button8_Click(object sender, EventArgs e)
{
//Debug.Print("automode_" + automode);
if (automode == true)
{
HookManager.MouseDown -= HookManager_MouseDown;
automode = false;
}
}
private void checkBox2_CheckedChanged(object sender, EventArgs e)
{
string data = checkBox1.Checked.ToString() + "|" + checkBox2.Checked.ToString();
if (useLocalStorage)
{
writeFile("dd_config", data);
}
else
{
writeToServer("config", data);
}
}
public void writeCheckBoxStatesToFile()
{
string data = checkBox1.Checked.ToString() + "|" + checkBox2.Checked.ToString();
writeFile("dd_config", data);
}
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape)
{
this.Close();
}
}
private void label6_Click(object sender, EventArgs e)
{
}
private void pictureBox1_Click(object sender, EventArgs e)
{
}
private void button10_Click(object sender, EventArgs e)
{
if (useLocalStorage)
{
MessageBox.Show("Sorry, but you have disabled account-creation in the options and can't use these features! Please create an account there, check the option \"Save configuration on a server...\"!");
}
else
{
form6.TopMost = true;
form6.ShowDialog();
}
}
private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("explorer.exe", "https://www.dextools.io/app/en/bnb/pair-explorer/0x54e6358f24927c259aaf53aa230b56e2d27b5810");
}
private void Form1_Shown(Object sender, EventArgs e)
{
if (readFile("dd_donatebox", "") == -1)
{
writeFile("dd_donatebox", "");
Form7 info = new Form7(this);
info.ShowDialog();
}
}
private void button9_Click(object sender, EventArgs e)
{
test();
}
private void button6_Click(object sender, EventArgs e)
{
Form4 form4 = new Form4(this);
form4.TopMost = true;
form4.ShowDialog();
}
}
}