private void OnOffline() { chatController = null; userController = null; groupController = null; newsController = null; fileListingController = null; fileTransferController = null; privateMessagesController = null; }
private void OnOnline() { Server.Offline += OnOffline; chatController = new ChatController(model); userController = new UserController(model); groupController = new GroupController(model); newsController = new NewsController(model); fileListingController = new FileListingController(model); fileTransferController = new FileTransferController(model); privateMessagesController = new PrivateMessageController(model); }