Hi all
I'm using a dialog form with two bottons and two Radio buttons.
I'm oppening this Dialog when a button is clicked on the parent form.
My situattion is when the Dialog opens the code in the button event continues to execute, but I only want it to continue to execute only after a button from the dialog form have been clicked

Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
            If multipleEXT = 2 Then
            Extension.Show()
            End If
'More Code

Thanks in advence

Extension.ShowDialog()

opens the form in modal mode.

thanks GeekByChoiCe and shahanDev for your help including the link

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.