In your usercontrol override OnPaint like this:
protected override void OnPaint(PaintEventArgs e)
{
if (this.DesignMode)
this.EditButton.Text = "I'm in design mode";
base.OnPaint(e);
}
or do the same but for the OnPaint in your window
Hi Guru, Here is the code snipet: System.Reflection.Assembly ass = System.Reflection.Assembly.GetExecutingAssembly(); string[] files = ass.GetManifestResourceNames(); for(int i=0;i<files.Length;i++) MessageBox.Show(files[i]); Thanks,
Gopal.S