Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Problem in Csharp Coding
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem in Csharp Coding

 Post Reply Post Reply
Author
Message
shancse View Drop Down
Newbie
Newbie


Joined: 29 July 2009
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote shancse Quote  Post ReplyReply Direct Link To This Post Topic: Problem in Csharp Coding
    Posted: 29 July 2009 at 2:44am

If i am going to use it in my csharp application it wont return the skins


this.axSkinFramework2.LoadSkin("C:\\Documents and Settings\\SHANS\\Desktop\\codejock\\20090403_100249_ABD_SkinModule\\ABD_SkinModule\\APPLICATION_SKINS\\Office2007.cjstyles", "NormalBlack.ini");
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2009 at 10:26am
Here is a snippet from our sample:

        public frmMain()
        {
            Instance = this;

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

            skinFolder = System.IO.Path.GetDirectoryName(Application.ExecutablePath) + "\\..\\..\\..\\..\\Styles\\";
            skinFramework.LoadSkin(skinFolder + "Vista.cjstyles", "NormalBlack.ini");


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

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }

Maybe you load it in a different place?
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.155 seconds.