コード例 #1
0
 void StatisticsAnimationTick(object sender, EventArgs e)
 {
     GraphsAnimation.animation(this);
     generalStatisticsGraph.Invalidate();
     weeklyStatisticsGraph.Invalidate();
     maxPeakNoise.Invalidate();
     maxVolumeStatisticsBar.Invalidate();
     if (GraphsAnimation.gAnimation == 0 && GraphsAnimation.dAnimation == 0 && GraphsAnimation.m1Animation == 0 &&
         GraphsAnimation.m2Animation == 0)
     {
         statisticsAnimation.Enabled = false;
     }
 }
コード例 #2
0
 void ArrowClick(object sender, EventArgs e)
 {
     if (arrowCicked == false)
     {
         arrowCicked = true;
         arrow.Image = exitArrow;
         GraphsAnimation.configure(this);
         statisticsAnimation.Enabled = true;
     }
     else
     {
         arrowCicked = false;
         arrow.Image = openArrow;
     }
 }