C
C#7mo ago
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.
1 Reply
dandan
dandanOP7mo ago
Want results from more Discord servers?
Add your server