Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7636291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:38:18+00:00 2026-05-31T07:38:18+00:00

I am using c# in Windows Visual Studio 2010. I had to remove several

  • 0

I am using c# in Windows Visual Studio 2010. I had to remove several controls on a form in order to insert two SplitContainers. The event code for these controls was left intact. After getting the two SplitContainers set up, I added the removed controls, one at a time. I renamed them and set them up just as they were. When I checked the the “Event” I saw that none of the event items had been recognized. Is there an easy way to re-associate the controls with the event code?

Thanks in advance,
Bob

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T07:38:19+00:00Added an answer on May 31, 2026 at 7:38 am

    There is. You’ll see code like this in the .Designer.cs files if you created them with the designer and there’s no reason you can’t do this in your own code manually.

    //Control.Event += AppropriateMethodName;
    yourControl.Click += yourControl_Click;
    

    If I interpreted your question incorrectly above, you may have meant that you removed them within the designer. If that’s the case, when you see the event in the properties window, you can click the drop-down menu and select from a list of existing methods that match the appropriate signature for the event.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running Windows 7 Ultimate (64 bit) using Visual Studio 2010 RC. I recently
I have created an OData/WCF service using Visual Studio 2010 on Windows XP SP3
I am using Windows 7 and Visual Studio 2010 express. What is the bare
I'm using Windows Vista and Visual Studio 2010. Create a .Net 4 Windows Forms
I am using C# windows Forms in visual studio 2010. I need to know
I'm using Visual Studio 2010 & Expression Blend 4, the target is Windows Phone
Hi I am using Windows Presentation Foundation with .NET in MS Visual Studio 2010
I'm working with winforms on Windows 7, using C# in Visual Studio 2010. Currently
I'm using 64 bit Windows 7 Pro and Visual Studio 2010 Pro. I'm trying
I'm using Visual Studio 2010 on a Windows XP SP3 machine and I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.