TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Tchala B
NA
52
15.3k
WinForms designer error variable is undeclared or unassigned
May 20 2017 5:21 AM
My windows form application form form is giving an error when i change to design mode in visual studio 2015.
It says "The variable 'componentResourceManager' is either undeclared or was never assigned. "
Here is the line with the error
this
.pictureBox1.Image = (Image) componentResourceManager.GetObject(
"pictureBox1.Image"
);
and here is how i initialized the resourcemanager
private
void
InitializeComponent()
{
this
.components = (IContainer)
new
Container();
ComponentResourceManager componentResourceManager =
new
ComponentResourceManager(
typeof
(frmMainMDI));
But when i run the application all the forms load well.What could be the problem?
Reply
Answers (
1
)
the difference between ADO.NET and Entity Framework
Changing String formate of any column's data in gridview.