Code quality changes, and added the possibility to set the amount of colors for the Quantizer.

This commit is contained in:
RKrom 2014-05-11 11:23:56 +02:00
commit 77a92d98c3
92 changed files with 690 additions and 653 deletions

View file

@ -87,7 +87,7 @@ namespace GreenshotPlugin.Controls {
/// Initialize the animation
/// </summary>
protected AnimatingForm() {
this.Load += delegate {
Load += delegate {
if (EnableAnimation) {
timer = new Timer();
timer.Interval = 1000 / VRefresh;
@ -97,7 +97,7 @@ namespace GreenshotPlugin.Controls {
};
// Unregister at close
this.FormClosing += delegate {
FormClosing += delegate {
if (timer != null) {
timer.Stop();
}