void ReleaseDesignerOutlets () { if (AddButton != null) { AddButton.Dispose (); AddButton = null; } if (MasterView != null) { MasterView.Dispose (); MasterView = null; } } }