On Wed, Dec 17, 2008 at 9:21 PM, e8 <cont...@australianmail.homeip.net> wrote: > Ok I got it to work. I simply needed to reference the command in another way > in the project that uses the widget. For some reason C# complicates itself > (or my own mistake) if you try to reference mulitlayers, it simply does the > work for you if you type it in short. Like MyWidgetLibrary. > > mywebview1.webView.Open (@"test.html");
C# isn't being complicated at all. In the first example you were referencing it in static context, passing the instance to the property. That's not how object-oriented languages work. Perhaps this works in C++, but I would not expect it to work like this in any kind of high-level OO language. Java would choke as well. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list