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

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

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

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

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

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

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