Fixed problems in the designer with the last changes, also added some future code which is disabled. And uncommented the "Greenshot-filetype" registration in the installer.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2375 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-12-11 11:51:41 +00:00
parent 3115c927b7
commit e11450f56f
7 changed files with 161 additions and 17 deletions

View file

@ -28,8 +28,7 @@ namespace GreenshotPlugin.Controls {
/// <summary>
/// Extend this Form to have the possibility for animations on your form
/// </summary>
public abstract class AnimatingForm : Form {
protected static CoreConfiguration coreConfiguration = IniConfig.GetIniSection<CoreConfiguration>();
public class AnimatingForm : GreenshotForm {
private int vRefresh = 0;
private Timer timer = null;
@ -111,6 +110,8 @@ namespace GreenshotPlugin.Controls {
/// <summary>
/// This method will be called every frame, so implement your animation/redraw logic here.
/// </summary>
protected abstract void Animate();
protected virtual void Animate() {
throw new NotImplementedException();
}
}
}