Link to home
Start Free TrialLog in
Avatar of naseeam
naseeamFlag for United States of America

asked on

dafsd

I'm writing my first  C#  program in Microsoft Visual C# 2010.  From "New Project" window I select "Visual C#", Windows Forms Application.  I create two buttons.  When I double-click first button, it opens up source code window.  I write one line of source code which also propagates to button 2's source code.  

Why ?

I want both buttons to be independent of each other.  Adding code for button 1 shouldn't appear in button 2's source code.
ASKER CERTIFIED SOLUTION
Avatar of jmcg
jmcg
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of naseeam

ASKER

Thank you!