Friday, December 14, 2012

How to add an icon to your custom control

How to add an icon to your custom control

There's a lot of confusion for this on the internet. However, this is a very simple process.
This is how you do it :

  1. Have an image ready
  2. Make sure the image name is same as the control class.
  3. Resize it to 16 x 16 px (can be done with paint)
  4. While saving, select type as "16 Color bitmap" (paint is really cool !)
  5. Add it to your project (root directory)
  6. Go to its properties
  7. Select the build action as embedded resource.
  8. Rebuild the control
  9. Done!


Continuous Integration for .net Core projects ( for beginners )

Hello developers, This article is about how you can easily setup continuous integration for your dot net core (dnx) projects with appveyo...