-
+//
+// System.Web.UI.Design.WebControls.CheckBoxDesigner.cs
+//
+// Author: Duncan Mak (duncan@novell.com)
+//
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-/**
- * Namespace: System.Web.UI.Design.WebControls
- * Class: CheckboxDesigner
- *
- * Author: Gaurav Vaish
- * Maintainer: gvaish_mono@lycos.com
- *
- * (C) Gaurav Vaish (2002)
- */
-using System;
-using System.Web;
-using System.Web.UI.WebControls;
-using System.Web.UI.Design;
+using System.ComponentModel;
+using System.Windows.Forms.Design;
+
+namespace System.Web.UI.Design.WebControls {
-namespace System.Web.UI.Design.WebControls
-{
public class CheckBoxDesigner : ControlDesigner
{
- public CheckBoxDesigner() : base()
+ public CheckBoxDesigner ()
+ : base ()
{
}
-
- public override string GetDesignTimeHtml()
+
+ public override string GetDesignTimeHtml ()
{
- if(Component != null && Component is CheckBox)
- {
- CheckBox cbx = (CheckBox) Component;
- cbx.Text = cbx.Text.Trim();
- if(cbx.Text.Length == 0)
- {
- cbx.Text = "[" + cbx.ID + "]";
- }
- return base.GetDesignTimeHtml();
- }
- return String.Empty;
+ throw new NotImplementedException ();
}
}
-}
+}
\ No newline at end of file