コード例 #1
0
 internal void CloseTrident()
 {
     if (tridentSite != null)
     {
         tridentSite.Close();
         tridentSite = null;
     }
 }
コード例 #2
0
ファイル: MSHTMLHost.cs プロジェクト: uQr/referencesource
        internal bool CreateTrident() {
            Debug.Assert(Handle != IntPtr.Zero,
                         "MSHTMLHost must first be created before createTrident is called");

            try {
                tridentSite = new TridentSite(this);
            }
            catch (Exception e) {
                Debug.WriteLine("Exception caught in MSHTMLHost::CreateTrident\n\t" + e.ToString());
                return false;
            }
            return true;
        }
コード例 #3
0
        internal bool CreateTrident()
        {
            Debug.Assert(Handle != IntPtr.Zero,
                         "MSHTMLHost must first be created before createTrident is called");

            try {
                tridentSite = new TridentSite(this);
            }
            catch (Exception e) {
                Debug.WriteLine("Exception caught in MSHTMLHost::CreateTrident\n\t" + e.ToString());
                return(false);
            }
            return(true);
        }