Profile Picture

Change Predefined Frame

Posted By Volvick Derose 13 Years Ago
Author
Message
Nevron Support
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hi Volvick,

Try to check the OS version as follows:

if (System.Environment.OSVersion.Version.Major == 5)

Best Regards,
Nevron Support Team



Volvick Derose
Posted 13 Years Ago
View Quick Profile
Forum Guru

Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 71, Visits: 1
I tried the following in form load, it looks like is not working

private void Form1_Load(object sender, EventArgs e)
{
//check for the operating system to change the frame
string operatingSystem = System.Environment.OSVersion.ToString();
if (operatingSystem.Contains("Microsoft Windows XP"))
{
nuiManagerController1.PredefinedFrame = PredefinedFrame.Office2007Blue;
}

How to change the frame at run time?



Similar Topics


Reading This Topic