Also, I try to keep my variable names descriptive, and all class member variables carry the prefix ‘ m_’ followed by ‘ i’, ‘ b’, ‘ sz’ for integers, booleans and strings. I know for me, this makes it easier to find the methods I’m looking for when debugging, without having to scroll down twenty or thirty functions to find what I need to fix. I love dividing my code into regions, and you’ll notice that all my classes have Variables, Constructors/Destructors, Events, Public Methods and Private Methods section. I won’t go into my code in too much depth in this article for the sake of space and readability, but for those of you who do download and look at the code, I’d like to briefly talk about my naming conventions and programming style. While these controls do the job very well, I being a fan of Adobe Photoshop, found them to be lacking in options, or in the case of the existing projects here just not quite what I wanted to use for my project. NET Framework, and even better than those are a couple color pickers that can be found right here on the Code Project. I’ll begin by saying that I know there are built-in color dialog boxes included with the. NET controls that behave like the color picker controls usually found in the most recent versions of Adobe Photoshop. This is the first article of a two part series I’m working on, showing some. Introduction Why Another Color Picker Control?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |