Вы должны исправить CSS, а не изменить тему целые окна, чтобы сделать его работу ...
Кроме того, вы не можете запустить процесс на клиенте из ASP.Net, никогда тем меньше здесь является ответом на не-веб-приложений:
Ref: http://davidrobertmattson.com/wordpress/?p=48
//Sets the current theme
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.CreateNoWindow = false;
startInfo.FileName = “rundll32.exe”;
string startuppath = Application.StartupPath.ToString();
string Arguments = “Shell32.dll,Control_RunDLL desk.cpl desk,@Themes /Action:OpenTheme /File:\”C:\\Windows\\Resources\\Themes\\Windows Classic.Theme\”";
startInfo.Arguments = Arguments;
try
{
// Start the process with the info we specified.
// Call WaitForExit and then the using statement will close.
using (Process exeProcess = Process.Start(startInfo))
{
exeProcess.WaitForInputIdle();
IntPtr p = exeProcess.MainWindowHandle;
ShowWindow(p, 1);
SendKeys.SendWait(“{enter}”);
}
}
catch
{
// Log error.
}
Check [это] (http://davidrobertmattson.com/wordpress/?p=48) из. – SimpleVar
Основываясь на другом вопросе, я думаю, что настало время забрать книгу по ASP.Net и CSS. –
@Yorye Nathan ... большое спасибо. – GStar