Click here to Skip to main content
15,925,206 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Question.net framework1.1 Pin
dimuthuvbnet26-Oct-07 0:08
dimuthuvbnet26-Oct-07 0:08 
AnswerRe: .net framework1.1 Pin
Dave Kreskowiak26-Oct-07 2:32
mveDave Kreskowiak26-Oct-07 2:32 
AnswerRe: .net framework1.1 Pin
Paul Conrad27-Oct-07 8:44
professionalPaul Conrad27-Oct-07 8:44 
QuestionTextbox Borderstyle Bug? Pin
Th0rian25-Oct-07 11:09
Th0rian25-Oct-07 11:09 
AnswerRe: Textbox Borderstyle Bug? Pin
Th0rian26-Oct-07 5:17
Th0rian26-Oct-07 5:17 
QuestionManaging Configuration Pin
MCEdwards24-Oct-07 23:05
MCEdwards24-Oct-07 23:05 
AnswerRe: Managing Configuration Pin
Pete O'Hanlon24-Oct-07 23:36
mvePete O'Hanlon24-Oct-07 23:36 
Question.net 2.0 to .net 1.1 Pin
Bad Programmer24-Oct-07 6:34
Bad Programmer24-Oct-07 6:34 
AnswerRe: .net 2.0 to .net 1.1 Pin
Dave Kreskowiak24-Oct-07 7:06
mveDave Kreskowiak24-Oct-07 7:06 
AnswerRe: .net 2.0 to .net 1.1 Pin
Pete O'Hanlon24-Oct-07 8:55
mvePete O'Hanlon24-Oct-07 8:55 
GeneralRe: .net 2.0 to .net 1.1 Pin
Dave Kreskowiak24-Oct-07 9:19
mveDave Kreskowiak24-Oct-07 9:19 
GeneralRe: .net 2.0 to .net 1.1 Pin
Pete O'Hanlon24-Oct-07 21:49
mvePete O'Hanlon24-Oct-07 21:49 
GeneralRe: .net 2.0 to .net 1.1 Pin
Bad Programmer25-Oct-07 3:10
Bad Programmer25-Oct-07 3:10 
AnswerRe: .net 2.0 to .net 1.1 Pin
Paul Conrad27-Oct-07 8:45
professionalPaul Conrad27-Oct-07 8:45 
AnswerRe: .net 2.0 to .net 1.1 Pin
Nouman Bhatti28-Oct-07 21:38
Nouman Bhatti28-Oct-07 21:38 
QuestionClick on disabled control Pin
topcatalpha24-Oct-07 4:29
topcatalpha24-Oct-07 4:29 
AnswerRe: Click on disabled control Pin
Dave Kreskowiak24-Oct-07 7:07
mveDave Kreskowiak24-Oct-07 7:07 
GeneralRe: Click on disabled control Pin
topcatalpha24-Oct-07 20:35
topcatalpha24-Oct-07 20:35 
GeneralRe: Click on disabled control Pin
Dave Kreskowiak25-Oct-07 1:45
mveDave Kreskowiak25-Oct-07 1:45 
GeneralRe: Click on disabled control Pin
topcatalpha25-Oct-07 2:07
topcatalpha25-Oct-07 2:07 
GeneralRe: Click on disabled control Pin
Dave Kreskowiak25-Oct-07 13:01
mveDave Kreskowiak25-Oct-07 13:01 
GeneralRe: Click on disabled control Pin
topcatalpha25-Oct-07 21:06
topcatalpha25-Oct-07 21:06 
GeneralRe: Click on disabled control Pin
Dave Kreskowiak26-Oct-07 2:27
mveDave Kreskowiak26-Oct-07 2:27 
topcatalpha wrote:
i guess this is a choice, fast startup and slow switching or slow startup and fast switching between screens.


Putting the controls for each page on a different form limits the number of controls you're creating on startup, and also limits the number of controls created each time a form is instantiated, so it's still pretty fast.


topcatalpha wrote:
In delphi i could give a form a parent and the form docks on that panel, but that doesn't work in C# dotnet. forms are not dockable on a splitpanel. are am i wrong here?


Sure it does. Forms have a Dock property, just like any other control, and yes, it does work. The Dock property for a form doesn't show up in the Properties panel, but it can be set in code.


topcatalpha wrote:
Do you think using a form instead of a usercontrol will be faster ? or what is the advandage for using a form instead of a usercontrol?


The UserControl is a bit lighter so it does create a little faster (milliseconds, I assure you.) The form has the advantage of maintaining its own BindingContext by default instead of inheriting the parent form's context.

You don't get to see a form in the ToolBox though like you do with a UserControl. But in an app like this, why would you want to?




A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Click on disabled control Pin
topcatalpha26-Oct-07 2:55
topcatalpha26-Oct-07 2:55 
GeneralRegEx Question: Matching a Quoted String Pin
Brady Kelly24-Oct-07 1:01
Brady Kelly24-Oct-07 1:01 

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.