DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Windows Forms custom controls

  1. #1
    Join Date
    Aug 2005

    Custom controls

    Could anyone help with this one

    Have posted this before on a previous thread called database application/databinding to datagrid which I had great help on (thanks whoever you are) but what I'm required to do now is run 3 custom controls instead which are as follows

    Customer details (5 textboxes 1 combobox) (user control)

    DataGrid displaying order information (inherit from datagrid)

    DataGrid displaying order details (inherit from datagrid

    I know I have to create a Windows Control Library project but can I make all 3 controls in one control library or do I have to create separate libraries for the 3 projects

    Also any tips/advice on how I need to alter the coding I already have to cater for the change in design of the program

    I can attach my coding for the last project if anyone is willing to help

    Thanks in advance

  2. #2
    Join Date
    Feb 2004
    Longueuil, Québec
    You can save as many controls as you want in a Control Library.

    In fact, you do not even have to create a Control Library, a standard Class Library does it as well.

    The only difference between a Control Library and a Class library is the first file that is automatically created for you when you create the project. Otherwise, both compile as a dll.
    Jacques Bourgeois

Similar Threads

  1. Dynamically loading custom ASCX controls
    By Hunterlmc in forum ASP.NET
    Replies: 1
    Last Post: 05-03-2005, 02:33 PM
  2. Custom Controls - Inner Content
    By Ben Merrills in forum ASP.NET
    Replies: 1
    Last Post: 09-01-2003, 11:16 PM
  3. Custom controls
    By Mat in forum VB Classic
    Replies: 0
    Last Post: 03-10-2003, 07:58 AM
  4. iBindingList, custom controls, & datagrids
    By Kevin Rose in forum .NET
    Replies: 1
    Last Post: 07-15-2002, 08:28 PM
  5. 9 Custom VB Controls With Source Code
    By Jamie T Voss in forum vb.announcements
    Replies: 1
    Last Post: 10-29-2001, 05:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center