Click here to Skip to main content
15,908,166 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to use ISAPI extension in my web server Pin
Heath Stewart12-Nov-03 3:52
protectorHeath Stewart12-Nov-03 3:52 
GeneralWorking with C# and Databases Pin
UCVishnu11-Nov-03 16:35
UCVishnu11-Nov-03 16:35 
GeneralRe: Working with C# and Databases Pin
Heath Stewart11-Nov-03 17:40
protectorHeath Stewart11-Nov-03 17:40 
GeneralRe: Working with C# and Databases Pin
Anonymous11-Nov-03 22:52
Anonymous11-Nov-03 22:52 
QuestionHow do I make the Form Menu Hide or SHOW with ESC key? Pin
CSharp131411-Nov-03 12:06
CSharp131411-Nov-03 12:06 
AnswerRe: How do I make the Form Menu Hide or SHOW with ESC key? Pin
Heath Stewart11-Nov-03 17:45
protectorHeath Stewart11-Nov-03 17:45 
GeneralRe: How do I make the Form Menu Hide or SHOW with ESC key? Pin
CSharp131414-Nov-03 2:47
CSharp131414-Nov-03 2:47 
GeneralRe: How do I make the Form Menu Hide or SHOW with ESC key? Pin
Heath Stewart14-Nov-03 2:54
protectorHeath Stewart14-Nov-03 2:54 
Well, there's only one way to learn, bubba. Start reading the topics in MSDN and start-off basic if you can't understand the "advanced" (even though it's not) stuff. Making guesses and asking others for complete examples won't teach you anything.

Here's a (rather thorough) tip, though: handle the KeyDown event and in the KeyEventArgs check if the KeyEventArgs.KeyCode property is set to KeyCode.Escape. Then either call Show or Hide on the Form. The only problem is that once the form is hidden, it won't receive keyboard events because it doesn't have the focus. So, you'll have to have another Window that is capable of showing the window again if the [ESC] key is pressed again.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: How do I make the Form Menu Hide or SHOW with ESC key? Pin
CSharp131414-Nov-03 3:34
CSharp131414-Nov-03 3:34 
GeneralRe: How do I make the Form Menu Hide or SHOW with ESC key? Pin
Heath Stewart14-Nov-03 4:29
protectorHeath Stewart14-Nov-03 4:29 
GeneralDataGrid Images Pin
pnolan11-Nov-03 11:54
pnolan11-Nov-03 11:54 
GeneralRe: DataGrid Images Pin
Daniel Zaharia11-Nov-03 12:45
Daniel Zaharia11-Nov-03 12:45 
GeneralRe: DataGrid Images Pin
Anonymous11-Nov-03 13:25
Anonymous11-Nov-03 13:25 
QuestionHow can I limit my program to running just one instance. Pin
mcgahanfl11-Nov-03 10:47
mcgahanfl11-Nov-03 10:47 
AnswerRe: How can I limit my program to running just one instance. Pin
jeff_martin11-Nov-03 11:06
jeff_martin11-Nov-03 11:06 
GeneralRe: How can I limit my program to running just one instance. Pin
mcgahanfl11-Nov-03 12:30
mcgahanfl11-Nov-03 12:30 
GeneralRe: How can I limit my program to running just one instance. Pin
Alvaro Mendez12-Nov-03 10:25
Alvaro Mendez12-Nov-03 10:25 
GeneralRe: How can I limit my program to running just one instance. Pin
jeff_martin12-Nov-03 10:30
jeff_martin12-Nov-03 10:30 
GeneralRe: How can I limit my program to running just one instance. Pin
Alvaro Mendez12-Nov-03 10:39
Alvaro Mendez12-Nov-03 10:39 
AnswerRe: How can I limit my program to running just one instance. Pin
Kentamanos13-Nov-03 6:11
Kentamanos13-Nov-03 6:11 
GeneralRe: How can I limit my program to running just one instance. Pin
mcgahanfl13-Nov-03 8:05
mcgahanfl13-Nov-03 8:05 
GeneralC# seting valuse in another form Pin
Anonymous11-Nov-03 8:55
Anonymous11-Nov-03 8:55 
GeneralRe: C# seting valuse in another form Pin
Hesham Amin11-Nov-03 9:43
Hesham Amin11-Nov-03 9:43 
GeneralRe: C# seting valuse in another form Pin
Member 44190911-Nov-03 10:50
Member 44190911-Nov-03 10:50 
GeneralRe: C# seting valuse in another form Pin
Hesham Amin12-Nov-03 0:33
Hesham Amin12-Nov-03 0:33 

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.