Home Forums WinForms controls Xceed Grid for WinForms buttons in grid cell Reply To: buttons in grid cell

User (Old forums)
Post count: 23064

I must be doing something wrong. The buttons show in the row correctly but when I click one, the program shuts down. I have attached a click event to the button and the event fires, but once the event is done, the program just ends. Here is the code:

AddHandler btn.Click, AddressOf MailMergeButton

Private Sub MailMergeButton(ByVal sender As Object, ByVal e As EventArgs)
Dim mailmergeForm As New frmMailMerge

End Sub

After the form closes, the entire program shuts down.

Any help would be greatly appreciated!

Imported from legacy forums. Posted by twlichty (had 5035 views)