예제 #1
0
 public void OnActiveViewChanging(object sender, EventArgs <string> e)
 {
     if (e.Data == ViewNames.Replay)
     {
         _IsCurrentView = true;
         SetBtnCloseColor();
         LoadSessions();
         _CmdManager.FunctionReplay(FunctionReplay.DisableSupervisor, ViaReplay.None, null, 0);
     }
     else if (_IsCurrentView)
     {
         _IsCurrentView = false;
         _CmdManager.FunctionReplay(FunctionReplay.EnableSupervisor, ViaReplay.None, null, 0);
     }
 }