[Mono-list] Scope of MainWindow methods & Stetic created widgets
jimevt
jaeuvt at gmail.com
Thu Aug 4 09:26:45 EDT 2011
Hello Ian!
Thanks for your replies!
I tried creating a delegate for the SetStatus() method of the MainWindow,
but I couldn't get it to work. If I remember correctly, it was requiring
that the SetStatus() method be "static" which is a problem.
I can see where passing the MainWindow ( "this" ) into the constructor
for the RTDFile object should work; the object would then just keep that
reference and use it.
In the spirit of encapsulation, I like the idea of a callback. First
I'll try one for the StatusBar itself. Failing that, I'll try one for the
MainWindow.
Thanks Again!
JimE.
--
View this message in context: http://mono.1490590.n4.nabble.com/Scope-of-MainWindow-methods-Stetic-created-widgets-tp3717101p3718639.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list