[Mono-list] Am I missing something with ContextMenuStrips andToolStrips?

Maser, Dan Dan.Maser at inin.com
Tue Dec 26 14:52:57 EST 2006


  Thanks for the reply.  My issue is a run time issue, not a compile
issue though.  In fact, the executable I'm running in this case was
compiled with "another .NET compiler".  Is there something about the
runtime environment that would affect this?

  And as to your second point - is there a posted list (like there is
for the 1.1 Windows.Forms) about what's working and what isn't?  I can
only find the 1.1 information and not the 2.0 info.

   Thanks! 

-----Original Message-----
From: Miguel de Icaza [mailto:miguel at ximian.com] 
Sent: Tuesday, December 26, 2006 1:35 PM
To: Maser, Dan
Cc: mono-list at lists.ximian.com
Subject: Re: [Mono-list] Am I missing something with ContextMenuStrips
andToolStrips?

Hello,

> 
>    I've seen a few posts here and there about mono and MenuStrips,
> ToolStrips and ToolStripMenuItems but when I compile the latest mono I
> get runtime errors about missing methods like
> "System.Windows.Forms.Form.set_MainMenuStrip()".   Is it the case that
> MenuStrips are implemented but the methods that hook them up to Forms
> is not?  Or am I missing something about how to run my application to
> use the newest libs?  The debug output does indicate to me that the
> SWF 2.0 dll is the one reporting the error, not the 1.x version.  Any
> ideas?

You must compile with "gmcs" instead of "mcs" to get access to 2.0 APIs.

But the whole Windows.Forms 2.0 stack is under heavy development, we
make no promises that anything will work.




More information about the Mono-list mailing list