Beispiel #1
0
        void ReleaseDesignerOutlets()
        {
            if (StackLayout != null)
            {
                StackLayout.Dispose();
                StackLayout = null;
            }

            if (Viewer != null)
            {
                Viewer.Dispose();
                Viewer = null;
            }
        }
Beispiel #2
0
        protected override void Dispose(bool disposing)
        {
            if (tb != null && !tb.IsDisposed)
            {
                tb.Dispose();
            }
            if (table != null && !table.IsDisposed)
            {
                table.Dispose();
            }
            if (stack != null && !stack.IsDisposed)
            {
                stack.Dispose();
            }

            base.Dispose(disposing);
        }