Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

deactivate form not working

Feb 15, 2007 10:23AM PST

private void Form1_Deactivate(object sender, EventArgs e)
{

}

--this isn't activating when the form is hide, so how do I make it enter the deactivate event

Discussion is locked

- Collapse -
manual code
Feb 17, 2007 7:43AM PST

every time the event is created manually it doesnt want to work. for the load event the code has to be generated by double clicking on the form,otherwise it wont work w/ manual typeing of the event.

- Collapse -
deactivation
Feb 17, 2007 7:49AM PST

there sems to be some corelating code needed in the designer (more than one designer)