-
Jun 4th, 2014, 02:45 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] C# Project Goes South When I Remove label1_Click code
I am building a C# Windows Form app project in Visual Studio 2013 Express. I have some labels and one or two of them I accidentally double clicked on. Thus is stuck some code for it in the Program.cs file. I deleted these and poof, I lost my form. I did a Ctrl+Z and got it back. But I really don't need these extraneous code in the file. Is there a way to get rid of these without hosing up the form. BTW, this doesn't happen with Visual Basic editor.
-
Jun 4th, 2014, 03:33 PM
#2
Thread Starter
Hyperactive Member
Re: C# Project Goes South When I Remove label1_Click code
Okay, I found it. I was deleting the only method that was located in the Form1.cs class file. DOH! Shame on me.
-
Jun 5th, 2014, 12:19 AM
#3
Re: C# Project Goes South When I Remove label1_Click code
Don't forget to mark the thread "Resolved"!
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|