Solved

C# User Interface development - Binding Source

Posted on 2011-09-23
1
640 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
1 Comment
 
LVL 2

Accepted Solution

by:
Lord_Death earned 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Programatically extract date from website 8 65
C# Offline Apllication 5 48
Syntax Error 2 42
Angular JS Route 3 44
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

930 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now