示例#1
0
 private void DisposeVisHost()
 {
     if (visHost != null)
     {
         visHost.Dispose();
         visHost = null;
     }
 }
示例#2
0
        private void LaunchVis()
        {
            if (visHost == null)
            {
                visHost         = new Vis.VisHost(player);
                visHost.Closed += VisHost_Closed;
                //visHost.Player = player;

                visHost.Run();
            }
        }