//----------------------------------------------------------------------------------
// HandleConfigProxyButton: Process a click on the Confgure Proxy Button.
//----------------------------------------------------------------------------------
bool WelcomeCtrl::HandleConfigProxyButton(ComponentEvent* pEvent)
{
	if (pEvent->mType != ComponentEvent_ButtonPressed)
		return false;

	WONUpdateCtrl* pUpdateControl = reinterpret_cast<WONUpdateCtrl*>(GetParent());
	if (pUpdateControl)
		pUpdateControl->ShowScreen(WONUpdateCtrl::WS_ConfigProxy);

	return true;
}
Exemplo n.º 2
0
//----------------------------------------------------------------------------------
// HandlePatchDetailsButton: Process a click on the Patch Details Button.
//----------------------------------------------------------------------------------
bool OptionalPatchCtrl::HandlePatchDetailsButton(ComponentEvent* pEvent)
{
    if (pEvent->mType != ComponentEvent_ButtonPressed)
        return false;

    WONUpdateCtrl* pUpdateControl = reinterpret_cast<WONUpdateCtrl*>(GetParent());
    assert(pUpdateControl);
    pUpdateControl->ShowScreen(WONUpdateCtrl::WS_PatchDetails);

    return true;
}