Click here to Skip to main content
15,905,232 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to add new connection in connection manager programatically? Pin
Mike Dimmick15-Apr-04 4:42
Mike Dimmick15-Apr-04 4:42 
Generalmy tab control is slow Pin
robmays15-Apr-04 3:22
robmays15-Apr-04 3:22 
GeneralRe: my tab control is slow Pin
Heath Stewart15-Apr-04 3:25
protectorHeath Stewart15-Apr-04 3:25 
GeneralRe: my tab control is slow Pin
robmays15-Apr-04 3:39
robmays15-Apr-04 3:39 
GeneralRe: my tab control is slow Pin
Heath Stewart15-Apr-04 3:44
protectorHeath Stewart15-Apr-04 3:44 
GeneralRe: my tab control is slow Pin
robmays15-Apr-04 3:54
robmays15-Apr-04 3:54 
GeneralRe: my tab control is slow Pin
robmays15-Apr-04 3:59
robmays15-Apr-04 3:59 
GeneralRe: my tab control is slow Pin
Heath Stewart15-Apr-04 4:01
protectorHeath Stewart15-Apr-04 4:01 
No, I don't.

A better OO design - and might help cut down on the lag you're experience - is to extend the TabPage class and create classes for each of your tabs that have all the controls configured. For your TabControl, simply instantiate each one of them and add them in the appropriate order (reverse order if using TabControl.TabPages.AddRange). This will remove almost all the code from the offending source file and would provide a more abstract design as well, and is conceptually the same as property pages used through the Windows shell and many applications.

 

Microsoft MVP, Visual C#
My Articles
GeneralTab order Pin
phimix15-Apr-04 3:05
phimix15-Apr-04 3:05 
GeneralTimers in C# Pin
bouli15-Apr-04 3:01
bouli15-Apr-04 3:01 
GeneralRe: Timers in C# Pin
Heath Stewart15-Apr-04 3:20
protectorHeath Stewart15-Apr-04 3:20 
GeneralRe: Timers in C# Pin
bouli15-Apr-04 3:29
bouli15-Apr-04 3:29 
Generalsetup and deployment projects Pin
Dpriya15-Apr-04 2:59
Dpriya15-Apr-04 2:59 
GeneralRe: setup and deployment projects Pin
bouli15-Apr-04 3:05
bouli15-Apr-04 3:05 
GeneralRe: setup and deployment projects Pin
Heath Stewart15-Apr-04 3:48
protectorHeath Stewart15-Apr-04 3:48 
GeneralRe: setup and deployment projects Pin
Heath Stewart15-Apr-04 3:41
protectorHeath Stewart15-Apr-04 3:41 
GeneralRe: setup and deployment projects Pin
bouli15-Apr-04 4:05
bouli15-Apr-04 4:05 
GeneralRe: setup and deployment projects Pin
Heath Stewart15-Apr-04 4:11
protectorHeath Stewart15-Apr-04 4:11 
GeneralRe: setup and deployment projects Pin
bouli15-Apr-04 4:20
bouli15-Apr-04 4:20 
GeneralRe: setup and deployment projects Pin
Heath Stewart15-Apr-04 5:00
protectorHeath Stewart15-Apr-04 5:00 
GeneralStrongly typed DataSet from a web service Pin
bjoernen15-Apr-04 2:49
bjoernen15-Apr-04 2:49 
GeneralRe: Strongly typed DataSet from a web service Pin
Heath Stewart15-Apr-04 3:58
protectorHeath Stewart15-Apr-04 3:58 
GeneralRe: Strongly typed DataSet from a web service Pin
bjoernen15-Apr-04 4:47
bjoernen15-Apr-04 4:47 
GeneralRe: Strongly typed DataSet from a web service Pin
Heath Stewart15-Apr-04 5:03
protectorHeath Stewart15-Apr-04 5:03 
GeneralRe: Strongly typed DataSet from a web service Pin
bjoernen15-Apr-04 21:06
bjoernen15-Apr-04 21:06 

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.