AGS.Editor.SplashPage.ArrangeLogo C# (CSharp) Method

ArrangeLogo() private method

private ArrangeLogo ( ) : void
return void
        private void ArrangeLogo()
        {
            lblMainVersion.Visible = true;
            lblMainVersion.Font = new Font(Design.FontName, Design.VersionFontPt, FontStyle.Bold);
            lblMainVersion.Text = AGS.Types.Version.AGS_EDITOR_FRIENDLY_VERSION;
            // Have main version frame be located 2 pixel away from the top-right control border
            lblMainVersion.Left = this.Width - lblMainVersion.Width - this.Padding.Right;
            lblMainVersion.Top = this.Padding.Top;

            picCup.Visible = true;
            picCup.Image = Resources.ResourceManager.GetBitmap("ags_cup.png");
            picCup.Left = (this.Width - picCup.Width) / 2;
            // In the Full mode Cup's bottom is aligned to the vertical center,
            // this way the middle line of the splash goes right between
            // the Cup and the Title.
            if (GeneralLooks == SplashLooks.Full)
                picCup.Top = this.Height / 2 - picCup.Height;
            // In the simple mode, Cup is centered on the form,
            // thus the Title is seen distinctively in the lower part
            // of the splash.
            else
                picCup.Top = this.Height / 2 - picCup.Height / 2;

            lblTitle.Visible = true;
            lblTitle.Font = new Font(Design.FontName, Design.TitleFontPt);
            lblTitle.Left = (this.Width - lblTitle.Width) / 2;
            lblTitle.Top = picCup.Bottom + picCup.Height / 8;
        }