Click here to Skip to main content
15,914,201 members
Home / Discussions / C#
   

C#

 
AnswerRe: Implementing "Merge replication" in vs.net 2005 Pin
Pete O'Hanlon31-Jan-07 22:21
mvePete O'Hanlon31-Jan-07 22:21 
Questionoop materials Pin
md_refay31-Jan-07 21:25
md_refay31-Jan-07 21:25 
AnswerRe: oop materials Pin
bobsugar22231-Jan-07 21:53
bobsugar22231-Jan-07 21:53 
Questionpainting a part of image Pin
samreengr831-Jan-07 21:14
samreengr831-Jan-07 21:14 
AnswerRe: painting a part of image Pin
bobsugar22231-Jan-07 21:41
bobsugar22231-Jan-07 21:41 
AnswerRe: painting a part of image Pin
Christian Graus31-Jan-07 22:42
protectorChristian Graus31-Jan-07 22:42 
Questionfile transfer between webserver and a local server Pin
kalyan_241631-Jan-07 20:56
kalyan_241631-Jan-07 20:56 
QuestionRetrieve data from a Dataset into an string array - how?? Pin
ComCoderCsharp31-Jan-07 20:41
ComCoderCsharp31-Jan-07 20:41 
AnswerRe: Retrieve data from a Dataset into an string array - how?? Pin
Mircea Puiu31-Jan-07 20:58
Mircea Puiu31-Jan-07 20:58 
QuestionOpenFileDialog dlg = new OpenFileDialog(); Pin
Eyungwah31-Jan-07 20:32
Eyungwah31-Jan-07 20:32 
AnswerRe: OpenFileDialog dlg = new OpenFileDialog(); Pin
Mircea Puiu31-Jan-07 20:52
Mircea Puiu31-Jan-07 20:52 
QuestionUser Control Pin
Biswajit Ghosh31-Jan-07 20:25
Biswajit Ghosh31-Jan-07 20:25 
AnswerRe: User Control Pin
Christian Graus31-Jan-07 20:26
protectorChristian Graus31-Jan-07 20:26 
GeneralRe: User Control Pin
Biswajit Ghosh31-Jan-07 20:29
Biswajit Ghosh31-Jan-07 20:29 
GeneralRe: User Control Pin
bobsugar22231-Jan-07 22:01
bobsugar22231-Jan-07 22:01 
GeneralRe: User Control Pin
Biswajit Ghosh1-Feb-07 19:49
Biswajit Ghosh1-Feb-07 19:49 
GeneralRe: User Control Pin
Biswajit Ghosh1-Feb-07 19:51
Biswajit Ghosh1-Feb-07 19:51 
I created a user control that contains labels, textboxes and comboboxes and added it in my tabpages(4 tabpages) dynamically through programming.

I created a class named clsProject and declared a read write property Name from where textboxes will get there values. e.g

"txtName.Text = clsProject.Name"

My Question is :

I would like to display it in all my tabpages. But how could I? I would like to do this in following manner.

tabcontrol1.tabpages1.textName.text = clsProject.Name
tabcontrol1.tabpages2.textName.text = clsProject.Name


So that I can save the corresponding tab pages text box control values
in a routine name Save(), if the user changes the Name of for each tabpages.

e.g.

Void Save()
{
clsProject.Name = tabcontrol1.tabpages1.textName.text
clsProject.Name = tabcontrol1.tabpages2.textName.text
}


Can you tell me how can I resolve this problem ?


GeneralRe: User Control Pin
Christian Graus1-Feb-07 20:28
protectorChristian Graus1-Feb-07 20:28 
AnswerRe: User Control Pin
aSarafian1-Feb-07 2:15
aSarafian1-Feb-07 2:15 
GeneralRe: User Control Pin
Biswajit Ghosh1-Feb-07 19:48
Biswajit Ghosh1-Feb-07 19:48 
GeneralRe: User Control Pin
aSarafian1-Feb-07 21:16
aSarafian1-Feb-07 21:16 
AnswerRe: User Control Pin
Luc Pattyn1-Feb-07 7:16
sitebuilderLuc Pattyn1-Feb-07 7:16 
GeneralRe: User Control Pin
Biswajit Ghosh1-Feb-07 19:47
Biswajit Ghosh1-Feb-07 19:47 
GeneralRe: User Control Pin
Luc Pattyn1-Feb-07 23:41
sitebuilderLuc Pattyn1-Feb-07 23:41 
QuestionHow to use WM_COPYDATA to send a struct to another process? Pin
huheng_0_031-Jan-07 20:14
huheng_0_031-Jan-07 20:14 

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.