Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
Questionusing custom button Pin
mehrdadc487-Dec-05 9:23
mehrdadc487-Dec-05 9:23 
AnswerRe: using custom button Pin
Judah Gabriel Himango7-Dec-05 10:35
sponsorJudah Gabriel Himango7-Dec-05 10:35 
QuestionDebug Help Pin
gmhanna7-Dec-05 9:22
gmhanna7-Dec-05 9:22 
AnswerRe: Debug Help Pin
Judah Gabriel Himango7-Dec-05 10:37
sponsorJudah Gabriel Himango7-Dec-05 10:37 
GeneralRe: Debug Help Pin
gmhanna8-Dec-05 5:40
gmhanna8-Dec-05 5:40 
Questionfailure of the code when the mouse go out of the picturebox area Pin
haytham_mohammad7-Dec-05 8:46
haytham_mohammad7-Dec-05 8:46 
AnswerRe: failure of the code when the mouse go out of the picturebox area Pin
Judah Gabriel Himango7-Dec-05 10:39
sponsorJudah Gabriel Himango7-Dec-05 10:39 
GeneralRe: failure of the code when the mouse go out of the picturebox area Pin
haytham_mohammad7-Dec-05 11:19
haytham_mohammad7-Dec-05 11:19 
Sorry I forget to accompany the code with message
Here you are the code
private void pictureBox1_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)<br />
       {<br />
           //          MessageBox.Show("Mouse move on Picture box, at" + e.X.ToString() + ","+ e.Y.ToString());<br />
           try<br />
           {<br />
               textBox1.Text = e.X.ToString();<br />
               textBox2.Text = e.Y.ToString();<br />
               Bitmap myBitmap = new Bitmap("Calvin2.jpg");<br />
               Color pixelcolor = myBitmap.GetPixel(e.X, e.Y);<br />
               textBox3.Text = pixelcolor.ToString();<br />
               textBox4.Text = myBitmap.PixelFormat.ToString();<br />
               label5.Text = "Red depth is " + pixelcolor.R.ToString();<br />
               label6.Text = "Green depth is " + pixelcolor.G.ToString();<br />
               label7.Text = "Blue depth is " + pixelcolor.B.ToString();<br />
           }<br />
           catch (System.ArgumentOutOfRangeException)<br />
           {<br />
           }<br />
       }

and i use visual studio.net 2003

haitham
GeneralRe: failure of the code when the mouse go out of the picturebox area Pin
Judah Gabriel Himango7-Dec-05 15:09
sponsorJudah Gabriel Himango7-Dec-05 15:09 
Questionasychronicly downloading files Pin
stassaf7-Dec-05 8:34
stassaf7-Dec-05 8:34 
AnswerRe: asychronicly downloading files Pin
Judah Gabriel Himango7-Dec-05 10:43
sponsorJudah Gabriel Himango7-Dec-05 10:43 
GeneralRe: asychronicly downloading files Pin
stassaf7-Dec-05 11:44
stassaf7-Dec-05 11:44 
Questionwhich column in a datarow? Pin
melanieab7-Dec-05 8:09
melanieab7-Dec-05 8:09 
Questionhow to call excel from a asp.net page specifing a file to open? Pin
Sasuko7-Dec-05 5:12
Sasuko7-Dec-05 5:12 
AnswerRe: how to call excel from a asp.net page specifing a file to open? Pin
J4amieC7-Dec-05 5:55
J4amieC7-Dec-05 5:55 
AnswerRe: how to call excel from a asp.net page specifing a file to open? Pin
Sasuko7-Dec-05 5:56
Sasuko7-Dec-05 5:56 
QuestionWinForms User Control in VB6 App Pin
Paul Gates7-Dec-05 5:05
Paul Gates7-Dec-05 5:05 
AnswerRe: WinForms User Control in VB6 App Pin
miah alom7-Dec-05 6:55
miah alom7-Dec-05 6:55 
QuestionComponent and ServicedComponent Pin
faviochilo7-Dec-05 4:39
faviochilo7-Dec-05 4:39 
QuestionHow to make pretty forms in VS Pin
mehrdadc487-Dec-05 2:34
mehrdadc487-Dec-05 2:34 
AnswerRe: How to make pretty forms in VS Pin
Judah Gabriel Himango7-Dec-05 4:04
sponsorJudah Gabriel Himango7-Dec-05 4:04 
QuestionCustom Titlebar Pin
PHDENG817-Dec-05 2:15
PHDENG817-Dec-05 2:15 
QuestionIn java for xml binding zews framework is used ,let me know in C#.net? Pin
sridevi20057-Dec-05 1:28
sridevi20057-Dec-05 1:28 
QuestionHow to get PeakWorkingSet property after process exited? Pin
m3rlinez7-Dec-05 1:19
m3rlinez7-Dec-05 1:19 
QuestionTo access and print the values in Hashtable? Pin
MudkiSekhon7-Dec-05 1:16
MudkiSekhon7-Dec-05 1:16 

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.