[MonoDevelop] Adding own component to toolbox
Test
mielzpost at gmail.com
Tue Sep 4 14:12:42 UTC 2012
-- Please reply above this line --
ok pretty aweomse
--
Emile Bosch
mielzpost at gmail.com
> From: Ian Norton <ian.norton-badrul at thales-esecurity.com>
> Date: September 4, 2012 2:12:01 PM UTC
> To: Test <mielzpost at gmail.com>
> Cc: <a href="mailto:monodevelop-list at lists.ximian.com" style="color:#346CC4; text-decoration:none;">monodevelop-list at lists.ximian.com</a>
> Subject: Re: Re: [MonoDevelop] Adding own component to toolbox
>
> I believe you add a System.ComponentModel.**ToolboxItemAttribute to
> your
> class like so:
>
> using System.ComponentModel;
>
> [ToolboxItem]
> public class UniversalComboBoxGTKSharp : Gtk.ComboBox {
>
> }
>
> On 04/09/12 14:43, blazi23 wrote:
>
> Hello everyone!
>
> I start to learn MonoDevelop and I will try to use it with
> NHibernate, but
> my first problem is I can't add my own toolbox item to the list. I
> would
> like to use it in UI Designer instead of manually typing it in *.cs.
>
> I have class:
>
> public class UniversalComboBoxGTKSharp : Gtk.ComboBox
>
> How can I do this?
>
> PS. This class is in seperate *.dll. I was tring to add this using
> "Add
> toolbox item". I point on my dll file and there is error message:
> "The file
> ... does not contain any components"...
> ______________________________**_________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.**com
> http://lists.ximian.com/**mailman/listinfo/monodevelop-**list
>
> ______________________________**_________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.**com
> http://lists.ximian.com/**mailman/listinfo/monodevelop-**list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120904/e0db3784/attachment.html>
More information about the Monodevelop-list
mailing list