Solved

C# User Interface development - Binding Source

Posted on 2011-09-23
1
639 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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

772 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