This is a migrated thread and some comments may be shown as answers.

The name 'Resource' does not exist in the current context

1 Answer 183 Views
Form
This is a migrated thread and some comments may be shown as answers.
Dang Vu
Top achievements
Rank 1
Dang Vu asked on 29 Jun 2010, 11:53 AM
Hi everybody,
I'm new in telerik control. When i read code in the forum:
Telerik.WinControls.UI.SplashForm splashForm = new Telerik.WinControls.UI.SplashForm();
 splashForm.BackgroundImage = Resource.splash; //The name 'Resource' does not exist in the current context
 splashForm.Show();

and i can't found the Resource class in line 2. Where can i found it?

1 Answer, 1 is accepted

Sort by
0
Boryana
Telerik team
answered on 01 Jul 2010, 04:51 PM
Hi Dang Vu,

Thank you for writing.

Please refer to the following msdn article. This is a tutorial that illustrates how to add resources to your project. I hope you find this helpful.


All the best,
Boryana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Form
Asked by
Dang Vu
Top achievements
Rank 1
Answers by
Boryana
Telerik team
Share this question
or