コード例 #1
0
 private void OnOffline()
 {
     chatController            = null;
     userController            = null;
     groupController           = null;
     newsController            = null;
     fileListingController     = null;
     fileTransferController    = null;
     privateMessagesController = null;
 }
コード例 #2
0
        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);
        }