C-DEngine 5.105

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.NMIService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


bool TransitToScreen(
	string pTargetScreen
)
Function TransitToScreen ( _
	pTargetScreen As String _
) As Boolean
bool^ TransitToScreen(
	String^ pTargetScreen
)

Parameters

pTargetScreen
Type: String