C
C#2y ago
MrEmmet66

How to implement that when you click on the button the data that was sent with it will be displayed

How to implement that when you click on the button the data that was sent with it will be displayed
2 Replies
Denis
Denis2y ago
Your question unfortunately is missing a lot of important context. What GUI platform are you using? WinForms, WPF, Blazor, .NET MAUI..? Is it even .NET? Other than that, approach the task the following way. The buttons have a on click event. Clicking invokes an event handler for the button click. The event handler is some method/function. It is responsible for e.g. sending data. So, you just add logic to that method to update the relevant UI item to display information that you want
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.