2006-12-04 Chris Toshok <toshok@ximian.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / TableLayoutSettings.cs
index cd48738c2bc4b78c6bb0ea91d46ab4b35bcafadf..5fc51f6e93b2a90f3ac1a4651010103a133b4284 100644 (file)
@@ -23,6 +23,7 @@
 //
 // (C) 2004 Novell, Inc.
 //
+
 #if NET_2_0
 using System;
 using System.ComponentModel;
@@ -31,8 +32,9 @@ using System.Windows.Forms.Layout;
 
 namespace System.Windows.Forms {
 
-       public class TableLayoutSettings : LayoutSettings {
-               TableLayoutPanel panel;
+       [Serializable]
+       public sealed class TableLayoutSettings : LayoutSettings {
+               //TableLayoutPanel panel;
                ColumnStyleCollection column_style;
                TableLayoutPanelGrowStyle grow_style;
                int column_count;
@@ -43,7 +45,7 @@ namespace System.Windows.Forms {
                
                internal TableLayoutSettings (TableLayoutPanel panel)
                {
-                       this.panel = panel;
+                       //this.panel = panel;
                        column_count = 0;
                        row_count = 0;
                        grow_style = TableLayoutPanelGrowStyle.AddRows;