// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-// Copyright (c) 2004 Novell, Inc.
+// Copyright (c) 2004-2005 Novell, Inc.
//
// Authors:
// Jackson Harper (jackson@ximian.com)
//
-// NOT COMPLETE
+// COMPLETE
using System;
using System.ComponentModel;
public Panel () {
base.TabStop = false;
SetStyle(ControlStyles.Selectable, false);
+ SetStyle (ControlStyles.SupportsTransparentBackColor, true);
}
#endregion // Constructors & Destructors
[DefaultValue(BorderStyle.None)]
[DispId(-504)]
public BorderStyle BorderStyle {
- get { return border_style; }
- set {
- if (value == border_style)
- return;
- border_style = value;
- Refresh ();
- }
+ get { return InternalBorderStyle; }
+ set { InternalBorderStyle = value; }
}
[DefaultValue(false)]