Live Chat
Initial Setup
Add a DataGridView.
Set your DataGridView row select to FullRowSelect.
Update Chat
message.Author[1] gets the users username & message.Author[0] gets the users ID.
Send Message
Delete Message
This requires MessageID in order to delete the message.
Add a ContextMenuStrip to your application.
Link your ContextMenuStrip to your DataGridView through its properties.
Double click Delete Message to create a click event.
Edit Message
This requires MessageID in order to edit the message.
Add a ContextMenuStrip to your application.
Link your ContextMenuStrip to your DataGridView through its properties.
Add a panel to your app to edit the message.
Double click Edit Message to create a click event.
Last updated