Make your own component!

Discussion in 'Programming General' started by kharg0, Mar 2, 2008.

?

Was this helpful?

  1. Yes

    1 vote(s)
    50.0%
  2. Kind of

    0 vote(s)
    0.0%
  3. A little

    0 vote(s)
    0.0%
  4. No you suck

    1 vote(s)
    50.0%
Make your own component!
  1. Unread #1 - Mar 2, 2008 at 8:12 PM
  2. kharg0
    Joined:
    Feb 25, 2007
    Posts:
    131
    Referrals:
    0
    Sythe Gold:
    0

    kharg0 Active Member

    Make your own component!

    Alright first off I didn't even know how to do this i just guessed....

    - Make a new project class library name it ClassLibrary1

    - Add a user control to it name it whatever you want it to say like.. Installer, Button, webbrowser etc.

    - Add a button to the user control... name it Button1

    - Add this code to the button mouse enter
    Code:
    AzersixButton1.ForeColor = Color.Gray
    - Mouse leave
    Code:
    AzersixButton1.ForeColor = Color.Black
    - Save project

    - Build project

    - Create a new project Windows Application...

    - Named Test

    - Right click toolbox press choose items...

    - Press browse

    - Locate the dll you made by building the program (Should be found here) ClassLibrary1/Bin/Debug/Whateva.dll

    - Add the selected components and there you go! hope you enjoyed!

    Please rate!
     
< IRC like chat - parsing data? | Could some one help me? (basic stuff) >

Users viewing this thread
1 guest


 
 
Adblock breaks this site