Skip to content

Commit ebca18d

Browse files
committed
Update
1 parent 1eee828 commit ebca18d

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,3 @@ Tools
3636
---
3737
![Hosts](doc/Tools.png)
3838

39-
### Support the project
40-
41-
| | Address |
42-
| --- | --- |
43-
|**BTC** | `bc1p3ledqqnj582acr9q8md53d79frumnzkdldcax76ac0apyg0vyw3s2tjwm6`|
44-
|**ETH** | `0x3702c8f2d2d73c073ed294b180646b265b05c5c2` |

XboxDownload/DnsListen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public void Listen()
407407
}
408408
try
409409
{
410-
var proxy = new UdpClient();
410+
using UdpClient proxy = new();
411411
proxy.Client.ReceiveTimeout = 6000;
412412
proxy.Connect(iPEndPoint);
413413
proxy.Send(buff, read);

XboxDownload/Form1.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,7 @@ await Task.Run(() =>
565565
{
566566
MessageBox.Show("Incorrect DNS server IP", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
567567
tbDnsIP.Focus();
568+
tbDnsIP.SelectAll();
568569
return;
569570
}
570571
}
@@ -579,6 +580,7 @@ await Task.Run(() =>
579580
{
580581
MessageBox.Show("Incorrect Xbox games download IP", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
581582
tbGameIP.Focus();
583+
tbGameIP.SelectAll();
582584
return;
583585
}
584586
}
@@ -593,6 +595,7 @@ await Task.Run(() =>
593595
{
594596
MessageBox.Show("Incorrect Xbox apps download IP", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
595597
tbAppIP.Focus();
598+
tbAppIP.SelectAll();
596599
return;
597600
}
598601
}
@@ -607,6 +610,7 @@ await Task.Run(() =>
607610
{
608611
MessageBox.Show("Incorrect PS games download IP", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
609612
tbPSIP.Focus();
613+
tbPSIP.SelectAll();
610614
return;
611615
}
612616
}
@@ -621,6 +625,7 @@ await Task.Run(() =>
621625
{
622626
MessageBox.Show("Incorrect NS games download IP", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
623627
tbNSIP.Focus();
628+
tbNSIP.SelectAll();
624629
return;
625630
}
626631
}
@@ -635,6 +640,7 @@ await Task.Run(() =>
635640
{
636641
MessageBox.Show("Incorrect EA games download IP", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
637642
tbEAIP.Focus();
643+
tbEAIP.SelectAll();
638644
return;
639645
}
640646
}
@@ -649,6 +655,7 @@ await Task.Run(() =>
649655
{
650656
MessageBox.Show("Incorrect Battle games download IP", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
651657
tbBattleIP.Focus();
658+
tbBattleIP.SelectAll();
652659
return;
653660
}
654661
}

0 commit comments

Comments
 (0)