Re: [Mono-dev] [PATCH] Use the correct type for S.D.Printing.PrintDocument.PrintController

2006-08-04 Thread Carlos Alberto Cortez
Hey, I tried your sample with .Net 2.0, and got: controller = System.Windows.Forms.PrintControllerWithStatusDialog Probably in .Net 1.1 it's handled different (if you are using that version, of course). Carlos. El mié, 02-08-2006 a las 07:45 -0400, Chris Toshok escribió: this doesn't work

Re: [Mono-dev] [PATCH] Use the correct type for S.D.Printing.PrintDocument.PrintController

2006-08-04 Thread Chris Toshok
I ran into some issues when using the .net 2.0 sdk on windows. For the time being it's best to run the 1.1 sdk, since that's the behavior we're trying to match. Chris ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] [PATCH] Use the correct type for S.D.Printing.PrintDocument.PrintController

2006-08-02 Thread Chris Toshok
this doesn't work unless System.Windows.Forms is being used, it appears. The following test: using System; using System.Drawing; using System.Drawing.Printing; public class Foo { public static void Main (string[] args) { PrintDocument doc = new PrintDocument ();

Re: [Mono-dev] [PATCH] Use the correct type for S.D.Printing.PrintDocument.PrintController

2006-08-02 Thread Robert Jordan
Hey, Carlos Alberto Cortez wrote: + Assembly wf_assembly = Assembly.Load (System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089); The version of the assembly is wrong. Please use the constant

Re: [Mono-dev] [PATCH] Use the correct type for S.D.Printing.PrintDocument.PrintController

2006-08-02 Thread Carlos Alberto Cortez
Oh, that's perfect (I wasn't aware of that constant). Carlos. El mié, 02-08-2006 a las 14:00 +0200, Robert Jordan escribió: Hey, Carlos Alberto Cortez wrote: + Assembly wf_assembly = Assembly.Load (System.Windows.Forms, Version=2.0.3600.0, Culture=neutral,