Click here to Skip to main content
15,921,454 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get Client machine localization Pin
Mugdha_Aditya12-Oct-11 19:38
Mugdha_Aditya12-Oct-11 19:38 
AnswerRe: Get Client machine localization Pin
Bernhard Hiller12-Oct-11 19:56
Bernhard Hiller12-Oct-11 19:56 
GeneralRe: Get Client machine localization Pin
Mugdha_Aditya12-Oct-11 20:08
Mugdha_Aditya12-Oct-11 20:08 
Questionblock os Pin
mspmohanraj11-Oct-11 20:02
mspmohanraj11-Oct-11 20:02 
AnswerRe: block os Pin
Richard MacCutchan11-Oct-11 21:50
mveRichard MacCutchan11-Oct-11 21:50 
GeneralRe: block os Pin
harold aptroot11-Oct-11 21:54
harold aptroot11-Oct-11 21:54 
AnswerRe: block os Pin
Dave Kreskowiak12-Oct-11 1:46
mveDave Kreskowiak12-Oct-11 1:46 
AnswerRe: block os Pin
Not Active12-Oct-11 2:16
mentorNot Active12-Oct-11 2:16 
AnswerRe: block os Pin
loyal ginger12-Oct-11 2:48
loyal ginger12-Oct-11 2:48 
GeneralRe: block os Pin
Not Active12-Oct-11 3:01
mentorNot Active12-Oct-11 3:01 
GeneralRe: block os Pin
jschell12-Oct-11 12:24
jschell12-Oct-11 12:24 
AnswerRe: block os Pin
Bernhard Hiller12-Oct-11 20:06
Bernhard Hiller12-Oct-11 20:06 
QuestionHow to capture screen in the most optimized way. Pin
hvasilev11-Oct-11 9:51
hvasilev11-Oct-11 9:51 
AnswerRe: How to capture screen in the most optimized way. Pin
Bernhard Hiller11-Oct-11 21:15
Bernhard Hiller11-Oct-11 21:15 
GeneralRe: How to capture screen in the most optimized way. Pin
hvasilev11-Oct-11 21:27
hvasilev11-Oct-11 21:27 
AnswerRe: How to capture screen in the most optimized way. Pin
BobJanova11-Oct-11 22:19
BobJanova11-Oct-11 22:19 
GeneralRe: How to capture screen in the most optimized way. Pin
hvasilev11-Oct-11 22:31
hvasilev11-Oct-11 22:31 
Yes, sir. This is only a test project and it is planned to be done as you said.

What looks to me not "professional" enough is the easy way that i'm actually capturing the screen.

C#
<pre lang="cs">private Bitmap CaptureScreen()
        {
            _gfxScreenshot.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, Screen.PrimaryScreen.Bounds.Size, CopyPixelOperation.SourceCopy);
            return _bmpScreenshot;
        }


This is what actually bothers me. It looks way too easy to use the
C#
Graphics.CopyFromScreen(....)

method for optimized purposes. Usually the easiest ways are not the most optimized ones and i'm just searching if there is anything better than this.
GeneralRe: How to capture screen in the most optimized way. Pin
BobJanova12-Oct-11 1:44
BobJanova12-Oct-11 1:44 
GeneralRe: How to capture screen in the most optimized way. Pin
PIEBALDconsult12-Oct-11 4:20
mvePIEBALDconsult12-Oct-11 4:20 
QuestionIs there a way to detect a mouse click in a Word document in my form? Pin
fiaolle11-Oct-11 8:59
fiaolle11-Oct-11 8:59 
AnswerRe: Is there a way to detect a mouse click in a Word document in my form? Pin
Luc Pattyn11-Oct-11 9:10
sitebuilderLuc Pattyn11-Oct-11 9:10 
GeneralRe: Is there a way to detect a mouse click in a Word document in my form? Pin
fiaolle11-Oct-11 19:54
fiaolle11-Oct-11 19:54 
AnswerRe: Is there a way to detect a mouse click in a Word document in my form? Pin
Luc Pattyn11-Oct-11 22:06
sitebuilderLuc Pattyn11-Oct-11 22:06 
GeneralRe: Is there a way to detect a mouse click in a Word document in my form? Pin
fiaolle12-Oct-11 9:06
fiaolle12-Oct-11 9:06 
GeneralRe: Is there a way to detect a mouse click in a Word document in my form? Pin
fiaolle14-Oct-11 2:06
fiaolle14-Oct-11 2:06 

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.