Make a copy of the old ZipLib
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / CurrencyManager.cs
index 15123f23b1ef321f5f35b184540b768a3de396d7..23a214175fd57e569c280a09ed0d1f9dc2ef3995 100644 (file)
@@ -201,6 +201,19 @@ namespace System.Windows.Forms {
                        editable.EndEdit ();
                }
 
+               public void Refresh ()
+               {
+                       PullData ();
+               }
+
+               [MonoTODO ("This is just a guess, as I can't figure out how to test this method")]
+               protected void CheckEmpty ()
+               {
+                       if (list == null || list.Count < 1)
+                               throw new Exception ("List is empty.");
+                               
+               }
+
                protected internal override void OnCurrentChanged (EventArgs e)
                {
                        PullData ();