示例#1
0
 private void RedrawButtonClick(object sender, EventArgs e)
 {
     RedrawLowResBest();
     RedrawLowResLast();
     LowResBest.Refresh();
     HighResBest.Refresh();
     LowResLast.Refresh();
     HighResLast.Refresh();
 }
示例#2
0
        void UpdateLast()
        {
            if (!updateLast && (!updateLastSwitch.IsOn || ((DateTime.Now - previousLastUpdate).TotalMilliseconds <= MINIMUM_REFRESH_PERIOD)))
            {
                return;
            }

            updateLast         = false;
            previousLastUpdate = DateTime.Now;
            BeginInvoke(new Action(() =>
            {
                RedrawLowResLast();
                LowResLast.Refresh();
                HighResLast.Refresh();
            }));
        }