示例#1
0
        void ReleaseDesignerOutlets ()
        {
            if (Cancel != null) {
                Cancel.Dispose ();
                Cancel = null;
            }

            if (DeselectAllAction != null) {
                DeselectAllAction.Dispose ();
                DeselectAllAction = null;
            }

            if (Download != null) {
                Download.Dispose ();
                Download = null;
            }

            if (SelectAllAction != null) {
                SelectAllAction.Dispose ();
                SelectAllAction = null;
            }

            if (tableView != null) {
                tableView.Dispose ();
                tableView = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (DeselectAllAction != null)
            {
                DeselectAllAction.Dispose();
                DeselectAllAction = null;
            }

            if (SelectAllAction != null)
            {
                SelectAllAction.Dispose();
                SelectAllAction = null;
            }

            if (tableView != null)
            {
                tableView.Dispose();
                tableView = null;
            }
        }