private void Stop(object sender, System.ComponentModel.CancelEventArgs e) { ConnectionList.DataContext = null; if (server != null) { server.Dispose(); } }
public static void Main() { ETServer server = new ETServer(); server.Start(); server.shutdown.WaitOne(); server.Dispose(); }
public static void Main() { ETServer server = new ETServer(); server.Start(); server.shutdown.WaitOne(); server.Dispose(); }