public override void OnButtonClick(int buttonID) { switch (buttonID) { case 0: Dispose(); break; case 1: WorldModel world = ServiceRegistry.GetService <WorldModel>(); world.Disconnect(); Dispose(); break; } }
private void logout_OnClose() { _world.Disconnect(); }
void logout_OnClose() { m_World.Disconnect(); }