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

  • Home
  • SEARCH
  • 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 7680021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:00:49+00:00 2026-05-31T18:00:49+00:00

I have own component which works in my testing winform app good but when

  • 0

I have own component which works in my testing winform app good but when I send it to my friend and he used it in his more complex app then my component is constantly refreshing, slow responding, … I think that problem is in my component because older version works good. But I don´t know what I changed (it was many weeks ago). I must give him working version soon but I dont know how to fix it because I don´t know where is problem. Can you try this component and say if you have trouble with that. Or maybe look at my code (calendar.cs calendar.designer.cs) and try help me find problem. Thanks very much

  • 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-05-31T18:00:50+00:00Added an answer on May 31, 2026 at 6:00 pm

    This looks like a red flag to me:

    void panelKalendar_Paint(object sender, PaintEventArgs e)
    {
      Debug.WriteLine("panelKalendar_Paint");
      if (_viewType == ViewType.Week)
      {
        btnNext.Show();
        btnPrev.Show();
        lblMonth.Show();
        panelKalendar.Size = new Size(SIRKA_KALENDARE_WEEK, VYSKA_KALENDAREBEZPANELU_WEEK);
        //...
      }
      //...
    }
    

    You are resizing the control during a paint event, which would call the paint event again. Same thing with the controls, showing or hiding controls during a paint event would cause the control also to invalidate.

    Not 100% sure, I didn’t run the code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a big Joomla 1.5 Problem. I'll create my own Gallery Component/PlugIn and
I'm trying to hide window after its startup. I have own window-class which is
I have my own game engine using C++ and OpenGL, but I have models
I have my own custom Content Provider that loads a database which contains the
We have our own custom calendar in our portal which is developed in Java.
I have a singleton instance that is referenced throughout the project which works like
I am totally confused with the following error. I have my application which works
I have a C# application which uses a COM component. This COM component require
I have a component which has a corresponding persistent. This persistent is of course
I have my own multi-threaded service which handles some commands. The service consists of

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.