コード例 #1
0
 void ReleaseDesignerOutlets()
 {
     if (myWebView != null) {
         myWebView.Dispose ();
         myWebView = null;
     }
 }
コード例 #2
0
 void ReleaseDesignerOutlets()
 {
     if (webView != null) {
         webView.Dispose ();
         webView = null;
     }
 }
コード例 #3
0
 void ReleaseDesignerOutlets()
 {
     if (webDisplay != null) {
         webDisplay.Dispose ();
         webDisplay = null;
     }
 }
コード例 #4
0
        void ReleaseDesignerOutlets()
        {
            if (lookupEntry != null)
            {
                lookupEntry.Dispose();
                lookupEntry = null;
            }

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

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

            if (statusLabel != null)
            {
                statusLabel.Dispose();
                statusLabel = null;
            }
        }
コード例 #5
0
 void ReleaseDesignerOutlets()
 {
     if (webBrowser != null) {
         webBrowser.Dispose ();
         webBrowser = null;
     }
 }
コード例 #6
0
        void ReleaseDesignerOutlets()
        {
            if (textViewMarkDown != null)
            {
                textViewMarkDown.Dispose();
                textViewMarkDown = null;
            }

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

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

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

            if (buttonPNG != null)
            {
                buttonPNG.Dispose();
                buttonPNG = null;
            }
        }
コード例 #7
0
        void ReleaseDesignerOutlets()
        {
            if (locationTextField != null)
            {
                locationTextField.Dispose();
                locationTextField = null;
            }

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

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

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

            if (populateOutlineViewButton != null)
            {
                populateOutlineViewButton.Dispose();
                populateOutlineViewButton = null;
            }
        }
コード例 #8
0
ファイル: WebViewBackend.cs プロジェクト: nirenyang/xwt
        public override void Initialize()
        {
            base.Initialize ();

            view = new MonoMac.WebKit.WebView ();
            Widget = GtkMacInterop.NSViewToGtkWidget (view);
            Widget.Show ();
        }
コード例 #9
0
 public void InitWebKit(Gtk.Box w)
 {
     wb = new MonoMac.WebKit.WebView(new System.Drawing.RectangleF(10, 10, 200, 200), "foo", "bar");
     scrollWindow.AddWithViewport(NSViewToGtkWidget(wb));
     w.PackStart(scrollWindow, true, true, 0);
     w.ShowAll();
     wb.ShouldCloseWithWindow = true;
 }
コード例 #10
0
ファイル: WebViewBackend.cs プロジェクト: thereverand/xwt
        public override void Initialize()
        {
            base.Initialize();

            view   = new MonoMac.WebKit.WebView();
            Widget = GtkMacInterop.NSViewToGtkWidget(view);
            Widget.Show();
        }
コード例 #11
0
 void ReleaseDesignerOutlets()
 {
     if (browser != null)
     {
         browser.Dispose();
         browser = null;
     }
 }
コード例 #12
0
 void ReleaseDesignerOutlets()
 {
     if (webDisplay != null)
     {
         webDisplay.Dispose();
         webDisplay = null;
     }
 }
コード例 #13
0
 void ReleaseDesignerOutlets()
 {
     if (webView != null)
     {
         webView.Dispose();
         webView = null;
     }
 }
コード例 #14
0
        void ReleaseDesignerOutlets()
        {
            if (iText1 != null)
            {
                iText1.Dispose();
                iText1 = null;
            }

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

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

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

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

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

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

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

            if (iWebView != null)
            {
                iWebView.Dispose();
                iWebView = null;
            }
        }
コード例 #15
0
        void ReleaseDesignerOutlets()
        {
            if (webView != null) {
                webView.Dispose ();
                webView = null;
            }

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

            if (progressIndicator != null) {
                progressIndicator.Dispose ();
                progressIndicator = null;
            }
        }
コード例 #16
0
        // Protected implementation of Dispose pattern.
        protected virtual void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }

            if (disposing)
            {
                wb.Dispose();
                wb = null;
                socket.Dispose();
                socket = null;
                scrollWindow.Destroy();
            }

            // Free any unmanaged objects here.
            //
            disposed = true;
        }
コード例 #17
0
ファイル: HTMLView.cs プロジェクト: hol353/ApsimX
 public void InitWebKit(Gtk.Box w)
 {
     if (!appInited)
     {
         MonoMac.AppKit.NSApplication.Init();
         appInited = true;
     }
     wb = new MonoMac.WebKit.WebView(new System.Drawing.RectangleF(10, 10, 200, 200), "foo", "bar");
     scrollWindow.AddWithViewport(NSViewToGtkWidget(wb));
     w.PackStart(scrollWindow, true, true, 0);
     w.ShowAll();
     wb.ShouldCloseWithWindow = true;
 }
コード例 #18
0
        void ReleaseDesignerOutlets()
        {
            if (bnetBattleTag != null) {
                bnetBattleTag.Dispose ();
                bnetBattleTag = null;
            }

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

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

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

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

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

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

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

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

            if (webView != null) {
                webView.Dispose ();
                webView = null;
            }
        }
コード例 #19
0
        void ReleaseDesignerOutlets()
        {
            if (allKeywords != null) {
                allKeywords.Dispose ();
                allKeywords = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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