Last active
November 7, 2017 06:08
-
-
Save Willy-Kimura/ca002989626624ce51bf94b39e9ae1ff to your computer and use it in GitHub Desktop.
Timer method for running the "GenerateSpline" method.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void Dashboard_Load(object sender, EventArgs e) | |
{ | |
// Add a colorset for beautifying our charts. | |
BunifuDataViz1.colorSet.Add(Color.FromArgb(60, 158, 241)); | |
BunifuDataViz1.colorSet.Add(Color.FromArgb(39, 180, 109)); | |
BunifuDataViz1.colorSet.Add(Color.FromArgb(255, 60, 49)); | |
} | |
private void Timer1_Tick(object sender, EventArgs e) | |
{ | |
// After the set number of milliseconds, stop the timer. | |
Timer1.Stop(); | |
// Then run the method. | |
GenerateSpline(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment