Click here to Skip to main content
15,888,018 members
Home / Discussions / C#
   

C#

 
GeneralRe: Synchronized collections Pin
Kannan Kalyanaraman12-Mar-03 21:24
Kannan Kalyanaraman12-Mar-03 21:24 
GeneralRe: Synchronized collections Pin
James T. Johnson13-Mar-03 11:33
James T. Johnson13-Mar-03 11:33 
GeneralRe: Synchronized collections Pin
Don Miguel13-Mar-03 19:44
Don Miguel13-Mar-03 19:44 
Generalsharing data Pin
chito12-Mar-03 19:41
chito12-Mar-03 19:41 
GeneralMultiple DataBindings to the same control Pin
Adam Turner12-Mar-03 17:44
Adam Turner12-Mar-03 17:44 
GeneralCentering a form in the screen Pin
Baatezu_Not_Home12-Mar-03 11:42
sussBaatezu_Not_Home12-Mar-03 11:42 
GeneralNevermind - found the answer.... THX Pin
Baatezu_Not_Home12-Mar-03 11:45
sussBaatezu_Not_Home12-Mar-03 11:45 
GeneralRe: Nevermind - found the answer.... THX Pin
James T. Johnson13-Mar-03 11:39
James T. Johnson13-Mar-03 11:39 
I don't know your specific circumstance but this code will always keep the form centered in the screen. This may or may not be desirable, personally I'd find it far too annoying to even use your app anymore.

To center a form on the screen at startup, set the StartupPosition property of the Form to FormStartupPosition.CenterScreen.

Even better is to do the above the first time the app is run, then store user preferences so they don't have to keep resizing/moving the form everytime they run your app.

Of course I don't know your circumstances so you may have a good reason for doing so (kiosk, controller, etc.).

James

"It is self repeating, of unknown pattern"
Data - Star Trek: The Next Generation

GeneralTreeview click events Pin
vlusardi12-Mar-03 9:32
vlusardi12-Mar-03 9:32 
GeneralRe: Treeview click events Pin
Jim Stewart12-Mar-03 10:59
Jim Stewart12-Mar-03 10:59 
GeneralRe: Treeview click events Pin
newdirt12-Mar-03 11:57
newdirt12-Mar-03 11:57 
GeneralRe: Treeview click events Pin
LongRange.Shooter13-Mar-03 6:47
LongRange.Shooter13-Mar-03 6:47 
Generalupper_bound in Collections... Pin
audio-video12-Mar-03 5:52
audio-video12-Mar-03 5:52 
GeneralRe: upper_bound in Collections... Pin
Lerede 12-Mar-03 6:04
Lerede 12-Mar-03 6:04 
QuestionArrays of Class instances -vs- Struct instances? Pin
Anonymous12-Mar-03 5:15
Anonymous12-Mar-03 5:15 
AnswerRe: Arrays of Class instances -vs- Struct instances? Pin
Paul Riley12-Mar-03 7:04
Paul Riley12-Mar-03 7:04 
GeneralRe: Arrays of Class instances -vs- Struct instances? Pin
Anonymous12-Mar-03 11:46
Anonymous12-Mar-03 11:46 
GeneralLooking for Software to document Programs Pin
STW12-Mar-03 5:00
STW12-Mar-03 5:00 
GeneralRe: Looking for Software to document Programs Pin
Paresh Gheewala12-Mar-03 7:45
Paresh Gheewala12-Mar-03 7:45 
QuestionHow to join a .NET dll and .NET exe into a Signle Exe? Pin
J0hn12-Mar-03 3:04
J0hn12-Mar-03 3:04 
AnswerRe: How to join a .NET dll and .NET exe into a Signle Exe? Pin
leppie12-Mar-03 4:06
leppie12-Mar-03 4:06 
GeneralRe: How to join a .NET dll and .NET exe into a Signle Exe? Pin
J0hn12-Mar-03 13:55
J0hn12-Mar-03 13:55 
GeneralRe: How to join a .NET dll and .NET exe into a Signle Exe? Pin
leppie13-Mar-03 3:58
leppie13-Mar-03 3:58 
GeneralRe: How to join a .NET dll and .NET exe into a Signle Exe? Pin
J0hn13-Mar-03 14:40
J0hn13-Mar-03 14:40 
QuestionC# and comm port... How? Pin
nikulin_andrey11-Mar-03 23:43
nikulin_andrey11-Mar-03 23:43 

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.