skinFramework don't allow to center the screen. |
Post Reply |
Author | |
boss_mex
Newbie Joined: 07 May 2009 Location: Mexico Status: Offline Points: 1 |
Post Options
Thanks(0)
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |