[Mono-list] System.Web.UI.WebContols.FontInfo
Gaurav Vaish
my_scripts2001@yahoo.com
Tue, 18 Sep 2001 20:03:35 -0700 (PDT)
Ya, this could be one possibility. I would then proceed as per this
assumption.
Ah! The .cs file may become too heavy though if I get to know to more and
more classes to be put in the same assembly :(
Happy Hacking,
Gaurav
-----------------------
--- A Rafael D Teixeira <rafaelteixeirabr@hotmail.com> wrote:
> >From: "Gaurav Vaish" <my_scripts2001@yahoo.com>
> >
> >Hello,
> > The above mentioned class is "sealed" and does not have any
> >constructor.
> >How do I make an instance of it?
> > I need it in the implementation of ...WebControl class for field
> >FontInfo Font. Also, I have to make this class.
>
> Certainly the constructor is 'internal', what means that only classes in the
> same assembly can invoke it, that's why it is not documented.
>
> Just code the needed constructor, prepend the internal modifier, and make
> sure FontInfo and WebControl (and/or any other class that needs to
> instantiate FontInfo) live in the same assembly.
>
> Rafael Teixeira
> Brazilian Developer
>
>
>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
=====
Gaurav Vaish,
Room F-303, Hall 1,
(Department of Electrical Engineering)
Indian Institute of Technology,
Kanpur, INDIA - 208016.
Home: http://mastergaurav.virtualave.net
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/