public Game(TransparentGameComponent component, IWin32Window owner)
        {
            _owner = owner;
            LoadGameComponent(component);

            _timer = new Timer {
                Interval = 20, Enabled = false
            };
            _timer.Tick += Timer_Tick;
            Closing     += Game_Closing;

            Capture = false;
        }
 public static Game GenerateGame <T>(IWin32Window owner) where T : TransparentGameComponent, new() =>
 new Game(TransparentGameComponent.Generate <T>(), owner);
 public void LoadGameComponent(TransparentGameComponent component)
 {
     _aGameComponent?.Close();
     _aGameComponent = component;
 }