void Message_CloseClicked(Message message)
        {
            if (mw != null && mw.CurrentUser != null && message.Data != null && message.Data.Remote)
            {
                var info = new CloseMessageInfo();
                info.UserConfig = mw.CurrentUser;
                info.MessageId  = message.Data.Id;

                ThreadPool.QueueUserWorkItem(new WaitCallback(CloseMessage_Worker), info);
            }

            message.Shown = false;
            CheckForMessages();
        }
        void Message_CloseClicked(Message message)
        {
            if (mw != null && mw.CurrentUser != null && message.Data != null && message.Data.Remote)
            {
                var info = new CloseMessageInfo();
                info.UserConfig = mw.CurrentUser;
                info.MessageId = message.Data.Id;

                ThreadPool.QueueUserWorkItem(new WaitCallback(CloseMessage_Worker), info);
            }

            message.Shown = false;
            CheckForMessages();
        }