© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
1 reply
dandan

Problem with Updating Messages in Windows Forms (FlowLayoutPanel)

Description:

I'm developing a chat application using Windows Forms in C#. The user interface consists of a FlowLayoutPanel (flpMessages) to display the messages, a TextBox (txtMessage) to type the messages, and a Button (btnSend) to send the messages. I'm also using a Timer to fetch new messages from the database every second.

Problem:

Messages are not appearing on the screen, even though the method that fetches messages from the database is being called
correctly. I've already noticed that the GetMessagesAsync method is returning the expected messages, but they're not showing up in the FlowLayoutPanel.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Windows Forms Problem
C#CC# / help
2y ago
FlowLayoutPanel TopDown problem
C#CC# / help
2y ago
ListView control not updating with data in Windows Forms application
C#CC# / help
2y ago
Windows Forms
C#CC# / help
13mo ago