Is possible load a Form on base of windows?
if Windows XP load form1
if windows 7 x86 load form2
if windows 7 x64 load form3
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes use System.Environment.OSVersion
See this SO question to find out how to interpret the results: How to translate MS Windows OS version numbers into product names in .NET? together with this one: How to detect Windows 64-bit platform with .NET?.
Then just load the appropriate version of the form.