[Mono-list] OnAutoSizeChanged(EventArgs) missing?

damoun.h. damoun.houshangi at gmail.com
Thu Mar 29 15:35:17 EDT 2007


I've been trying to get third party components working with mono and i was
able to get a very simple program that just loaded the component to execute
correctly.

However when I tried running a more advanced program that uses a few more
features from the component I get the following error about
System.Windows.Forms.Control::OnAutoSizeChanged(EventArgs) missing

Can anyone please help me out?

The runtime error:

admin at linux-sky:~/Desktop/RichCellEditor/bin/Debug> mono *.exe

** (Xceed.Grid.Samples.RichCellEditors.exe:4125): WARNING **: Missing method
System.Windows.Forms.Control::OnAutoSizeChanged(EventArgs) in assembly
/usr/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll,
referenced in assembly
/home/admin/Desktop/RichCellEditor/bin/Debug/Xceed.Editors.dll

Unhandled Exception: System.MissingMethodException: Method not found:
'System.Windows.Forms.Control.OnAutoSizeChanged'.
  at <0x00000> <unknown method>
  at System.Windows.Forms.TextBoxBase.set_AutoSize (Boolean value) [0x00000] 
  at Xceed.Editors.TextBoxArea.set_AutoSize (Boolean value) [0x00000] 
  at Xceed.Editors.TextBoxArea..ctor () [0x00000] 
  at (wrapper remoting-invoke-with-check) Xceed.Editors.TextBoxArea:.ctor ()
  at Xceed.Editors.WinTextBoxBase.CreateTextBoxArea () [0x00000] 
  at Xceed.Editors.WinTextBoxBase.InitializeTextBoxArea () [0x00000] 
  at Xceed.Editors.WinTextBoxBase.DefaultInitialize () [0x00000] 
  at Xceed.Editors.WinTextBoxBase..ctor (System.Type callerType) [0x00000] 
  at Xceed.Editors.WinTextBox..ctor (System.Type callerType,
EnhancedBorderStyle borderStyle) [0x00000] 
  at (wrapper remoting-invoke-with-check) Xceed.Editors.WinTextBox:.ctor
(System.Type,Xceed.Editors.EnhancedBorderStyle)
  at Xceed.Grid.Editors.TextEditor..ctor () [0x00000] 
  at Xceed.Grid.Samples.RichCellEditors.CreateTextBoxes () [0x00000] 
  at Xceed.Grid.Samples.RichCellEditors.CreateGridData () [0x00000] 
  at Xceed.Grid.Samples.RichCellEditors.InitializeGrid () [0x00000] 
  at Xceed.Grid.Samples.RichCellEditors.RichCellEditors_Load (System.Object
sender, System.EventArgs e) [0x00000] 
  at (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
  at System.Windows.Forms.UserControl.OnLoad (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.UserControl.OnCreateControl () [0x00000] 
  at System.Windows.Forms.Control.CreateControl () [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:CreateControl ()
  at System.Windows.Forms.Control.CreateControl () [0x00000] 
  at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] 
  at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] 
  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:set_Visible (bool)
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
mainForm) [0x00000] 
  at Xceed.Grid.Samples.DemoStarter.StartDemo () [0x00000] 
  at Xceed.Grid.Samples.MainEntry.Main () [0x00000] 


Thanks,
Damoun.H.
-- 
View this message in context: http://www.nabble.com/OnAutoSizeChanged%28EventArgs%29-missing--tf3488405.html#a9741021
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list