hi!! i have a program with two forms, the program starts on form1, on the load event i show the form2, this works really good but i have a cancel button on the form2, if the user click this button i have to close all the program, i am ush=ing dialogevent.cancel after the user click button1 on form2 and then on form1 i take the eventdialog and if it is =cancel. i use me.close. but this give a error that says error system.forms handling window can someone help me?