Home > Net >  Winform use the skinEngine don't have any effect
Winform use the skinEngine don't have any effect

Time:03-25

Skin bag DEBUG in the BIN directory, and add the SkinEngine toolbox
Drag the controls in the main window
Then in the main window of the constructor defined in the
Public _click ()
{
InitializeComponent ();
Enclosing skinEngine1=new Sunisoft. IrisSkin. SkinEngine (((System.ComponentModel.Com ponent) (this)));
Enclosing skinEngine1. SkinFile=Application. StartupPath + "\ \ Skin \ \ deepgreen neo-philosophy";
Sunisoft. IrisSkin. SkinEngine se=null;
Se=new Sunisoft. IrisSkin. SkinEngine ();
Se. SkinAllForm=true;
SkinEngine1. Active=true;
}
Program is running normal why is that there is no any effect

CodePudding user response:

Enclosing skinEngine1=new Sunisoft. IrisSkin. SkinEngine (((System.ComponentModel.Com ponent) (this)));

This sentence is added in Form1. Designer. Cs file InitializeComponent () function
  •  Tags:  
  • C#
  • Related