Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
CT, when we switched to 4.5.2, I had to change a bunch of places that said Windows.Forms.DialogResult.OK/Cancel to System.Windows.Forms.DialogResult.OK/Cancel. For some reason, maybe because of a new Windows.Forms namespace, you have to qualify Windows.Forms with System. I think your code used to say "MicroFour.StrataFrame.UI.Windows.Forms.ApplicationTheme.Theme <> Windows.Forms.ApplicationThemeName.NoTheme" and you might have used some sort of automated method to upgrade to 4.5.2. Maybe VS even did it for you, I don't know. That automated method probably saw Windows.Forms with nothing in front of it and added System to it. That enum is in the MicroFour.StrataFrame.UI.Windows.Forms namespace, not System.Windows.Forms. So, if you change the If test to "MicroFour.StrataFrame.UI.Windows.Forms.ApplicationTheme.Theme <> MicroFour.StrataFrame.UI.Windows.Forms.ApplicationThemeName.NoTheme", then you will be fixed.
|