Click here to Skip to main content
14,770,875 members
Home » Discussions » C#
   

C#

 
QuestionHow to save panel content into PDF Pin
RedPandinus19-Dec-20 18:46
MemberRedPandinus19-Dec-20 18:46 
AnswerRe: How to save panel content into PDF Pin
OriginalGriff19-Dec-20 20:57
mveOriginalGriff19-Dec-20 20:57 
SuggestionRe: How to save panel content into PDF Pin
RedPandinus19-Dec-20 21:30
MemberRedPandinus19-Dec-20 21:30 
GeneralRe: How to save panel content into PDF Pin
OriginalGriff19-Dec-20 23:57
mveOriginalGriff19-Dec-20 23:57 
GeneralRe: How to save panel content into PDF Pin
RedPandinus20-Dec-20 7:07
MemberRedPandinus20-Dec-20 7:07 
GeneralAForge Motion Detection from PictureBox? Pin
Herboren19-Dec-20 18:15
MemberHerboren19-Dec-20 18:15 
GeneralRe: AForge Motion Detection from PictureBox? Pin
Gerry Schmitz19-Dec-20 22:51
mveGerry Schmitz19-Dec-20 22:51 
GeneralRe: AForge Motion Detection from PictureBox? Pin
Herboren20-Dec-20 7:09
MemberHerboren20-Dec-20 7:09 
Correct, so in theory it could work since the picturebox is being replaced with a new layer/frame ever second that timer draws a new bitmap image?

I have a picture box that draws the recording of my desktop

private void tmrImageUpdate_Tick(object sender, EventArgs e)
        {   

            var img = new Bitmap(this.Height, this.Width);
            var grph = Graphics.FromImage(img);
            grph.CopyFromScreen((Cursor.Position.X-(pbImageRelay.Height/2)),(Cursor.Position.Y-(pbImageRelay.Width / 2)), 0, 0, img.Size);
            pbImageRelay.Image = img;
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            Rectangle resolution = Screen.PrimaryScreen.Bounds;

            tmrImageUpdate.Tick += tmrImageUpdate_Tick;
            tmrImageUpdate.Enabled = true;
            tmrImageUpdate.Start();
        }


I am trying to detect the motion in say a video player from the desktop, but within the picture box that is viewing on my desktop. Like a picture in a picture on a TV screen, except on PC.
GeneralRe: AForge Motion Detection from PictureBox? Pin
Gerry Schmitz20-Dec-20 10:30
mveGerry Schmitz20-Dec-20 10:30 
GeneralRe: AForge Motion Detection from PictureBox? Pin
Herboren20-Dec-20 13:47
MemberHerboren20-Dec-20 13:47 
GeneralRe: AForge Motion Detection from PictureBox? Pin
Gerry Schmitz21-Dec-20 7:52
mveGerry Schmitz21-Dec-20 7:52 
GeneralRe: AForge Motion Detection from PictureBox? Pin
Herboren21-Dec-20 9:31
MemberHerboren21-Dec-20 9:31 
GeneralRe: AForge Motion Detection from PictureBox? Pin
Gerry Schmitz21-Dec-20 9:57
mveGerry Schmitz21-Dec-20 9:57 
QuestionHow to make connection with SQL Server on another computer? Pin
Alex Dunlop17-Dec-20 10:14
MemberAlex Dunlop17-Dec-20 10:14 
AnswerRe: How to make connection with SQL Server on another computer? Pin
BabyYoda17-Dec-20 10:20
MemberBabyYoda17-Dec-20 10:20 
AnswerRe: How to make connection with SQL Server on another computer? Pin
DerekT-P17-Dec-20 11:16
professionalDerekT-P17-Dec-20 11:16 
QuestionComboBoxItem in another Form Pin
AnissGharib4917-Dec-20 3:09
MemberAnissGharib4917-Dec-20 3:09 
AnswerRe: ComboBoxItem in another Form Pin
Dave Kreskowiak17-Dec-20 4:56
mveDave Kreskowiak17-Dec-20 4:56 
AnswerRe: ComboBoxItem in another Form Pin
OriginalGriff17-Dec-20 5:40
mveOriginalGriff17-Dec-20 5:40 
AnswerRe: ComboBoxItem in another Form Pin
Gerry Schmitz17-Dec-20 5:48
mveGerry Schmitz17-Dec-20 5:48 
AnswerRe: ComboBoxItem in another Form Pin
Herboren18-Dec-20 11:55
MemberHerboren18-Dec-20 11:55 
QuestionBecoming functional: adding Option of T to List when IsSome only Pin
Bernhard Hiller13-Dec-20 23:55
MemberBernhard Hiller13-Dec-20 23:55 
AnswerRe: Becoming functional: adding Option of T to List when IsSome only Pin
Richard Deeming14-Dec-20 1:41
mveRichard Deeming14-Dec-20 1:41 
GeneralRe: Becoming functional: adding Option of T to List when IsSome only Pin
Bernhard Hiller14-Dec-20 3:40
MemberBernhard Hiller14-Dec-20 3:40 
Questionc# programing Pin
toori shabab9-Dec-20 4:50
Membertoori shabab9-Dec-20 4:50 

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.