diff -r d1aa17a4d8cf -r 878904899ff0 Interface/Interface.cs
--- a/Interface/Interface.cs Sun Jun 21 14:15:11 2015 +0200
+++ b/Interface/Interface.cs Sat Jun 27 11:22:42 2015 +0200
@@ -50,6 +50,50 @@
}
}
+ ///
+ /// Compare two TableLayout object.
+ ///
+ /// Tells whether both layout are identical.
+ public bool IsSameAs(TableLayout aTableLayout)
+ {
+ //Check rows and columns counts
+ if (Columns.Count != aTableLayout.Columns.Count || Rows.Count != aTableLayout.Rows.Count)
+ {
+ return false;
+ }
+
+ //Compare each columns
+ for (int i=0;i Columns { get; set; }