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

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

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

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

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

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

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

            if (webViewPDF != null)
            {
                webViewPDF.Dispose();
                webViewPDF = null;
            }
        }
 void ReleaseDesignerOutlets ()
 {
     if (webView != null) {
         webView.Dispose ();
         webView = null;
     }
 }
 void ReleaseDesignerOutlets()
 {
     if (myWeb != null)
     {
         myWeb.Dispose();
         myWeb = null;
     }
 }
Example #5
0
 void ReleaseDesignerOutlets()
 {
     if (pdfView != null)
     {
         pdfView.Dispose();
         pdfView = null;
     }
 }
Example #6
0
 void ReleaseDesignerOutlets()
 {
     if (AboutWebView != null)
     {
         AboutWebView.Dispose();
         AboutWebView = null;
     }
 }
Example #7
0
 void ReleaseDesignerOutlets()
 {
     if (myWebView != null)
     {
         myWebView.Dispose();
         myWebView = null;
     }
 }
 void ReleaseDesignerOutlets()
 {
     if (webView != null)
     {
         webView.Dispose();
         webView = null;
     }
 }
Example #9
0
 public static void InjectMtJavascript(this WebView webView)
 {
     #if MONOMAC
     InjectMtJavascript(webView, MT_JAVASCRIPT);
     #else
     webView.EvaluateJavascript(MT_JAVASCRIPT);
     #endif
 }
Example #10
0
 void ReleaseDesignerOutlets()
 {
     if (infoWebView != null)
     {
         infoWebView.Dispose();
         infoWebView = null;
     }
 }
Example #11
0
 public static void InjectMtJavascript(this WebView webView, string script)
 {
     #if MONOMAC
     var document = webView.MainFrame.DomDocument;
     document.EvaluateWebScript(script);
     #else
     webView.EvaluateJavascript(script);
     #endif
 }
Example #12
0
        public static void FireEvent(this WebView source, string EventName, Object Data)
        {
            // call javascript event hanlder code
            string json = SimpleJson.SerializeObject(Data);

            source.BeginInvokeOnMainThread(delegate {
                source.InjectMtJavascript(string.Format("Mt.App._dispatchEvent('{0}', {1});", EventName, json));
            });
        }
Example #13
0
        void ReleaseDesignerOutlets ()
        {
            if (myLodingIndicator != null) {
                myLodingIndicator.Dispose ();
                myLodingIndicator = null;
            }

            if (myWebView != null) {
                myWebView.Dispose ();
                myWebView = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (Backward != null)
            {
                Backward.Dispose();
                Backward = null;
            }

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

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

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

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

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

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

            if (WebView != null)
            {
                WebView.Dispose();
                WebView = null;
            }
        }
Example #15
0
        void ReleaseDesignerOutlets()
        {
            if (DoneSigningButton != null)
            {
                DoneSigningButton.Dispose();
                DoneSigningButton = null;
            }

            if (SignatureWebView != null)
            {
                SignatureWebView.Dispose();
                SignatureWebView = null;
            }
        }
Example #16
0
        void ReleaseDesignerOutlets()
        {
            if (activityIndicator != null)
            {
                activityIndicator.Dispose();
                activityIndicator = null;
            }

            if (webView != null)
            {
                webView.Dispose();
                webView = null;
            }
        }
Example #17
0
        void ReleaseDesignerOutlets()
        {
            if (ScrollView != null)
            {
                ScrollView.Dispose();
                ScrollView = null;
            }

            if (WebView != null)
            {
                WebView.Dispose();
                WebView = null;
            }
        }
Example #18
0
        void ReleaseDesignerOutlets()
        {
            if (btnRegresar != null)
            {
                btnRegresar.Dispose();
                btnRegresar = null;
            }

            if (WebView != null)
            {
                WebView.Dispose();
                WebView = null;
            }
        }
Example #19
0
        void ReleaseDesignerOutlets()
        {
            if (testLabel != null)
            {
                testLabel.Dispose();
                testLabel = null;
            }

            if (webView != null)
            {
                webView.Dispose();
                webView = null;
            }
        }
Example #20
0
 public static void RemoveEventListener(this WebView source, string EventName, Action <FireEventData> Event)
 {
     for (int xx = 0; xx < EventListeners.Count; xx++)
     {
         var ee = EventListeners[xx];
         if (source == ee.WebView &&
             string.Compare(EventName, ee.EventName, StringComparison.InvariantCultureIgnoreCase) == 0 &&
             ee.Event == Event)
         {
             EventListeners.RemoveAt(xx);
             break;
         }
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (SegmentoPaginas != null)
            {
                SegmentoPaginas.Dispose();
                SegmentoPaginas = null;
            }

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

            if (WebView != null)
            {
                WebView.Dispose();
                WebView = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (barbtnRight != null)
            {
                barbtnRight.Dispose();
                barbtnRight = null;
            }

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

            if (myWebView != null)
            {
                myWebView.Dispose();
                myWebView = null;
            }
        }
Example #23
0
        void ReleaseDesignerOutlets()
        {
            if (LoadingIndicator != null)
            {
                LoadingIndicator.Dispose();
                LoadingIndicator = null;
            }

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

            if (WebView != null)
            {
                WebView.Dispose();
                WebView = null;
            }
        }
Example #24
0
        void ReleaseDesignerOutlets()
        {
            if (applybuttonBGView != null)
            {
                applybuttonBGView.Dispose();
                applybuttonBGView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (WebView != null)
            {
                WebView.Dispose();
                WebView = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (Category != null)
            {
                Category.Dispose();
                Category = null;
            }

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

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

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

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

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

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

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

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

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

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

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

            if (Webview != null)
            {
                Webview.Dispose();
                Webview = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (btnEdit != null)
            {
                btnEdit.Dispose();
                btnEdit = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (WVReport != null)
            {
                WVReport.Dispose();
                WVReport = null;
            }
        }
Example #29
0
 public EventListener(WebView WebView, string EventName, Action <FireEventData> Event)
 {
     this.WebView   = WebView;
     this.EventName = EventName;
     this.Event     = Event;
 }
Example #30
0
 public static void AddEventListener(this WebView source, string EventName, Action <FireEventData> Event)
 {
     EventListeners.Add(new EventListener(source, EventName, Event));
 }