[Mono-winforms-list] OpenFileDialog throwing ArgumentNullException
Bill Medland
billmedland@mercuryspeed.com
Mon, 28 Mar 2005 16:36:30 -0800
Can anyone tell me, is this me doing something wrong or is it a current bug in
the code?
(Assuming I am doing the build properly) mono is the current version updated
10 minutes ago.
Test program simply declares an OpenFileDialog
Program throws:
Unhandled Exception: System.ArgumentNullException: Cannot add null image
Parameter name: value
in <0x00104> System.Windows.Forms.ImageList+ImageCollection:Add
(System.Drawing.Image value)
in <0x001a6> System.Windows.Forms.MWFFileView:.ctor ()
in (wrapper remoting-invoke-with-check) System.Windows.Forms.MWFFileView:.ctor
()
in <0x00236> System.Windows.Forms.FileDialog+FileDialogPanel:.ctor
(System.Windows.Forms.FileDialog fileDialog)
in (wrapper remoting-invoke-with-check) FileDialogPanel:.ctor
(System.Windows.Forms.FileDialog)
in <0x000ad> System.Windows.Forms.OpenFileDialog:.ctor ()
in (wrapper remoting-invoke-with-check)
System.Windows.Forms.OpenFileDialog:.ctor ()
in <0x00024> ofd01:Main ()
--
Bill Medland
mailto:billmedland@mercuryspeed.com
http://webhome.idirect.com/~kbmed