Click here to Skip to main content
16,021,181 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
http://i.hizliresim.com/LPgpoG.png[^]

There is my trouble's photo. I can't understand anything. The buttons weren't load. I put breakpoint the form's load event. But it is not working. It isn't give any errors or warnings. All projects, which one I opened, do this. Please Help Me . Thanks in Advance.
Posted
Updated 24-Apr-14 12:57pm
v3
Comments
Sergey Alexandrovich Kryukov 24-Apr-14 18:31pm    
There can be many ways to screw up things.
—SA
berkayerdi 24-Apr-14 18:34pm    
how I can solve this ? How can I understand the error is where?
Sergey Alexandrovich Kryukov 24-Apr-14 19:08pm    
I answered on what you can do...
—SA
[no name] 24-Apr-14 18:45pm    
You probably are not calling InitializeComponent. But since you decided not share your code, it's really hard to say.
berkayerdi 24-Apr-14 18:53pm    
That is work. I call InitializeComponent and it solved thanks.

Solution=Adding constructive function and InitializeComponent.
Thanks to http://www.codeproject.com/script/Membership/View.aspx?mid=55831[^]
 
Share this answer
 
Please see my comment to the question. Based on your information, it's hard to say anything certain.

Therefore, do the following: create a brand new Forms project from scratch. Add just one control from a Toobox and run it. It should work immediately. Don't do anything else. Then study the your code and new code and find 10 differences. :-)

If you fail to see the failure, provide more information, or… through it out (is there any value in your code anyway?) and create another project from scratch, this time, accurately. Don't even play with the idea of leaving without Revision Control System. You need it to be able to retrace your steps. Commit changes on every successful small step, especially on your first projects, before you get more experience.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900