Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

C# User Interface development - Binding Source

Posted on 2011-09-23
1
Medium Priority
?
651 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 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

877 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