[Mono-list] Windows Forms - VS2005 Menu Constructor...
Jonathan Pobst
monkey at jpobst.com
Fri Dec 15 13:20:25 EST 2006
Added in r69538. So it's there if you build from SVN, or it will be in
the next release of mono.
Jon
Bruce Carson wrote:
> When editing Windows Forms using Visual Studio, it puts a parameter in the
> constructor of the menu item:
>
> private System.Windows.Forms.MainMenu mainMenu1;
> this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components);
>
> ---
> Currently Mono does not support this method...I have been hand-editing to
> remove the "this.components" from the ctor, but everytime I edit the Form,
> VS rebuilds this method call.
>
> It would be "nice" if Mono treated this call like a call with no parameters
> (perhaps putting out an "Unimplemented" debug message)? In other words
> treat it similarly to the Control::set_AutoSize(bool) method. This
> work-around could be removed once the constructor is actually supported in
> Mono.
>
> Thanks,
> Bruce
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
More information about the Mono-list
mailing list