Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9283515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T18:39:03+00:00 2026-06-18T18:39:03+00:00

I created an application that allows user to magnify a certain part of a

  • 0

I created an application that allows user to magnify a certain part of a background picture. The main problem is, that the magnification field is lagging as you can see on the picture. And also this is a single threaded application. Does anyone have any suggestion what can I do to solve my problem?

enter image description here

my code:

    public void Magnifier(Point e)
    {
        magnifiedPicture.Size = new Size(MagnifierSize, MagnifierSize);    
        magnifiedPicture.Visible = true;
        magnifiedPicture.Location = new Point(e.X-MagnifierSize/2, e.Y-MagnifierSize/2);  
        magnifiedPicture.BackgroundImage = CutThePicture(CanvasImage, new Rectangle(_ptOnCanvas.X - 18, _ptOnCanvas.Y - 18, 16, 16)); 
        magnifiedPicture.Refresh(); // <-- just for probe, but without any effect
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T18:39:04+00:00Added an answer on June 18, 2026 at 6:39 pm

    I use InvokePaint on mouse move event and the problem was solved.

    InvokePaint( this, new PaintEventArgs( this.CreateGraphics(), this.DisplayRectangle ) );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've created a web application that generates and allows the user to download an
A bit of background info; this is an application that allows users to created
I'm using: Hibernate MySQL jBoss I have to create an application that allows user
I am currently trying to make an application that allows the user to create
I have created an application that uses settings.settings to store some user specific settings
I am making an application in VB.NET that allows a user to highlight some
Writing the part of the app that allows the user to generate a pdf
I have created an application that allows users to capture information for entities based
I have a WPF Application which allows user to enter production Data. For that
I'm implementing a application that allows user to drag pages though a Gallery to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.