Sep 19, 2013, 1:35 PM
[CLOSED] Question about MyDesktop.Modules
Hello
I tried to translate code from VB to C# and I stuck on a problem.
I want to get first window from a desktop modules. In VB I wrote :
So how can I achive that?
Edit...
Hum, think I have found:
I tried to translate code from VB to C# and I stuck on a problem.
I want to get first window from a desktop modules. In VB I wrote :
myWindow = MyDesktop.Modules("wntTest").Window(0)
In C# I have an error saying that :
member could not be called and can't be used as a method (aproximately translate from french to english)
Ext.Net.Window myWindow = MyDesktop.Modules("wntTest").Window(0);
The goal is to add controls to the window.So how can I achive that?
Edit...
Hum, think I have found:
Ext.Net.Window myWindow = (Ext.Net.Window)MyDesktop.Modules[0].Window[0];
Correct?
Last edited by Daniil; Sep 19, 2013 at 2:36 PM.
Reason: [CLOSED]