static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); USkinSDK.USkinInit("", "", "..\\Skins\\DiyGreen.msstyles"); Application.Run(new Form1()); }
private void menuItem7_Click(object sender, System.EventArgs e) { openFileDialog1.Filter = "NEEMedia Skin Files(*.msstyles)|*.msstyles"; if (openFileDialog1.ShowDialog(this) == DialogResult.OK) { //Skin it USkinSDK.USkinLoadSkin(openFileDialog1.FileName); } }
/// <summary> /// 清理所有正在使用的资源。 /// </summary> protected override void Dispose(bool disposing) { USkinSDK.USkinExit(); if (disposing) { if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
static void Main() { USkinSDK.USkinInit("", "", "..\\Skins\\DiyGreen.msstyles"); Application.Run(new FrmMain()); }