Solved

C# User Interface development - Binding Source

Posted on 2011-09-23
1
642 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
defining NULL or 0 10 50
IEnumerable<T> to a List<T> 8 51
VS 2013 installer,  Install, Update and uninstall via SCCM 6 41
Problem to copy file 14 42
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

680 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