Click here to Skip to main content
15,890,282 members
Home / Discussions / C#
   

C#

 
AnswerRe: how can i invoke parent class in child? Pin
Ista31-Jul-03 17:30
Ista31-Jul-03 17:30 
GeneralRe: Create New Folder Pin
William Forney30-Jul-03 20:12
William Forney30-Jul-03 20:12 
GeneralRe: Create New Folder Pin
Nick Seng30-Jul-03 22:09
Nick Seng30-Jul-03 22:09 
Generaltools for viewing dll Pin
zecodela30-Jul-03 18:07
zecodela30-Jul-03 18:07 
GeneralRe: tools for viewing dll Pin
Nick Parker30-Jul-03 19:18
protectorNick Parker30-Jul-03 19:18 
GeneralRe: tools for viewing dll Pin
zecodela30-Jul-03 19:50
zecodela30-Jul-03 19:50 
GeneralCapture Inbound/Outbound traffic Pin
Andrew-J30-Jul-03 18:02
Andrew-J30-Jul-03 18:02 
QuestionCentering a form?!? Pin
monrobot1330-Jul-03 11:36
monrobot1330-Jul-03 11:36 
I must be going mental or something because I can't for the life of me get one form to center on top of another. It seems to me that this code should work, but it doesn't.
this.Top = (this.Owner.Height / 2) - this.Height;  // I've tried both + and -
this.Left = (this.Owner.Width / 2) + this.Width;
but it never centers the form. What am I doing wrong here?

- monrobot13
AnswerRe: Centering a form?!? Pin
Kastro30-Jul-03 11:42
Kastro30-Jul-03 11:42 
GeneralRe: Centering a form?!? Pin
Ista30-Jul-03 14:39
Ista30-Jul-03 14:39 
GeneralRe: Centering a form?!? Pin
Nick Parker30-Jul-03 17:46
protectorNick Parker30-Jul-03 17:46 
GeneralRe: Centering a form?!? Pin
Ista30-Jul-03 18:20
Ista30-Jul-03 18:20 
GeneralRe: Centering a form?!? Pin
Nick Parker30-Jul-03 19:19
protectorNick Parker30-Jul-03 19:19 
GeneralRe: Centering a form?!? Pin
Ista31-Jul-03 5:02
Ista31-Jul-03 5:02 
GeneralHiding columns in a datagrid Pin
Ista30-Jul-03 10:50
Ista30-Jul-03 10:50 
GeneralRe: Hiding columns in a datagrid Pin
William Forney30-Jul-03 20:34
William Forney30-Jul-03 20:34 
GeneralRe: Hiding columns in a datagrid Pin
Ista31-Jul-03 5:01
Ista31-Jul-03 5:01 
Generalxml to listbox? its gettin more tricky Pin
jphuphilly30-Jul-03 10:39
jphuphilly30-Jul-03 10:39 
GeneralRe: xml to listbox? its gettin more tricky Pin
Not Active30-Jul-03 14:40
mentorNot Active30-Jul-03 14:40 
GeneralRe: xml to listbox? its gettin more tricky Pin
jphuphilly31-Jul-03 2:16
jphuphilly31-Jul-03 2:16 
GeneralRe: xml to listbox? its gettin more tricky Pin
Ista30-Jul-03 14:41
Ista30-Jul-03 14:41 
GeneralRe: xml to listbox? its gettin more tricky Pin
EziDotNet1-Aug-03 23:19
EziDotNet1-Aug-03 23:19 
GeneralSaving the State of Windows Form Controls Pin
Tim130-Jul-03 8:44
Tim130-Jul-03 8:44 
GeneralRe: Saving the State of Windows Form Controls Pin
Csharp™30-Jul-03 9:45
Csharp™30-Jul-03 9:45 
GeneralRe: Saving the State of Windows Form Controls Pin
Tim130-Jul-03 9:57
Tim130-Jul-03 9:57 

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.