Click here to Skip to main content
15,887,585 members
Home / Discussions / C#
   

C#

 
AnswerRe: app.config Pin
Judah Gabriel Himango10-Feb-06 4:06
sponsorJudah Gabriel Himango10-Feb-06 4:06 
AnswerRe: app.config Pin
SimonS10-Feb-06 6:14
SimonS10-Feb-06 6:14 
QuestionHow to insert a new column in anywhere of DataSet? Pin
bengoan10-Feb-06 2:25
bengoan10-Feb-06 2:25 
AnswerRe: How to insert a new column in anywhere of DataSet? Pin
Maqsood Ahmed10-Feb-06 4:37
Maqsood Ahmed10-Feb-06 4:37 
GeneralRe: How to insert a new column in anywhere of DataSet? Pin
bengoan10-Feb-06 23:18
bengoan10-Feb-06 23:18 
GeneralRe: How to insert a new column in anywhere of DataSet? Pin
Maqsood Ahmed12-Feb-06 19:37
Maqsood Ahmed12-Feb-06 19:37 
GeneralRe: How to insert a new column in anywhere of DataSet? Pin
bengoan15-Feb-06 18:06
bengoan15-Feb-06 18:06 
QuestionRead mouse buttons when opening form Pin
John Reinhold10-Feb-06 2:22
John Reinhold10-Feb-06 2:22 
Hi there.

I'm pretty new in using C# and VS2005. I've made a little program that opens a calender in a windows form. Here's the trouble:

How can I read the mouse buttons so that I can know if the program is startet by a click (then the left button will still be pressed down when my program starts) or by key press on the keyboard? I can not get the information before the program startes, so I can not open it with this information as a parameter.

I need it to set the position to either the pointers position (when started by mouseclick) or center on the screen (when started by keyboard).

I know that a windows form contains the possibility to call a method upon mouseclick. But in this case, the left mousebutton is pressed down before the program executes and the form opens. But of course, in the beginning of the program, the left button will still be pressed down. So I think that it will be possible to detect, I just don't know how Frown | :-(

I hope that somebody can help me, thanks in advance.


__________________
John Reinhold - DK
AnswerRe: Read mouse buttons when opening form Pin
Judah Gabriel Himango10-Feb-06 4:22
sponsorJudah Gabriel Himango10-Feb-06 4:22 
QuestionCheck to see if VS 2005 is installed? Pin
daktmacfan10-Feb-06 2:15
daktmacfan10-Feb-06 2:15 
AnswerRe: Check to see if VS 2005 is installed? Pin
Judah Gabriel Himango10-Feb-06 5:10
sponsorJudah Gabriel Himango10-Feb-06 5:10 
QuestionXSL Display Problem!!! Pin
Support12310-Feb-06 2:11
Support12310-Feb-06 2:11 
AnswerRe: XSL Display Problem!!! Pin
JacquesDP10-Feb-06 3:09
JacquesDP10-Feb-06 3:09 
GeneralRe: XSL Display Problem!!! Pin
Support12310-Feb-06 3:57
Support12310-Feb-06 3:57 
GeneralRe: XSL Display Problem!!! Pin
JacquesDP10-Feb-06 4:01
JacquesDP10-Feb-06 4:01 
AnswerRe: XSL Display Problem!!! Pin
leppie10-Feb-06 3:09
leppie10-Feb-06 3:09 
GeneralRe: XSL Display Problem!!! Pin
Support12310-Feb-06 4:01
Support12310-Feb-06 4:01 
GeneralRe: XSL Display Problem!!! Pin
leppie10-Feb-06 5:49
leppie10-Feb-06 5:49 
QuestionNew Day Event Pin
alex@alexhitchins.com10-Feb-06 1:40
alex@alexhitchins.com10-Feb-06 1:40 
AnswerRe: New Day Event Pin
benjymous10-Feb-06 2:37
benjymous10-Feb-06 2:37 
GeneralRe: New Day Event Pin
alex@alexhitchins.com10-Feb-06 2:44
alex@alexhitchins.com10-Feb-06 2:44 
AnswerRe: New Day Event Pin
mav.northwind10-Feb-06 8:31
mav.northwind10-Feb-06 8:31 
Questionshutdown external win32 application Pin
Ibana10-Feb-06 1:36
Ibana10-Feb-06 1:36 
QuestionReal Time Notification in C#, Sql Server Pin
Adarsh Shah10-Feb-06 0:56
Adarsh Shah10-Feb-06 0:56 
AnswerRe: Real Time Notification in C#, Sql Server Pin
Guffa10-Feb-06 2:15
Guffa10-Feb-06 2:15 

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.