Hello Kenneth Jackson,
Thank you for contacting me.
I am not sure if I understand the details of your scenario. Still, you could implement your custom code when the form is minimized using Form.SizeChanged
|void Form1_SizeChanged(object sender, EventArgs e)
| if (this.WindowState == FormWindowState.Minimized)
| //Your custom code
You cannot cancel minimizing the form when the minimize button is clicked. You could only hide the button element and in this way prevent the user to minimize the form:
|(this.radRibbonBar1.RibbonBarElement.Children.Children.Children.Children.Children as RadButtonElement).Visibility = Telerik.WinControls.ElementVisibility.Hidden;
If you have other questions, do not hesitate to contact me again.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.