/// <summary> /// 前往某个界面 /// </summary> /// <param name="interType"></param> public void Goto(InterfaceType interType) { Logger.Info($"Goto : {interType}"); _currentInterface?.Close(); _currentInterface = _interfaces[interType]; _currentInterface?.Show(); }
/// <summary> /// 前往某个界面 /// </summary> /// <param name="interType"></param> public void Goto(InterfaceType interType) { _currentInterface?.StopDraw(); _currentInterface = _interfaces[interType]; _currentInterface?.StartDraw(); }