c# - How to check if the resize is still in progress with OnResize event? -


After regenerating it I have to redo a control, because its size is not changed, because It takes a lot of time to redo a control and it ruins many resources.

My control receives control class and I'm overriding the OnResize event

PS : Onesize Changes is exactly the same

Parental control / form Only after resizing, a solution can change the size of your control. You can do this by using the 'ResizeEnd' event. For example:

  Private Zero User Control 1_load (Object Sender, EventErgus E) {(this form) .President). ResizeEnd + = New EventHandler (UserControl1_ResizeEnd); } Void UserControl1_ResizeEnd (Object Sender, EventArgs e) {MessageBox.Show ("Change the Size of the End"); }  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -