As Pradeep and Bulldog have said, you create a new instance of the details form (G), you disable the button on this form, then do nothing with it - you don't show it or use it in any useful way.

Perhaps you mean to access the frmUserDetails directly and disable the delete button on that? (this is the form you've referenced in the btnLinkToUserDetails_Click event).