Click here to Skip to main content
15,920,687 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to set password on exe file ? Pin
Ed.Poore24-Jan-07 12:34
Ed.Poore24-Jan-07 12:34 
Questiondifference b/w readonly and const? Pin
Rahithi24-Jan-07 10:46
Rahithi24-Jan-07 10:46 
AnswerRe: difference b/w readonly and const? Pin
Stefan Troschuetz24-Jan-07 10:56
Stefan Troschuetz24-Jan-07 10:56 
AnswerRe: difference b/w readonly and const? Pin
Christian Graus24-Jan-07 11:02
protectorChristian Graus24-Jan-07 11:02 
GeneralRe: difference b/w readonly and const? Pin
Josh Smith24-Jan-07 11:06
Josh Smith24-Jan-07 11:06 
AnswerRe: difference b/w readonly and const? Pin
Marcelo Calado24-Jan-07 11:31
Marcelo Calado24-Jan-07 11:31 
AnswerRe: difference b/w readonly and const? Pin
Rahithi24-Jan-07 14:05
Rahithi24-Jan-07 14:05 
QuestionC# PictureBox.MouseDown Pin
kselman24-Jan-07 10:25
kselman24-Jan-07 10:25 
I hope this is an easy one. It seems like it should be.

I have a pictureBox that I am using as a button. I'm swapping images in and out for up and down states. When the user clicks and holds the mouse down I want it to execute the MouseDown code multiple times until they MouseUp.

<br />
private void mirrorAdjust_MouseDown(object sender, MouseEventArgs e)<br />
{<br />
    mirrorPictureBox.Image = Resources.MirrorDown;<br />
    <br />
    //while(MouseDown) ?? Is there a state I can check here?<br />
    FunctionToRepeatUntilMouseUp();<br />
}<br />
<br />
private void mirrorAdjust_MouseUp(object sender, MouseEventArgs e)<br />
{<br />
    mirrorPictureBox.Image = Resources.MirrorUp;<br />
}<br />

AnswerRe: C# PictureBox.MouseDown Pin
Martin#24-Jan-07 10:31
Martin#24-Jan-07 10:31 
GeneralRe: C# PictureBox.MouseDown Pin
kselman24-Jan-07 11:29
kselman24-Jan-07 11:29 
AnswerRe: C# PictureBox.MouseDown Pin
Luc Pattyn24-Jan-07 15:20
sitebuilderLuc Pattyn24-Jan-07 15:20 
QuestionQuestion about form designer Pin
reutre24-Jan-07 10:19
reutre24-Jan-07 10:19 
AnswerRe: Question about form designer Pin
Ed.Poore24-Jan-07 12:40
Ed.Poore24-Jan-07 12:40 
QuestionSelectionStart error on custom TextBox... Pin
Lord Kixdemp24-Jan-07 10:04
Lord Kixdemp24-Jan-07 10:04 
AnswerRe: SelectionStart error on custom TextBox... Pin
Martin#24-Jan-07 10:20
Martin#24-Jan-07 10:20 
GeneralRe: SelectionStart error on custom TextBox... Pin
Lord Kixdemp24-Jan-07 11:58
Lord Kixdemp24-Jan-07 11:58 
GeneralRe: SelectionStart error on custom TextBox... Pin
Martin#24-Jan-07 19:42
Martin#24-Jan-07 19:42 
GeneralRe: SelectionStart error on custom TextBox... Pin
Lord Kixdemp27-Jan-07 16:41
Lord Kixdemp27-Jan-07 16:41 
QuestionChecking if a handler is sbuscribed to an event Pin
Dan Neely24-Jan-07 9:42
Dan Neely24-Jan-07 9:42 
AnswerRe: Checking if a handler is sbuscribed to an event Pin
Abisodun24-Jan-07 10:07
Abisodun24-Jan-07 10:07 
QuestionDatasets from SQL data Pin
~~~Johnny~~~24-Jan-07 9:09
~~~Johnny~~~24-Jan-07 9:09 
AnswerRe: Datasets from SQL data Pin
Christian Graus24-Jan-07 9:11
protectorChristian Graus24-Jan-07 9:11 
QuestionHow to call external application in C#.NET Pin
Eyungwah24-Jan-07 8:34
Eyungwah24-Jan-07 8:34 
AnswerRe: How to call external application in C#.NET Pin
Pete O'Hanlon24-Jan-07 8:37
mvePete O'Hanlon24-Jan-07 8:37 
AnswerRe: How to call external application in C#.NET Pin
dbrenth24-Jan-07 8:44
dbrenth24-Jan-07 8:44 

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.