From 0c4b203ab72c60a0786b0905797b9128f5ed1e4c Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Sat, 13 Feb 2016 16:25:57 +0100 Subject: clean using, TreeView and TabView empty c# file creation --- src/GraphicObjects/CheckBox.cs | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) (limited to 'src/GraphicObjects/CheckBox.cs') diff --git a/src/GraphicObjects/CheckBox.cs b/src/GraphicObjects/CheckBox.cs index fa34522d..05bb0cac 100644 --- a/src/GraphicObjects/CheckBox.cs +++ b/src/GraphicObjects/CheckBox.cs @@ -1,24 +1,13 @@ using System; - - -using System.Collections.Generic; -using System.Linq; -using System.Text; -//using OpenTK.Graphics.OpenGL; - -using Cairo; - -using winColors = System.Drawing.Color; -using System.Diagnostics; -using System.Xml.Serialization; using OpenTK.Input; using System.ComponentModel; +using System.Xml.Serialization; namespace Crow { [DefaultTemplate("#Crow.Templates.CheckBox.goml")] - public class CheckBox : TemplatedControl - { + public class CheckBox : TemplatedControl + { string caption; string image; bool isChecked; @@ -33,12 +22,7 @@ namespace Crow public event EventHandler Unchecked; #region GraphicObject overrides -// [XmlAttributeAttribute()][DefaultValue(-1)] -// public override int Height { -// get { return base.Height; } -// set { base.Height = value; } -// } - [XmlAttributeAttribute()][DefaultValue(true)]//overiden to get default to true + [XmlAttributeAttribute()][DefaultValue(true)] public override bool Focusable { get { return base.Focusable; } -- cgit v1.3.1-4-g156e