private void CreateCheckBoxPanel()
        {
            var content = Main.ContentManager;

            var hauptteil = content.Load<Texture2D>("images/gui/inventar/hauptteil");
            var hauptteilH = content.Load<Texture2D>("images/gui/inventar/hauptteil_h");
            var hauptteilA = content.Load<Texture2D>("images/gui/inventar/hauptteil_a");
            var hauptteilAH = content.Load<Texture2D>("images/gui/inventar/hauptteil_a_h");

            var stabilisator = content.Load<Texture2D>("images/gui/inventar/stabilisator");
            var stabilisatorH = content.Load<Texture2D>("images/gui/inventar/stabilisator_h");
            var stabilisatorA = content.Load<Texture2D>("images/gui/inventar/stabilisator_a");
            var stabilisatorAH = content.Load<Texture2D>("images/gui/inventar/stabilisator_a_h");

            var visier = content.Load<Texture2D>("images/gui/inventar/visier");
            var visierH = content.Load<Texture2D>("images/gui/inventar/visier_h");
            var visierA = content.Load<Texture2D>("images/gui/inventar/visier_a");
            var visierAH = content.Load<Texture2D>("images/gui/inventar/visier_a_h");

            var antrieb = content.Load<Texture2D>("images/gui/inventar/antrieb");
            var antriebH = content.Load<Texture2D>("images/gui/inventar/antrieb_h");
            var antriebA = content.Load<Texture2D>("images/gui/inventar/antrieb_a");
            var antriebAH = content.Load<Texture2D>("images/gui/inventar/antrieb_a_h");

            toggleHauptteil = new UIToggleButton(120, 30, new Vector2(280, 80), hauptteil, hauptteilH, hauptteilA, hauptteilAH, "") { IsActive = true };
            toggleStabilisator = new UIToggleButton(120, 30, new Vector2(280, 120), stabilisator, stabilisatorH, stabilisatorA, stabilisatorAH, "") { IsActive = true };
            toggleVisier = new UIToggleButton(120, 30, new Vector2(280, 160), visier, visierH, visierA, visierAH, "") { IsActive = true };
            toggleAntrieb = new UIToggleButton(120, 30, new Vector2(280, 200), antrieb, antriebH, antriebA, antriebAH, "") { IsActive = true };

            toggleHauptteil.AddActionListener(this);
            toggleStabilisator.AddActionListener(this);
            toggleVisier.AddActionListener(this);
            toggleAntrieb.AddActionListener(this);

            Add(toggleHauptteil);
            Add(toggleStabilisator);
            Add(toggleVisier);
            Add(toggleAntrieb);
        }
        private void CreateCheckBoxPanel()
        {
            ContentManager content = Main.ContentManager;

            var alles = content.Load<Texture2D>( "images/gui/inventar/alles" );
            var allesH = content.Load<Texture2D>( "images/gui/inventar/alles_h" );
            var allesA = content.Load<Texture2D>( "images/gui/inventar/alles_a" );
            var allesAH = content.Load<Texture2D>( "images/gui/inventar/alles_a_h" );

            var waffe = content.Load<Texture2D>( "images/gui/inventar/waffe" );
            var waffeH = content.Load<Texture2D>( "images/gui/inventar/waffe_h" );
            var waffeA = content.Load<Texture2D>( "images/gui/inventar/waffe_a" );
            var waffeAH = content.Load<Texture2D>( "images/gui/inventar/waffe_a_h" );

            var hauptteil = content.Load<Texture2D>( "images/gui/inventar/hauptteil" );
            var hauptteilH = content.Load<Texture2D>( "images/gui/inventar/hauptteil_h" );
            var hauptteilA = content.Load<Texture2D>( "images/gui/inventar/hauptteil_a" );
            var hauptteilAH = content.Load<Texture2D>( "images/gui/inventar/hauptteil_a_h" );

            var stabilisator = content.Load<Texture2D>( "images/gui/inventar/stabilisator" );
            var stabilisatorH = content.Load<Texture2D>( "images/gui/inventar/stabilisator_h" );
            var stabilisatorA = content.Load<Texture2D>( "images/gui/inventar/stabilisator_a" );
            var stabilisatorAH = content.Load<Texture2D>( "images/gui/inventar/stabilisator_a_h" );

            var munition = content.Load<Texture2D>( "images/gui/inventar/munition" );
            var munitionH = content.Load<Texture2D>( "images/gui/inventar/munition_h" );
            var munitionA = content.Load<Texture2D>( "images/gui/inventar/munition_a" );
            var munitionAH = content.Load<Texture2D>( "images/gui/inventar/munition_a_h" );

            var visier = content.Load<Texture2D>( "images/gui/inventar/visier" );
            var visierH = content.Load<Texture2D>( "images/gui/inventar/visier_h" );
            var visierA = content.Load<Texture2D>( "images/gui/inventar/visier_a" );
            var visierAH = content.Load<Texture2D>( "images/gui/inventar/visier_a_h" );

            var antrieb = content.Load<Texture2D>( "images/gui/inventar/antrieb" );
            var antriebH = content.Load<Texture2D>( "images/gui/inventar/antrieb_h" );
            var antriebA = content.Load<Texture2D>( "images/gui/inventar/antrieb_a" );
            var antriebAH = content.Load<Texture2D>( "images/gui/inventar/antrieb_a_h" );

            var sonstiges = content.Load<Texture2D>( "images/gui/inventar/sonstiges" );
            var sonstigesH = content.Load<Texture2D>( "images/gui/inventar/sonstiges_h" );
            var sonstigesA = content.Load<Texture2D>( "images/gui/inventar/sonstiges_a" );
            var sonstigesAH = content.Load<Texture2D>( "images/gui/inventar/sonstiges_a_h" );

            toggleAlles = new UIToggleButton( 120, 30, new Vector2( 280, 0 ), alles, allesH, allesA, allesAH, "" );
            toggleWaffe = new UIToggleButton( 120, 30, new Vector2( 280, 40 ), waffe, waffeH, waffeA, waffeAH, "" );
            toggleHauptteil = new UIToggleButton( 120, 30, new Vector2( 280, 80 ), hauptteil, hauptteilH, hauptteilA, hauptteilAH, "" );
            toggleStabilisator = new UIToggleButton( 120, 30, new Vector2( 280, 120 ), stabilisator, stabilisatorH, stabilisatorA, stabilisatorAH, "" );
            toggleMunition = new UIToggleButton( 120, 30, new Vector2( 280, 160 ), munition, munitionH, munitionA, munitionAH, "" );
            toggleVisier = new UIToggleButton( 120, 30, new Vector2( 280, 200 ), visier, visierH, visierA, visierAH, "" );
            toggleAntrieb = new UIToggleButton( 120, 30, new Vector2( 280, 240 ), antrieb, antriebH, antriebA, antriebAH, "" );
            togglePowerup = new UIToggleButton( 120, 30, new Vector2( 280, 280 ), sonstiges, sonstigesH, sonstigesA, sonstigesAH, "" );

            //toggleHauptteil = new UIToggleButton(120, 30, new Vector2(280, 40), hauptteil, hauptteilH, hauptteilA, hauptteilAH, "");
            //toggleStabilisator = new UIToggleButton(120, 30, new Vector2(280, 80), stabilisator, stabilisatorH, stabilisatorA, stabilisatorAH, "");
            //toggleMunition = new UIToggleButton ( 120, 30, new Vector2 ( 280, 120 ), munition, munitionH, munitionA,munitionAH, "" );
            //toggleVisier = new UIToggleButton(120, 30, new Vector2(280, 160), visier, visierH, visierA, visierAH, "");
            //toggleAntrieb = new UIToggleButton(120, 30, new Vector2(280, 200), antrieb, antriebH, antriebA, antriebAH, "");
            //togglePowerup = new UIToggleButton(120, 30, new Vector2(280, 240), sonstiges, sonstigesH, sonstigesA, sonstigesAH, "");

            toggleAlles.AddActionListener( this );
            toggleWaffe.AddActionListener( this );
            toggleHauptteil.AddActionListener( this );
            toggleStabilisator.AddActionListener( this );
            toggleMunition.AddActionListener( this );
            toggleVisier.AddActionListener( this );
            toggleAntrieb.AddActionListener( this );
            togglePowerup.AddActionListener( this );

            Add( toggleAlles );
            Add( toggleWaffe );
            Add( toggleHauptteil );
            Add( toggleStabilisator );
            Add( toggleMunition );
            Add( toggleVisier );
            Add( toggleAntrieb );
            Add( togglePowerup );
        }