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