private void LightNewsContainer_CommentSendButtonClicked(object sender, string Text, int NewsID, int SenderID, bool bEdit, int NewsCommentID) { Thread T = new Thread(delegate() { SplashWindow.CreateCoverSplash(LightNewsContainer.Top, LightNewsContainer.Left, LightNewsContainer.Height, LightNewsContainer.Width); }); T.Start(); while (!SplashWindow.bSmallCreated) { ; } if (bEdit) { ZOVNews.EditComments(SenderID, NewsCommentID, Text); } else { ZOVNews.AddComments(SenderID, 0, NewsID, Text); } ZOVNews.ReloadNews(LightNewsContainer.NewsCount); ZOVNews.ReloadComments(); LightNewsContainer.NewsDataTable = ZOVNews.NewsDataTable.Copy(); LightNewsContainer.CommentsDT = ZOVNews.CommentsDataTable.Copy(); LightNewsContainer.CreateNews(); LightNewsContainer.ScrollToTop(); LightNewsContainer.ReloadNewsItem(NewsID, true); bC = true; }