Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/19 10:07:02 (5 years ago)
Author:
gkronber
Message:

#2978: added SuspendRepaint and ResumeRepaint calls in ProgressView before and after Control.Enabled = ...
and removed unused code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ProgressView.cs

    r16430 r16501  
    114114      UpdateButtonsState();
    115115
     116      Control.SuspendRepaint();
    116117      Control.Enabled = false;
    117118      Parent = Control.Parent;
    118119      BringToFront();
     120      Control.ResumeRepaint(true);
    119121      Visible = true;
    120122    }
     
    128130
    129131      Visible = false;
     132      Control.SuspendRepaint();
    130133      Control.Enabled = true;
     134      Control.ResumeRepaint(true);
    131135      Parent = null;
    132136    }
Note: See TracChangeset for help on using the changeset viewer.