SyntaxFix
Write A Post
Hire A Developer
Questions
Button btn = new Button(); btn.Name = "btn1"; btn.Click += btn1_Click; private void btn1_Click(object sender, RoutedEventArgs e) { // do something }