Click here to Skip to main content
16,011,120 members
Home / Discussions / C#
   

C#

 
GeneralRe: Decompiling framework methods Pin
leppie9-Aug-04 22:48
leppie9-Aug-04 22:48 
GeneralRe: Decompiling framework methods Pin
leppie9-Aug-04 22:43
leppie9-Aug-04 22:43 
QuestionCustom control that can get keyboard focus? Pin
misterbear9-Aug-04 20:48
misterbear9-Aug-04 20:48 
AnswerRe: Custom control that can get keyboard focus? Pin
leppie9-Aug-04 22:34
leppie9-Aug-04 22:34 
QuestionC# to Manipulate Excel? Pin
Anonymous9-Aug-04 20:19
Anonymous9-Aug-04 20:19 
AnswerRe: C# to Manipulate Excel? Pin
Nick Parker10-Aug-04 4:14
protectorNick Parker10-Aug-04 4:14 
Generaldynamically adding tabpages to a tabcontrol Pin
samithas9-Aug-04 17:53
samithas9-Aug-04 17:53 
GeneralRe: dynamically adding tabpages to a tabcontrol Pin
Heath Stewart9-Aug-04 17:57
protectorHeath Stewart9-Aug-04 17:57 
The same way the designer does it - this isn't magic like Visual Basic (6 and below). Designer code is serialized to source code; taking a look at that would be a first step to understanding.

The TabControl has a collection property - TabPages - that you can add instances of a TabPage to. If you read the .NET Framework SDK for both of these classes, setting a title and adding a page to a tab control should be obvious:
TabPage page = new TabPage("My Caption");
tabControl1.TabPages.Add(page);


 

Microsoft MVP, Visual C#
My Articles
GeneralRe: dynamically adding tabpages to a tabcontrol Pin
samithas9-Aug-04 18:47
samithas9-Aug-04 18:47 
GeneralRe: dynamically adding tabpages to a tabcontrol Pin
sreejith ss nair9-Aug-04 20:06
sreejith ss nair9-Aug-04 20:06 
GeneralDrag and Drop to Desktop Pin
c-minor9-Aug-04 17:32
c-minor9-Aug-04 17:32 
GeneralRe: Drag and Drop to Desktop Pin
Heath Stewart9-Aug-04 17:54
protectorHeath Stewart9-Aug-04 17:54 
Generalado .net sql insert - should be simple but don't get it Pin
JeromeKJerome9-Aug-04 14:07
JeromeKJerome9-Aug-04 14:07 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
Heath Stewart9-Aug-04 18:01
protectorHeath Stewart9-Aug-04 18:01 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
JeromeKJerome10-Aug-04 6:23
JeromeKJerome10-Aug-04 6:23 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
Heath Stewart10-Aug-04 6:29
protectorHeath Stewart10-Aug-04 6:29 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
JeromeKJerome10-Aug-04 8:17
JeromeKJerome10-Aug-04 8:17 
GeneralRe: ado .net sql insert - should be simple but don't get it Pin
Heath Stewart10-Aug-04 9:44
protectorHeath Stewart10-Aug-04 9:44 
GeneralThin Client Pin
Anton Dorrestijn9-Aug-04 12:53
Anton Dorrestijn9-Aug-04 12:53 
GeneralRe: Thin Client Pin
Nick Parker9-Aug-04 13:52
protectorNick Parker9-Aug-04 13:52 
GeneralMixing .NET languages Pin
paulains9-Aug-04 12:47
paulains9-Aug-04 12:47 
GeneralRe: Mixing .NET languages Pin
Mark Greenwood9-Aug-04 13:27
Mark Greenwood9-Aug-04 13:27 
GeneralRe: Mixing .NET languages Pin
paulains9-Aug-04 17:51
paulains9-Aug-04 17:51 
GeneralRe: Mixing .NET languages Pin
Heath Stewart9-Aug-04 18:05
protectorHeath Stewart9-Aug-04 18:05 
GeneralRe: Mixing .NET languages Pin
Nick Parker9-Aug-04 13:45
protectorNick Parker9-Aug-04 13:45 

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.