Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

C# User Interface development - Binding Source

Posted on 2011-09-23
1
Medium Priority
?
648 Views
Last Modified: 2012-08-13
I am relatively new in C#, but I have created the form with bindingsource1 on it and some other controls like C1FlexGrid. Withing application as far as I can tell form works.  I have to develop mire forms that similar to the first one in design and the way the grid has it bindings.  I expected to be able to make a copy  - Copy of Form1 and rename it into Form2.  Then I go thru Form 2 Initialize Component and change BindingSource.DataSource.  Something happening during this process that affects Form1 .BindingSsource and Forms1.cs loses the reference to BindingSource1.  Sorry if the explanation is vague, but the question is there a correct process to make a copy of the form1 into form2 and dont break Form1.
0
Comment
Question by:Aquarus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
Lord_Death earned 2000 total points
ID: 36586384
if you copy Form1.cs and rename it into Form2.cs

you have to change all constructors in Form2 to its correct name, for example in .cs file and .designer file you have to do the renaming thing.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to implement Singleton Design Pattern in Java.
This video teaches viewers about errors in exception handling.

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question