I have 2 form there are form 1 and form 2

my program current situation is when user click delete it will pop up a login form. When user click cancel button from login form the data on the database will be delete

login_form.PNG

when user click cancel it will restart program and delete my data

the program i would like to write on cancel button is when user click the cancel, form 2 will refresh and the data on the database will not be delete

this is the my program running current situation

A.PNG

InkedB_LI.jpg

C.PNG

i am using vb.net to develop my program

login form cancel button program

can soomeone help me take a look, can someone pls give me a comment