• Advertisement
Sign in to follow this  

Change default when using RenderForm

This topic is 2070 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,

As I'm new in these forums, greetings for everyone. I just wanted to know how can I change the default icon which appears as form icon when you declare your application form as a RenderForm. I know in the SlimDx tutorials it is explicit that using RenderForm will turn the form icon to SlimDX one, the question is ¿How to use a custom one?

I've also tried changing it via project settings in Visual C#, but still it displays SlimDX one.

Thanks in advance for any help provided.

Turizoft

Share this post


Link to post
Share on other sites
Advertisement
Can you access the form's properties in the designer and set it there?

Otherwise since Renderform inherits from Form, you should be able to use:


Renderform form = new Renderform(blahblah);
form.Icon = new System.Drawing.Icon("iconpath.jpg");

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement