private void InitializeWidget(LayoutOrientation orientation)
        {
            ImageBox_1 = new ImageBox();
            ImageBox_1.Name = "ImageBox_1";
            ScrollPanel_1 = new ScrollPanel();
            ScrollPanel_1.Name = "ScrollPanel_1";
            Button_1 = new Button();
            Button_1.Name = "Button_1";

            // ImageBox_1
            ImageBox_1.Image = new ImageAsset(new Image(ImageMode.Rgba,new ImageSize(960,544),new ImageColor(50,50,50,255)));
            ImageBox_1.ImageScaleType = ImageScaleType.Center;

            // ScrollPanel_1
            ScrollPanel_1.HorizontalScroll = false;
            ScrollPanel_1.VerticalScroll = true;
            ScrollPanel_1.ScrollBarVisibility = ScrollBarVisibility.ScrollableVisible;
            var ScrollPanel_1_CreditPanel = new CreditPanel();
            ScrollPanel_1.PanelWidth = ScrollPanel_1_CreditPanel.Width;
            ScrollPanel_1.PanelHeight = ScrollPanel_1_CreditPanel.Height;
            ScrollPanel_1.PanelX = 0;
            ScrollPanel_1.PanelY = 0;
            ScrollPanel_1.AddChildLast(ScrollPanel_1_CreditPanel);

            // Button_1
            Button_1.TextColor = new UIColor(255f / 255f, 255f / 255f, 255f / 255f, 255f / 255f);
            Button_1.TextFont = new UIFont(FontAlias.System, 20, FontStyle.Regular);

            // Credit
            this.RootWidget.AddChildLast(ImageBox_1);
            this.RootWidget.AddChildLast(ScrollPanel_1);
            this.RootWidget.AddChildLast(Button_1);
            this.Transition = new CrossFadeTransition();

            SetWidgetLayout(orientation);

            UpdateLanguage();
        }
        private void InitializeWidget(LayoutOrientation orientation)
        {
            ImageBox_1 = new ImageBox();
            ImageBox_1.Name = "ImageBox_1";
            ProgressBar_1 = new ProgressBar();
            ProgressBar_1.Name = "ProgressBar_1";
            ImageBox_2 = new ImageBox();
            ImageBox_2.Name = "ImageBox_2";
            Button_1 = new Button();
            Button_1.Name = "Button_1";
            Label_1 = new Label();
            Label_1.Name = "Label_1";
            Label_level = new Label();
            Label_level.Name = "Label_level";
            Label_2 = new Label();
            Label_2.Name = "Label_2";
            Label_exp = new Label();
            Label_exp.Name = "Label_exp";
            Label_3 = new Label();
            Label_3.Name = "Label_3";
            Label_rem = new Label();
            Label_rem.Name = "Label_rem";
            ScrollPanel_1 = new ScrollPanel();
            ScrollPanel_1.Name = "ScrollPanel_1";
            Label_4 = new Label();
            Label_4.Name = "Label_4";

            // ImageBox_1
            ImageBox_1.Image = new ImageAsset("/Application/assets/statusbg.jpg");
            ImageBox_1.ImageScaleType = ImageScaleType.Center;

            // ImageBox_2
            ImageBox_2.Image = new ImageAsset("/Application/assets/myCharacter.png");
            ImageBox_2.ImageScaleType = ImageScaleType.Center;

            // Button_1
            Button_1.TextColor = new UIColor(255f / 255f, 255f / 255f, 255f / 255f, 255f / 255f);
            Button_1.TextFont = new UIFont(FontAlias.System, 25, FontStyle.Regular);
            Button_1.BackgroundFilterColor = new UIColor(0f / 255f, 0f / 255f, 0f / 255f, 255f / 255f);

            // Label_1
            Label_1.TextColor = new UIColor(255f / 255f, 191f / 255f, 116f / 255f, 255f / 255f);
            Label_1.Font = new UIFont(FontAlias.System, 40, FontStyle.Bold);
            Label_1.LineBreak = LineBreak.Character;
            Label_1.TextShadow = new TextShadowSettings()
            {
                Color = new UIColor(128f / 255f, 128f / 255f, 128f / 255f, 127f / 255f),
                HorizontalOffset = 2f,
                VerticalOffset = 2f,
            };

            // Label_level
            Label_level.TextColor = new UIColor(255f / 255f, 191f / 255f, 116f / 255f, 255f / 255f);
            Label_level.Font = new UIFont(FontAlias.System, 60, FontStyle.Bold);
            Label_level.LineBreak = LineBreak.Character;
            Label_level.HorizontalAlignment = HorizontalAlignment.Right;
            Label_level.VerticalAlignment = VerticalAlignment.Bottom;
            Label_level.TextShadow = new TextShadowSettings()
            {
                Color = new UIColor(128f / 255f, 128f / 255f, 128f / 255f, 127f / 255f),
                HorizontalOffset = 2f,
                VerticalOffset = 2f,
            };

            // Label_2
            Label_2.TextColor = new UIColor(255f / 255f, 191f / 255f, 116f / 255f, 255f / 255f);
            Label_2.Font = new UIFont(FontAlias.System, 40, FontStyle.Bold);
            Label_2.LineBreak = LineBreak.Character;
            Label_2.TextShadow = new TextShadowSettings()
            {
                Color = new UIColor(128f / 255f, 128f / 255f, 128f / 255f, 127f / 255f),
                HorizontalOffset = 2f,
                VerticalOffset = 2f,
            };

            // Label_exp
            Label_exp.TextColor = new UIColor(255f / 255f, 191f / 255f, 116f / 255f, 255f / 255f);
            Label_exp.Font = new UIFont(FontAlias.System, 32, FontStyle.Bold);
            Label_exp.LineBreak = LineBreak.Character;
            Label_exp.HorizontalAlignment = HorizontalAlignment.Right;
            Label_exp.VerticalAlignment = VerticalAlignment.Bottom;
            Label_exp.TextShadow = new TextShadowSettings()
            {
                Color = new UIColor(128f / 255f, 128f / 255f, 128f / 255f, 127f / 255f),
                HorizontalOffset = 2f,
                VerticalOffset = 2f,
            };

            // Label_3
            Label_3.TextColor = new UIColor(255f / 255f, 191f / 255f, 116f / 255f, 255f / 255f);
            Label_3.Font = new UIFont(FontAlias.System, 28, FontStyle.Bold);
            Label_3.LineBreak = LineBreak.Character;
            Label_3.VerticalAlignment = VerticalAlignment.Bottom;
            Label_3.TextShadow = new TextShadowSettings()
            {
                Color = new UIColor(128f / 255f, 128f / 255f, 128f / 255f, 127f / 255f),
                HorizontalOffset = 2f,
                VerticalOffset = 2f,
            };

            // Label_rem
            Label_rem.TextColor = new UIColor(255f / 255f, 191f / 255f, 116f / 255f, 255f / 255f);
            Label_rem.Font = new UIFont(FontAlias.System, 28, FontStyle.Bold);
            Label_rem.LineBreak = LineBreak.Character;
            Label_rem.HorizontalAlignment = HorizontalAlignment.Right;
            Label_rem.VerticalAlignment = VerticalAlignment.Bottom;
            Label_rem.TextShadow = new TextShadowSettings()
            {
                Color = new UIColor(128f / 255f, 128f / 255f, 128f / 255f, 127f / 255f),
                HorizontalOffset = 2f,
                VerticalOffset = 2f,
            };

            // ScrollPanel_1
            ScrollPanel_1.HorizontalScroll = false;
            ScrollPanel_1.VerticalScroll = true;
            ScrollPanel_1.ScrollBarVisibility = ScrollBarVisibility.ScrollableVisible;
            ScrollPanel_1_Skills = new Skills();
            ScrollPanel_1_Skills.UpdateSkills();
            ScrollPanel_1.PanelWidth = ScrollPanel_1_Skills.Width;
            ScrollPanel_1.PanelHeight = ScrollPanel_1_Skills.Height;
            ScrollPanel_1.PanelX = 0;
            ScrollPanel_1.PanelY = 0;
            ScrollPanel_1.AddChildLast(ScrollPanel_1_Skills);

            // Label_4
            Label_4.TextColor = new UIColor(255f / 255f, 191f / 255f, 116f / 255f, 255f / 255f);
            Label_4.Font = new UIFont(FontAlias.System, 40, FontStyle.Bold);
            Label_4.LineBreak = LineBreak.Character;
            Label_4.HorizontalAlignment = HorizontalAlignment.Center;
            Label_4.TextShadow = new TextShadowSettings()
            {
                Color = new UIColor(128f / 255f, 128f / 255f, 128f / 255f, 127f / 255f),
                HorizontalOffset = 2f,
                VerticalOffset = 2f,
            };

            // CharacterStatus
            this.RootWidget.AddChildLast(ImageBox_1);
            this.RootWidget.AddChildLast(ProgressBar_1);
            this.RootWidget.AddChildLast(ImageBox_2);
            this.RootWidget.AddChildLast(Button_1);
            this.RootWidget.AddChildLast(Label_1);
            this.RootWidget.AddChildLast(Label_level);
            this.RootWidget.AddChildLast(Label_2);
            this.RootWidget.AddChildLast(Label_exp);
            this.RootWidget.AddChildLast(Label_3);
            this.RootWidget.AddChildLast(Label_rem);
            this.RootWidget.AddChildLast(ScrollPanel_1);
            this.RootWidget.AddChildLast(Label_4);
            this.Transition = new JumpFlipTransition();
            SetWidgetLayout(orientation);

            UpdateLanguage();
        }