Click here to Skip to main content
15,925,309 members
Home / Discussions / C#
   

C#

 
GeneralRe: c# remoting on windows xp pro is much slower compared to windows 2k pro Pin
Member 15457952-Mar-05 22:36
Member 15457952-Mar-05 22:36 
QuestionHow to validate NumericUpDown controls? Pin
sachinkalse27-Feb-05 15:02
sachinkalse27-Feb-05 15:02 
AnswerRe: How to validate NumericUpDown controls? Pin
leppie27-Feb-05 19:11
leppie27-Feb-05 19:11 
Questiondownloaded??? Pin
students552 university27-Feb-05 13:45
students552 university27-Feb-05 13:45 
AnswerRe: downloaded??? Pin
Dave Kreskowiak27-Feb-05 18:13
mveDave Kreskowiak27-Feb-05 18:13 
GeneralRe: downloaded??? Pin
leppie27-Feb-05 19:08
leppie27-Feb-05 19:08 
GeneralRe: downloaded??? Pin
Dave Kreskowiak28-Feb-05 0:57
mveDave Kreskowiak28-Feb-05 0:57 
GeneralRe: downloaded??? Pin
leppie28-Feb-05 5:44
leppie28-Feb-05 5:44 
Generalneed IExpando example Pin
Ning Hu27-Feb-05 13:23
Ning Hu27-Feb-05 13:23 
GeneralRe: need IExpando example Pin
leppie27-Feb-05 19:18
leppie27-Feb-05 19:18 
GeneralRun-Time Licensing For VB6 Controls in C# Pin
DTWC_Lawrence27-Feb-05 10:01
DTWC_Lawrence27-Feb-05 10:01 
GeneralRe: Run-Time Licensing For VB6 Controls in C# Pin
Dennis C. Dietrich27-Feb-05 11:03
Dennis C. Dietrich27-Feb-05 11:03 
Generalvery confusing formatting symbols Pin
Pyro Joe27-Feb-05 9:03
Pyro Joe27-Feb-05 9:03 
GeneralRe: very confusing formatting symbols Pin
S. Senthil Kumar27-Feb-05 11:55
S. Senthil Kumar27-Feb-05 11:55 
GeneralRe: very confusing formatting symbols Pin
Pyro Joe27-Feb-05 16:49
Pyro Joe27-Feb-05 16:49 
GeneralRe: very confusing formatting symbols Pin
leppie27-Feb-05 19:24
leppie27-Feb-05 19:24 
GeneralRe: very confusing formatting symbols Pin
Pyro Joe28-Feb-05 3:48
Pyro Joe28-Feb-05 3:48 
GeneralKeyPress ASCII/Form Container questions... Pin
new_phoenix27-Feb-05 8:09
new_phoenix27-Feb-05 8:09 
GeneralRe: KeyPress ASCII/Form Container questions... Pin
S. Senthil Kumar27-Feb-05 9:01
S. Senthil Kumar27-Feb-05 9:01 
GeneralRe: KeyPress ASCII/Form Container questions... Pin
new_phoenix27-Feb-05 9:53
new_phoenix27-Feb-05 9:53 
GeneralRe: KeyPress ASCII/Form Container questions... Pin
Dennis C. Dietrich27-Feb-05 9:03
Dennis C. Dietrich27-Feb-05 9:03 
GeneralRe: KeyPress ASCII/Form Container questions... Pin
new_phoenix27-Feb-05 9:58
new_phoenix27-Feb-05 9:58 
GeneralRe: KeyPress ASCII/Form Container questions... Pin
Dennis C. Dietrich27-Feb-05 10:49
Dennis C. Dietrich27-Feb-05 10:49 
new_phoenix wrote:
I have found the MDIParent property in the Form class as you had suggested, but I am uncertain how to implement it.

I didn't suggest that. That was Senthil.

new_phoenix wrote:
Puzzling thing is though, why isn't the MDIParent property available in the Properties window, is it an abstract class or something?

This makes perfectly sense. The Form.MdiParent Property[^] is of the type Form[^]. Accordingly you need to assign an instance of that class and that of course is only possible at runtime.

new_phoenix wrote:
Do I implement it in the child class like this in the onload event like so:

I'm wondering if you actually read the information on MSDN I mentioned. It's all explained there including working code samples. So, again please check out Multiple-Document Interface (MDI) Applications[^] (especially Creating MDI Child Forms[^]).

new_phoenix wrote:
and should I select isMDIParent in the Main Form first?

If you don't set the Form.IsMdiContainer Property[^] to true you'll get an exception when trying to show a MDI Child.

new_phoenix wrote:
Also, with regard to the implementation of the KeyDown event, how would I implement a KeyDown event trap for the UP and DOWN arrows for example?

There isn't anything like an "event trap". I suggest you read some paragraphs about event handling and delegates (see Events Tutorial[^] and Delegates Tutorial[^]). The code I posted in my previous message is an example for an event handler for the Control.KeyDown Event[^]. As the type of the KeyEventArgs.KeyCode Property[^] is Keys[^] and Keys is an enumeration[^] you don't have to define the key codes yourself.

Best regards
Dennis
GeneralRe: KeyPress ASCII/Form Container questions... Pin
new_phoenix27-Feb-05 11:21
new_phoenix27-Feb-05 11:21 
GeneralRe: KeyPress ASCII/Form Container questions... Pin
S. Senthil Kumar27-Feb-05 11:53
S. Senthil Kumar27-Feb-05 11:53 

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.