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

C#

 
QuestionTab control with pages that are the same. Pin
__John_18-Oct-11 3:14
__John_18-Oct-11 3:14 
AnswerRe: Tab control with pages that are the same. Pin
PIEBALDconsult18-Oct-11 3:26
mvePIEBALDconsult18-Oct-11 3:26 
GeneralRe: Tab control with pages that are the same. Pin
BobJanova18-Oct-11 5:09
BobJanova18-Oct-11 5:09 
GeneralRe: Tab control with pages that are the same. Pin
PIEBALDconsult18-Oct-11 8:01
mvePIEBALDconsult18-Oct-11 8:01 
GeneralRe: Tab control with pages that are the same. Pin
BobJanova18-Oct-11 22:33
BobJanova18-Oct-11 22:33 
AnswerRe: Tab control with pages that are the same. Pin
Wayne Gaylard18-Oct-11 3:31
professionalWayne Gaylard18-Oct-11 3:31 
GeneralRe: Tab control with pages that are the same. Pin
__John_18-Oct-11 4:18
__John_18-Oct-11 4:18 
AnswerRe: Tab control with pages that are the same. Pin
BillWoodruff19-Oct-11 23:05
professionalBillWoodruff19-Oct-11 23:05 
A bit OT: this thread reminds me of a hack I once did where I had, for each TabPage in a WinForms TabControl, a set of Controls that had identical functionality in each TabPage (even if the controls did 'harvest' information unique to the TabPage they were inside).

In order to avoid duplicating them on each TabPage, I just put the controls in a UserControl, and inserted them ... as the user changed TabPages ... using the SelectedIndexChanged Event ... into the the currently visible TabPage.

Of course I did the right thing so that the Controls inside the UserControl were exposed, and could be accessed, and could have top-level event-handlers, etc.

Never quite decided if this was a clever hack, or just poor design Smile | :)

best, Bill
"Last year I went fishing with Salvador Dali. He was using a dotted
line. He caught every other fish." Steven Wright

QuestionWhich IP Address Represents LocalHost Pin
Richard Andrew x6417-Oct-11 20:32
professionalRichard Andrew x6417-Oct-11 20:32 
AnswerRe: Which IP Address Represents LocalHost [SOLVED] Pin
Richard Andrew x6417-Oct-11 20:45
professionalRichard Andrew x6417-Oct-11 20:45 
GeneralRe: Which IP Address Represents LocalHost [SOLVED] Pin
Richard MacCutchan17-Oct-11 23:18
mveRichard MacCutchan17-Oct-11 23:18 
AnswerRe: Which IP Address Represents LocalHost Pin
Abhinav S18-Oct-11 3:29
Abhinav S18-Oct-11 3:29 
GeneralRe: Which IP Address Represents LocalHost Pin
Dave Kreskowiak18-Oct-11 4:10
mveDave Kreskowiak18-Oct-11 4:10 
GeneralRe: Which IP Address Represents LocalHost Pin
jschell18-Oct-11 8:28
jschell18-Oct-11 8:28 
GeneralRe: Which IP Address Represents LocalHost Pin
Alisaunder18-Oct-11 8:58
Alisaunder18-Oct-11 8:58 
AnswerRe: Which IP Address Represents LocalHost Pin
jschell18-Oct-11 8:39
jschell18-Oct-11 8:39 
GeneralRe: Which IP Address Represents LocalHost Pin
Richard Andrew x6418-Oct-11 9:08
professionalRichard Andrew x6418-Oct-11 9:08 
AnswerRe: Which IP Address Represents LocalHost Pin
yoolo19-Oct-11 6:03
yoolo19-Oct-11 6:03 
QuestionError in DataContractSerializer class Pin
Sachin Sangal17-Oct-11 19:06
Sachin Sangal17-Oct-11 19:06 
AnswerRe: Error in DataContractSerializer class Pin
Richard MacCutchan17-Oct-11 23:16
mveRichard MacCutchan17-Oct-11 23:16 
GeneralRe: Error in DataContractSerializer class Pin
Sachin Sangal17-Oct-11 23:23
Sachin Sangal17-Oct-11 23:23 
GeneralRe: Error in DataContractSerializer class Pin
Mycroft Holmes17-Oct-11 23:35
professionalMycroft Holmes17-Oct-11 23:35 
GeneralRe: Error in DataContractSerializer class Pin
zincsulfate18-Oct-11 0:03
zincsulfate18-Oct-11 0:03 
GeneralRe: Error in DataContractSerializer class Pin
Dave Kreskowiak18-Oct-11 1:35
mveDave Kreskowiak18-Oct-11 1:35 
QuestionBug in .Net 2.0's ArrayList.Clone? Pin
Firo Atrum Ventus17-Oct-11 16:34
Firo Atrum Ventus17-Oct-11 16:34 

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.