Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

I've managed to upset Form Designer...

$
0
0

Firstly I'm a newbie to C# so my programs are first steps.  Late last night I was setting some properties in From Designer for MainForm and clicked to run the project.  Suddenly errors spewed on the screen.  Something has happend in MainForm.Designer.cs whereby a method definition has been completely corrupted.

Here is a copy of the area where errors begin....

        ///<summary>
        /// This method is required for Windows Forms designer support.
        /// Do not change the method contents inside the source code editor. The Forms designer might
        /// not be able to load this method if it was changed manually.
        ///</summary>
        
        {
            this.button1 = new System.Windows.Forms.Button();

Clearly something has gone missing between the </summary> and the opening brace.  If it helps diagnose the matter the From Designer tab is no longer available on FormMain.cs; though it is functional in another solution/project.

However I'm lacking in C# knowledge to see what the methos should be. Can anyone help?

 


Viewing all articles
Browse latest Browse all 1764

Trending Articles