Click here to Skip to main content
15,894,740 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to Get Property attribute from instance variable Pin
mmdullah4-Nov-09 18:26
mmdullah4-Nov-09 18:26 
GeneralRe: How to Get Property attribute from instance variable Pin
King Julien4-Nov-09 20:05
King Julien4-Nov-09 20:05 
QuestionCommand Window Pin
lagdaemon3-Nov-09 16:38
lagdaemon3-Nov-09 16:38 
AnswerRe: Command Window Pin
OriginalGriff3-Nov-09 21:18
mveOriginalGriff3-Nov-09 21:18 
GeneralRe: Command Window Pin
lagdaemon4-Nov-09 12:46
lagdaemon4-Nov-09 12:46 
QuestionHow to draw a picture then it can follow with cursor Pin
comlihongbin3-Nov-09 14:15
comlihongbin3-Nov-09 14:15 
AnswerRe: How to draw a picture then it can follow with cursor Pin
Christian Graus3-Nov-09 14:45
protectorChristian Graus3-Nov-09 14:45 
GeneralRe: How to draw a picture then it can follow with cursor Pin
comlihongbin3-Nov-09 15:40
comlihongbin3-Nov-09 15:40 
thanks for you reply,i get the screen by my program
Bitmap bmp = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
               Graphics gp = Graphics.FromImage(bmp);

               gp.CopyFromScreen(0, 0, 0, 0, new Size(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height));
               ms = new MemoryStream();
               Image im = bmp.GetThumbnailImage(Screen.PrimaryScreen.Bounds.Width / 10, Screen.PrimaryScreen.Bounds.Height / 10, null, IntPtr.Zero);
               bmp = new Bitmap(im);
               bmp.Save(ms, ImageFormat.Jpeg);
               by = ms.GetBuffer();
               return by;

i just copy the code from the internet,it can not work for getting cursor of mouse,so i want to draw a picture around the cursor.
i am the first time to ask for help in English,and receive you help so quick ,i am very happy ,thanks a lot!

i just a green hand in programing and English.
Please bear with me
GeneralRe: How to draw a picture then it can follow with cursor Pin
Christian Graus3-Nov-09 16:30
protectorChristian Graus3-Nov-09 16:30 
GeneralRe: How to draw a picture then it can follow with cursor Pin
comlihongbin3-Nov-09 15:46
comlihongbin3-Nov-09 15:46 
QuestionReport Building help please... Pin
JollyMansArt3-Nov-09 12:43
JollyMansArt3-Nov-09 12:43 
QuestionHow does C# support and implement exception handling? Pin
cateyes993-Nov-09 12:01
cateyes993-Nov-09 12:01 
AnswerRe: How does C# support and implement exception handling? Pin
PIEBALDconsult3-Nov-09 12:10
mvePIEBALDconsult3-Nov-09 12:10 
GeneralRe: How does C# support and implement exception handling? Pin
cateyes993-Nov-09 12:14
cateyes993-Nov-09 12:14 
GeneralRe: How does C# support and implement exception handling? Pin
harold aptroot3-Nov-09 12:16
harold aptroot3-Nov-09 12:16 
GeneralRe: How does C# support and implement exception handling? Pin
cateyes995-Nov-09 16:11
cateyes995-Nov-09 16:11 
QuestionDebug vs. Release Pin
zafersavas3-Nov-09 10:58
zafersavas3-Nov-09 10:58 
AnswerRe: Debug vs. Release Pin
Christian Graus3-Nov-09 11:06
protectorChristian Graus3-Nov-09 11:06 
AnswerRe: Debug vs. Release Pin
PIEBALDconsult3-Nov-09 12:12
mvePIEBALDconsult3-Nov-09 12:12 
Questionhow to connect crystall report to oracle 10g - in C# (VS2008) Pin
E_Gold3-Nov-09 9:53
E_Gold3-Nov-09 9:53 
QuestionDifference between Validated and Validating Pin
LimitedAtonement3-Nov-09 8:20
LimitedAtonement3-Nov-09 8:20 
AnswerRe: Difference between Validated and Validating Pin
Not Active3-Nov-09 8:47
mentorNot Active3-Nov-09 8:47 
GeneralRe: Difference between Validated and Validating Pin
LimitedAtonement3-Nov-09 9:15
LimitedAtonement3-Nov-09 9:15 
GeneralRe: Difference between Validated and Validating Pin
Christian Graus3-Nov-09 9:33
protectorChristian Graus3-Nov-09 9:33 
GeneralRe: Difference between Validated and Validating Pin
Not Active3-Nov-09 9:39
mentorNot Active3-Nov-09 9:39 

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.