#pragma once 
 | 
  
 | 
#include "wobject/xcontrol.hpp" 
 | 
#include "kobject/kshtml.hpp" 
 | 
  
 | 
using kshtml = Hxsoft::XFrame::IXSHtml; 
 | 
class xshtml : public xcontrol 
 | 
{ 
 | 
    public: 
 | 
        xshtml():xcontrol(nullptr){} 
 | 
        xshtml(void * implptr):xcontrol(implptr){} 
 | 
        kshtml * getKSHtml(){return (kshtml*)this->GetNativePtr();} 
 | 
    public: 
 | 
        int SetContent(LPCTSTR pStr) 
 | 
        { 
 | 
            return getKSHtml()->SetContent(pStr); 
 | 
        } 
 | 
  
 | 
}; 
 |