Beispiel #1
0
 public void LoadHtmlFragmentString(string fragmentHtmlString)
 {
     if (htmlRenderBox == null)
     {
         this.waitingContentKind = WaitingContentKind.HtmlFragmentString;
         this.waitingHtmlString  = fragmentHtmlString;
     }
     else
     {
         //just parse content and load
         this.myHtmlCont = HtmlContainerHelper.CreateHtmlContainerFromFragmentHtml(this.htmlhost, fragmentHtmlString, htmlRenderBox);
         SetHtmlContainerEventHandlers();
         ClearWaitingContent();
     }
 }
Beispiel #2
0
 public void LoadHtmlDom(HtmlDocument htmldoc)
 {
     if (htmlRenderBox == null)
     {
         this.waitingContentKind = WaitingContentKind.HtmlDocument;
         this.waitingHtmlDoc     = htmldoc;
     }
     else
     {
         //just parse content and load
         this.myHtmlCont = HtmlContainerHelper.CreateHtmlContainer(this.htmlhost, htmldoc, htmlRenderBox);
         SetHtmlContainerEventHandlers();
         ClearWaitingContent();
         RaiseLayoutFinished();
     }
 }
Beispiel #3
0
 //-----------------------------------------------------------------------------------------------------
 void ClearWaitingContent()
 {
     this.waitingHtmlDoc    = null;
     this.waitingHtmlString = null;
     waitingContentKind     = WaitingContentKind.NoWaitingContent;
 }
Beispiel #4
0
 public void LoadHtmlFragmentString(string fragmentHtmlString)
 {
     if (htmlRenderBox == null)
     {
         this.waitingContentKind = WaitingContentKind.HtmlFragmentString;
         this.waitingHtmlString = fragmentHtmlString;
     }
     else
     {
         //just parse content and load 
         this.myHtmlCont = HtmlContainerHelper.CreateHtmlContainerFromFragmentHtml(this.htmlhost, fragmentHtmlString, htmlRenderBox);
         SetHtmlContainerEventHandlers();
         ClearWaitingContent();
     }
 }
Beispiel #5
0
 public void LoadHtmlDom(HtmlDocument htmldoc)
 {
     if (htmlRenderBox == null)
     {
         this.waitingContentKind = WaitingContentKind.HtmlDocument;
         this.waitingHtmlDoc = htmldoc;
     }
     else
     {
         //just parse content and load 
         this.myHtmlCont = HtmlContainerHelper.CreateHtmlContainer(this.htmlhost, htmldoc, htmlRenderBox);
         SetHtmlContainerEventHandlers();
         ClearWaitingContent();
         RaiseLayoutFinished();
     }
 }
Beispiel #6
0
 //-----------------------------------------------------------------------------------------------------
 void ClearWaitingContent()
 {
     this.waitingHtmlDoc = null;
     this.waitingHtmlString = null;
     waitingContentKind = WaitingContentKind.NoWaitingContent;
 }