Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > .NET WinForms
  New Posts New Posts RSS Feed - skinFramework don't allow to center the screen.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedskinFramework don't allow to center the screen.

 Post Reply Post Reply
Author
Message
boss_mex View Drop Down
Newbie
Newbie
Avatar

Joined: 07 May 2009
Location: Mexico
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote boss_mex Quote  Post ReplyReply Direct Link To This Post Topic: skinFramework don't allow to center the screen.
    Posted: 07 May 2009 at 5:31pm
hi
I'm doing an application and i need a little window to accept user and passoword. I'm using SkinFramework, I had one problem the window is not in the center of the screen I had used the property form.startposition = centerscreen . I thought i was doing something wrong, but the sample "Skin SDI Sample" (that is installed when I installed codejock) shows the same problem.

        public frmMain()
        {

            skinFramework = new AxXtremeSkinFramework.AxSkinFramework();
            ((System.ComponentModel.ISupportInitialize)(skinFramework)).BeginInit();
            this.Controls.Add(skinFramework);
            ((System.ComponentModel.ISupportInitialize)(skinFramework)).EndInit();

            skinFolder = System.IO.Path.GetDirectoryName(Application.ExecutablePath) + "\\..\\..\\..\\..\\Vb\\SkinSDISample\\Styles\\";

            skinFramework.LoadSkin(skinFolder + "Le5", "Normalblue.ini");

            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

        }

----------------------------------------------------------------------

I'm using version  12.1.1 whit visual sutdio 2008.
I noticed that if  I put the code after "InitializeComponent();" the form is showed in the center, but controls that are not codejock are in standard colors.
There is any solution for this problem.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.