mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Update MPN00BS
This commit is contained in:
parent
c32d1740e3
commit
b439ad1511
58 changed files with 173 additions and 139164 deletions
|
@ -9,17 +9,16 @@ namespace MPN00BS
|
|||
public partial class LoadingWindow : Window
|
||||
{
|
||||
|
||||
private void OnClientExit()
|
||||
|
||||
public void OnServerStarted()
|
||||
{
|
||||
Dispatcher.UIThread.InvokeAsync(() =>
|
||||
{
|
||||
this.Hide();
|
||||
new SystemTrayIcon().Show();
|
||||
this.Close();
|
||||
});
|
||||
}
|
||||
public void OnServerStarted()
|
||||
{
|
||||
ServerStarter.StartHorseIsleClient(OnClientExit, "127.0.0.1", 12321);
|
||||
}
|
||||
public void OnNoUsersFound()
|
||||
{
|
||||
Dispatcher.UIThread.InvokeAsync(() =>
|
||||
|
@ -33,10 +32,6 @@ namespace MPN00BS
|
|||
Dispatcher.UIThread.InvokeAsync(() =>
|
||||
{
|
||||
startupProgress.Value++;
|
||||
if (startupProgress.Value >= startupProgress.Maximum)
|
||||
{
|
||||
this.Hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
public LoadingWindow()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue