Creating Custom Controls

This is a discussion on Creating Custom Controls within the C# Programming forums, part of the General Programming Boards category; Hi. I have a question for you all. Isn't the use of custom controls are used for creating controls like ...

  1. #1
    Registered User Grayson_Peddie's Avatar
    Join Date
    May 2002
    Posts
    96

    Creating Custom Controls

    Hi. I have a question for you all. Isn't the use of custom controls are used for creating controls like custom-made sliders, knobs, switches, etc.? I have done some experiences with creating Windows Forms and code it with C#.
    View in Braille.
    http://www.future-gpnet.com/braille.jpg

    Like a bolt out of the BLUE,
    Fate steps up and sees you THROUGH,
    When you wish upon a STAR
    YOUR DREAMS COME TRUE.

  2. #2
    Registered User datainjector's Avatar
    Join Date
    Mar 2002
    Posts
    356
    well thats not all the story ... U can create composite controls .. which mean a combination of 2 or more different controls... An example would be like your entry form ... instead of every single time creating a new inquiry form .. like the one used in hotmail .. or any other web site .. u can create a single control that is a composite of 2 or more controls. .. so instead of creating the label and text fields each time u have to create a inquire .. just use the composite control..

    You also have ur inheritied control .. i use this alot for my buttons. .. so i can change the shape give it a better gradiant color ... etc ... Which would inherit from System.Windows.Form.Button

    or use the System.Windows.Forms.UserControl to create what ever fancy's u ...
    "I wish i could wish my wishs away"

    "By indirections find directions out" -- William Shakespears

    "Do what thou wilt shall be the whole of the law" -- Crowley "THE BEAST 666"

    Mizra -> love = Death...
    RDB(Rocks yooo)..

    http://www.cbeginnersunited.com

    Are you ready for the Trix ???

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Creating a custom library
    By officedog in forum C Programming
    Replies: 3
    Last Post: 11-11-2008, 10:33 AM
  2. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 10:38 AM
  3. Silverlight 2 - creating controls
    By DavidP in forum C# Programming
    Replies: 0
    Last Post: 05-08-2008, 03:07 PM
  4. custom controls
    By eXistenZ in forum Windows Programming
    Replies: 5
    Last Post: 04-18-2005, 07:09 AM
  5. Custom Controls
    By Mithoric in forum Windows Programming
    Replies: 6
    Last Post: 12-21-2003, 10:09 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21