Click here to Skip to main content
15,905,073 members
Home / Discussions / C#
   

C#

 
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 
QuestionSoftware the Protection USB Pin
somarriba11-Oct-11 4:38
somarriba11-Oct-11 4:38 
AnswerRe: Software de Proteccion de USB Pin
André Kraak11-Oct-11 4:49
André Kraak11-Oct-11 4:49 
QuestionComo proteger un archivo XML para que no pueda ser borrado de la PC Pin
somarriba11-Oct-11 4:34
somarriba11-Oct-11 4:34 
AnswerRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
Pete O'Hanlon11-Oct-11 4:47
mvePete O'Hanlon11-Oct-11 4:47 
QuestionRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
André Kraak11-Oct-11 4:48
André Kraak11-Oct-11 4:48 
AnswerRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
BobJanova11-Oct-11 5:08
BobJanova11-Oct-11 5:08 
AnswerRe: Como proteger un archivo XML para que no pueda ser borrado de la PC PinPopular
Richard MacCutchan11-Oct-11 5:30
mveRichard MacCutchan11-Oct-11 5:30 
GeneralRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
Paul Conrad11-Oct-11 7:58
professionalPaul Conrad11-Oct-11 7:58 
AnswerRe: Como proteger un archivo XML para que no pueda ser borrado de la PC Pin
jschell11-Oct-11 8:43
jschell11-Oct-11 8:43 

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.