ICDEMainPage..::..TransitToScreen Method
Implement a Screen Transition on Clients Example:
if (TheCDEngines.MyNMIService != null)
{
if (pTargetScreen == TheCDEngines.MyNMIService.MyNMIModel.MyCurrentScreen || string.IsNullOrEmpty(pTargetScreen)) return;
if (pTargetScreen.Equals("BACK"))
((Windows.UI.Xaml.Controls.Frame)Window.Current.Content).GoBack();
else
((Windows.UI.Xaml.Controls.Frame)Window.Current.Content).Navigate(typeof(nsCDEngine.Engines.NMIService.ICDEMainPage), pTargetScreen);
if (TheNMIScreen.TransitToScreen(pTargetScreen))
{
TheCDEngines.MyNMIService.MyNMIModel.MyLastScreen = TheCDEngines.MyNMIService.MyNMIModel.MyCurrentScreen;
TheCDEngines.MyNMIService.MyNMIModel.MyCurrentScreen = pTargetScreen;
}
}
Namespace:
nsCDEngine.Engines.NMIServiceAssembly: C-DEngine (in C-DEngine.dll)