예제 #1
0
void TabItem::OnLoaded(suic::LoadedEventArg& e)
{
    __super::OnLoaded(e);

    suic::FrameworkElementPtr frame(GetTabContent());

    if (frame)
    {
        frame->UpdateLoaded(e.GetTarget());
    }
}
예제 #2
0
void WebBrowser::OnLoaded(suic::LoadedEventArg& e)
{
    suic::FrameworkElement::OnLoaded(e);

    WebWrapper* pWeb = (WebWrapper*)_webHost;
    suic::VisualHostPtr pHost(e.GetTarget());

    if (_webHost)
    {
        pWeb->SetHandle(pHost->GetHandle());
    }
}