which events does BringToFront() method trigger?
问题 I have two Forms, Form1 and Form2 and I want to do something in Form2 whenever I call Form2.BringToFront() in Form1. class Form1 : Form { button1_MouseClick() { Form2.BringToFront(); // trigger an event an do something in Form2 } } class Form2 : Form { UnknownEvent_EventHandler() { //do something } } But Documentation on BringToFrontMethod doesn't say which events does this method trigger. Notice I don't want to create a public method on Form2 and call it. 回答1: Well it doesn't fire one