Hi! i am migrating my processes from Studio to Studio X and there are some methods or functions that need to be writted in a differet way and I have to look up how to spell them. Can someone explain why, is a different programming language?
thanks
Examples:
the very first Log in REFramework template:
STUDIO: "The primary screen resolution is: “+Screen.PrimaryScreen.Bounds.Width.ToString+” x "+ Screen.PrimaryScreen.Bounds.Height.ToString
STUDIO X: "The primary screen resolution is: “+system.Windows.SystemParameters.PrimaryScreenWidth.ToString+” x "+ system.Windows.SystemParameters.PrimaryScreenHeight.ToString
instantiate a securityPass variable:
STUDIO: new NetworkCredential(“”, “”).SecurePassword
STUDIO X: (New System.Net.NetworkCredential(“”, “”)).SecurePassword
dates needs to complete also full library method:
STUDIO: CultureInfo.CreateSpecificCulture(“es-ES”)
STUDIO X: system.Globalization.CultureInfo.CreateSpecificCulture(“es-ES”)
It’s not difference b/w Studio and StudioX. Both method will work in Studio and StudioX
instantiate a securityPass variable: STUDIO: new NetworkCredential(“”, “”).SecurePassword STUDIO X: (New System.Net.NetworkCredential(“”, “”)).SecurePassword
dates needs to complete also full library method: STUDIO: CultureInfo.CreateSpecificCulture(“es-ES”) STUDIO X: system.Globalization.CultureInfo.CreateSpecificCulture(“es-ES”)
We can omit namespace if it’s defined in advance, for example as the following. System.Net.NetworkCredential can be written NetworkCredential if System.Net namespace is imported in advance.