Click here to Skip to main content
15,892,517 members
Home / Discussions / C#
   

C#

 
GeneralRe: Create a form from a XML Pin
Mazdak31-Dec-03 19:00
Mazdak31-Dec-03 19:00 
GeneralRe: Create a form from a XML Pin
Stephane Rodriguez.31-Dec-03 21:50
Stephane Rodriguez.31-Dec-03 21:50 
Generalcreate a form dynamically from XML Pin
Member 49620031-Dec-03 15:44
Member 49620031-Dec-03 15:44 
GeneralRounding Pin
Anonymous31-Dec-03 7:09
Anonymous31-Dec-03 7:09 
GeneralRe: Rounding Pin
Mazdak31-Dec-03 7:20
Mazdak31-Dec-03 7:20 
GeneralRe: Rounding Pin
Nick Parker31-Dec-03 7:45
protectorNick Parker31-Dec-03 7:45 
GeneralReadline() ignores some characters Pin
Rostrox31-Dec-03 6:47
Rostrox31-Dec-03 6:47 
GeneralRe: Readline() ignores some characters Pin
Mazdak31-Dec-03 7:06
Mazdak31-Dec-03 7:06 
GeneralRe: Readline() ignores some characters Pin
Rostrox31-Dec-03 8:24
Rostrox31-Dec-03 8:24 
GeneralRe: Readline() ignores some characters Pin
Mazdak31-Dec-03 9:59
Mazdak31-Dec-03 9:59 
GeneralBinaryFormatter.Deserialize() Pin
Guinness4Strength31-Dec-03 6:04
Guinness4Strength31-Dec-03 6:04 
GeneralRe: BinaryFormatter.Deserialize() Pin
Tristan Rhodes31-Dec-03 6:29
Tristan Rhodes31-Dec-03 6:29 
GeneralRe: BinaryFormatter.Deserialize() Pin
Guinness4Strength31-Dec-03 6:41
Guinness4Strength31-Dec-03 6:41 
GeneralRe: BinaryFormatter.Deserialize() Pin
Tristan Rhodes31-Dec-03 6:46
Tristan Rhodes31-Dec-03 6:46 
GeneralRe: BinaryFormatter.Deserialize() Pin
Kentamanos31-Dec-03 8:57
Kentamanos31-Dec-03 8:57 
GeneralRe: BinaryFormatter.Deserialize() Pin
Guinness4Strength1-Jan-04 4:34
Guinness4Strength1-Jan-04 4:34 
GeneralRe: BinaryFormatter.Deserialize() Pin
Kentamanos2-Jan-04 6:07
Kentamanos2-Jan-04 6:07 
GeneralRe: BinaryFormatter.Deserialize() Pin
Heath Stewart31-Dec-03 11:14
protectorHeath Stewart31-Dec-03 11:14 
Generalimplementing rubber banding into a drawing program Pin
Miles Roberts31-Dec-03 5:03
Miles Roberts31-Dec-03 5:03 
GeneralRe: implementing rubber banding into a drawing program Pin
Tristan Rhodes31-Dec-03 6:42
Tristan Rhodes31-Dec-03 6:42 
GeneralRe: implementing rubber banding into a drawing program Pin
Heath Stewart31-Dec-03 11:06
protectorHeath Stewart31-Dec-03 11:06 
Generalhelp meeee plzzzzzz in ActiveX msChart control Pin
hebzzz31-Dec-03 3:27
hebzzz31-Dec-03 3:27 
GeneralRe: help meeee plzzzzzz in ActiveX msChart control Pin
Heath Stewart31-Dec-03 4:49
protectorHeath Stewart31-Dec-03 4:49 
GeneralRe: help meeee plzzzzzz in ActiveX msChart control Pin
Ivan Budiono31-Dec-03 13:27
Ivan Budiono31-Dec-03 13:27 
QuestionHow to duplicate controls from one form to another ?? Pin
nigs_krec31-Dec-03 3:17
nigs_krec31-Dec-03 3:17 
Hello all,
I have a tab control which initially has one tab page. I want to dynamically create some more tab pages which should have the same controls as the first one.
To read the controls on the first page I am doing the following :

Control[] myObjArray = new Control[this.tabControl1.TabPages[2].Controls.Count];<br />
this.tabControl1.TabPages[2].Controls.CopyTo(myObjArray,0);
The problem is, when I try to add the controls obtained using the above method, the controls are removed from the first page.

Control NewControl = new Control();<br />
NewControl = (Control)myObjArray[nCount];<br />
myTabPage.Controls.Add(NewControl);


This method however successfully puts the controls on the newly created page.

Any ideas how I can have the controls on both the pages ?

Thanks in advance.
Regards,
Amit

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.