[Mono-devel-list] this.Controls.Add(this.button1) is not working

Milind Patil milindpa at dpsl.net
Fri Jan 21 07:32:26 EST 2005


Hello Sir,
  Can Mono support the User Control developed in C#.

Milind


Thanks And Regards,
Milind D. Patil
DX Technologies Pvt. Ltd.
Plot No. 45, S. No. 199
Royal Tower A, Viman Nagar
Pune 411 014 (Maharashtra)
Phone : +91 (20) 2663 4007/08/09  ext. 263
Fax +91 (20) 26634222







-----Original Message-----
From: Peter Dennis Bartok [mailto:peter at novonyx.com]
Sent: Friday, January 21, 2005 1:49 PM
To: Milind Patil
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-devel-list] this.Controls.Add(this.button1) is not
working


You are running an old version of System.Windows.Forms that is not support
anymore.

Please see http://www.mono-project.com/contributing/winforms.html for
information on the new version, which, at this point, still has to be built
from source. Also, be aware that the development effort is still underway
and that it is not complete. However, the code you posted will work fine.

Cheers,
  Peter

-----Original Message-----
From: "Milind Patil" <milindpa at dpsl.net>
To: "Rafael Teixeira" <monoman at gmail.com>
Cc: <mono-devel-list at lists.ximian.com>
Date: 21 January, 2005 00:49
Subject: RE: [Mono-devel-list] this.Controls.Add(this.button1) is not
working


>Hi Rafael Teixeira,
>   Thanks a lot for reply.
> The Problem is not at the this.Controls.Add(this.button1).
>
>The Problem occurs at this point.
>  this.button1.Text = "A"
>while assigning the value to Text Property of controls of Windows Forms.
>
>Error Displayed :
>
>   The application has produced an exception , Press 'Continue' if you want
>the application to try to .....
>
>   Object reference not set to an instance...
>
>Error Details :
>
>   in(unmanaged) (wrapper managed-to-native)
>System.Drawing.GDIPlus.GdipDrawString
>   (intptr,string,int,intptr,System.Drawing.RectangleF , intptr, intptr)
>   in <0*00004>(wrapper managed-to-native)
>System.Drawing.GDIplus.GdipDrawString
>    ......
>
>
>in :dc:IDC_FreeWindowDCE[0*1003]GetDC() without ReleaseDC()
>....
>
>Regards
>
>Kumar
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>Thanks And Regards,
>Milind D. Patil
>DX Technologies Pvt. Ltd.
>Plot No. 45, S. No. 199
>Royal Tower A, Viman Nagar
>Pune 411 014 (Maharashtra)
>Phone : +91 (20) 2663 4007/08/09  ext. 263
>Fax +91 (20) 26634222
>
>
>
>
>
>
>
>-----Original Message-----
>From: Rafael Teixeira [mailto:monoman at gmail.com]
>Sent: Friday, January 21, 2005 12:14 AM
>To: Milind Patil
>Cc: mono-devel-list at lists.ximian.com
>Subject: Re: [Mono-devel-list] this.Controls.Add(this.button1) is not
>working
>
>
>If you could send the error details, probably we could start to help you.
>
>
>On Wed, 19 Jan 2005 15:52:12 +0530, Milind Patil <milindpa at dpsl.net> wrote:
>>
>>
>> Hi,
>>  I am developing the simple C# GUI Application with one button (button1)
>on
>> the Form.
>>  when I compile it , it displays the error
>>
>> can anybody help me.
>> ___________________________________
>>
>>
>>
>> Thanks And Regards,
>> Milind D. Patil
>> DX Technologies Pvt. Ltd.
>> Plot No. 45, S. No. 199
>> Royal Tower A, Viman Nagar
>> Pune 411 014 (Maharashtra)
>> Phone : +91 (20) 2663 4007/08/09  ext. 263
>> Fax +91 (20) 26634222
>>
>>
>>
>>
>>
>
>
>--
>Rafael "Monoman" Teixeira
>---------------------------------------
>I'm trying to become a "Rosh Gadol" before my own eyes.
>See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>



More information about the Mono-devel-list mailing list