Click here to Skip to main content
15,900,724 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: How to use WM_COPYDATA to send a struct to another process? Pin
Luc Pattyn1-Feb-07 7:38
sitebuilderLuc Pattyn1-Feb-07 7:38 
GeneralRe: How to use WM_COPYDATA to send a struct to another process? Pin
huheng_0_01-Feb-07 17:56
huheng_0_01-Feb-07 17:56 
GeneralRe: How to use WM_COPYDATA to send a struct to another process? Pin
Luc Pattyn2-Feb-07 9:41
sitebuilderLuc Pattyn2-Feb-07 9:41 
QuestionHELP: how to select specific node in XML using c# Pin
drifters31-Jan-07 20:13
drifters31-Jan-07 20:13 
AnswerRe: HELP: how to select specific node in XML using c# Pin
Christian Graus31-Jan-07 20:27
protectorChristian Graus31-Jan-07 20:27 
GeneralRe: HELP: how to select specific node in XML using c# Pin
drifters31-Jan-07 20:32
drifters31-Jan-07 20:32 
GeneralRe: HELP: how to select specific node in XML using c# [modified] Pin
bobsugar22231-Jan-07 22:19
bobsugar22231-Jan-07 22:19 
GeneralRe: HELP: how to select specific node in XML using c# [modified] Pin
drifters31-Jan-07 22:32
drifters31-Jan-07 22:32 
GeneralRe: HELP: how to select specific node in XML using c# Pin
Stefan Troschuetz31-Jan-07 22:33
Stefan Troschuetz31-Jan-07 22:33 

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.