Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design Time Event Handling
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01412773
Message ID:
01412851
Views:
26
Excellent! Thank you!


>Hi Kevin,
>
>>Is it possible to tell when the user drops a control onto my user control in design mode?
>
>Events fire in both cases... To try this yourself, add the following code to your project:
>
>	class MyPanel : Panel
>	{
>		protected override void OnControlAdded(ControlEventArgs e)
>		{
>			MessageBox.Show("Control added");
>			base.OnControlAdded(e);
>		}
>	}
>
>Build the project, drag MyPanel from the Toolbox onto a form and add any control to the panel by dragging one onto the panel.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform