segunda-feira, 5 de março de 2012
app.onactivated = function (eventObject) {
if (eventObject.detail.kind === Windows.ApplicationModel
.Activation.ActivationKind.launch) {
// TODO: Initialize your application here.
if (eventObject.detail.previousExecutionState !== Windows.ApplicationModel
.Activation.ApplicationExecutionState.terminated) {
// TODO: This application has been newly launched. Initialize
// your application here.
} else {
// TODO: This application has been reactivated from suspension.
// Restore application state here.
}
WinJS.UI.processAll();
}
};
Assinar:
Postar comentários (Atom)
Nenhum comentário:
Postar um comentário