You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-14 22:26:29 +09:00
Tweaked/fixed some samples
This commit is contained in:
@@ -19,8 +19,15 @@ namespace ImageClient
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
MainForm = new Form1();
|
||||
|
||||
Application.Idle += new EventHandler(AppLoop);
|
||||
Application.Run(MainForm);
|
||||
try
|
||||
{
|
||||
Application.Idle += new EventHandler(AppLoop);
|
||||
Application.Run(MainForm);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("Ouch: " + ex);
|
||||
}
|
||||
}
|
||||
|
||||
static void AppLoop(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user