6 Replies
in what ui framework? wpf, winforms, something else? what do you need to code the button to do?
$details
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, and what you expect the result to be. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
wpf sorry im new to code
c#
wpf
In the xaml file
<Button />
Button - WPF .NET Framework
Learn about the Button control in this article, which reacts to user input from a mouse, keyboard, stylus, or other input device.