![]() |
|
[Release] [32 Controls] iTalk Theme VB & C# [Unique Features] - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework) +--- Thread: [Release] [32 Controls] iTalk Theme VB & C# [Unique Features] (/Thread-Release-32-Controls-iTalk-Theme-VB-C-Unique-Features) Pages:
1
2
|
[Release] [32 Controls] iTalk Theme VB & C# [Unique Features] - Scythe - 08-07-2014 ![]() Hello, members of Sinisterly. After nearly a month of development, this project has been released to the public today as a celebration of my 8th year of software design and development, as well as celebrating Sinisterly's second birthday. Many of us have heard and used custom controls for WinForms projects rather than the default ones that come packed with .NET Framework. iTalk Theme is one those. However, it comes as a standalone source code file that contain 27 stylish controls, including a form skin. The idea of this project was originally inspired by the iTalk Chat Messenger Concept posted on Deviantart. ![]() Spoiler:
This is a sample of the theme container and some of the included controls. If you're familiar with Aeonhack's Theme Base, this project does not use it, but only uses a tiny module written by him, called 'RoundRect' to create round, non-flat borders for the control. So, the container is pretty much the head of the project, as it what gives the user a visual impression on the program. ![]() Custom Properties Padding: Prevent the controls from overlaying the form when full-docked. DrawBottomBar: Boolean. It draws the dark area at the bottom of the container. TextBottom: Boolean. It draws a string on the drank bottom area. Below are all the sections containing the controls, their descriptions and custom properties. I had to wrap it using spoilers to keep the thread short. Spoiler:Button Spoiler:![]() Custom Properties Image: The first theme to have this feature from between over 160 ones. It allows you to add and image to the button and align it. TextAlignment: Allows you to align the text inside the button. ForeColor: Allows you to change the color of the text inside the button. Labels Spoiler:![]() Basically, the labels are only inheritances of the default ones, but with custom font, font size and color. CheckBox - RadioButton - Toggle Spoiler:![]() Custom Properties - CheckBox Checked: Boolean. Decides whether the CheckBox is ticked or not. Custom Properties - RadioButton Checked: Boolean. Decides whether the RadioButton is ticked or not. Custom Properties - Toggle Checked: Boolean. Decides whether the Toggle value is True or False. Type: Enum. Decides the string inside the control. Either "Yes/No" or "ON/OFF" or "I/O". ComboBox Spoiler:![]() This ComboBox does the same job a regular ComboBox does, but with a different design. The control above it is called "Notification Number. It's basically an integer value control which draws a numeric value only. ContextMenu Spoiler:![]() NumericUpDown - TextBox - RichTextBox Spoiler:
This section contains four controls. NumericUpDown, small TextBox,big TextBox and RichTextBox. ![]() Custom Properties - NumericUpDown Value: Long converted to String. Decides the numeric value of the control. Minimum: Long. Decides the minimum numeric value allowed. Maximum: Long. Decides the maximum numeric value allowed. TextAlignment:: Decides the location of the drawn value inside the control. Custom Properties - Small & Big TextBox TextAlignment:: Decides the location of the drawn value inside the control. MaxLength: Decides the maximum number of digits allowed. UseSystemPasswordChar: Decides whether the string should be masked with a password layer. ReadOnly: Decides whether the string should be set to 'Read Only' mode. Multiline: Boolean. Decides whether the TextBox should be multi-lined. Custom Properties - RichTextBox ReadOnly: Decides whether the string should be set to 'Read Only' mode. WordWrap: Boolean. Decides whether the string should be wrapped according to the control bounds. Chat Bubble Spoiler:![]() Custom Properties ForeColor: Allows you to change the color of the text inside the bubble. BubbleColor: Allows you to change the color of the bubble. DrawBubbleArrow: Boolean. Decides whether to draw an arrow or not. Separator Spoiler:![]() Simple Control Inheritance. It will only draw a re-sizable line. Panel Spoiler:![]() Inheritance of ContainerControl. Works the same way a GroupBox work, but without a header string. GroupBox Spoiler:![]() Also a ContainerControl inheritance. ProgressBar Spoiler:
A new style of the ProgressBar control presented in iTalk. ![]() Custom Properties Value: Long converted to String. Decides the numeric value of the control. Minimum: Long. Decides the minimum numeric value allowed. Maximum: Long. Decides the maximum numeric value allowed. ProgressShape:: Enum. Decides the beginning and end drawn style of the progress. It also supports 'Increment' and 'Decrement' to increase or decrease the value of the ProgressBar. ProgressIndicator Spoiler:
Here is something that was not created before in any theme. You probably know Ajax Loader, or CloudFlare loader. This is similar. It basically works as a marque ProgressBar. It keeps on spinning without stopping at a specific value. ![]() Custom Properties P_BaseColor: Decides the color of the control base. P_AnimationColor: Decides the animation color of the spinner. P_AnimationColor: Decides the animation color of the spinner. P_AnimationSpeed: Integrates with a Timer control to decide the spinning speed of the indicator. TabControl Spoiler:
A nice, modern looking vertical TabControl. ![]() The TabControl will automatically re-size your images from the associated ImageList to (24x24) so it can fit in the tab rectangle. However, to ensure a high-quality image drawing, make sure you only add (32,32) images and not (24,24) as determined in the ImageList. A free, non-commercial icon list that would fit in perfectly with the TabControl design is Wireframe Toolbar Icons by Gentleface. Licensed under Creative Commons Attribution. Check it out from here: Gentleface Free Icons TrackBar Spoiler:![]() Custom Properties Value: Integer converted to String. Decides the numeric value of the control. Minimum: Integer. Decides the minimum numeric value allowed. Maximum: Integer. Decides the maximum numeric value allowed. JumpToMouse: Allows you to jump to the value specified on mouse-click. DrawValueString: Draws the value as a string below the TrackBar. DrawHatch: Boolean. Decides whether to draw a hatch on the dragged value. ValueDivison: This is new. It divides the specified value by either "1(default)" or "10" or "100" or "1000". So, if the value is "6" and you choose to specify a division by "100", the TrackBar value will be "0.06". ![]() Spoiler:
iTalk Theme Source Code File By HazelDev All rights reserved. "Author" and "HazelDev" refer to Sajjad Altahan. "Software" refers to all files included within this package (typically extracted from a Zip archive) and those created during program runtime. "Licensee" and "you" refer to the recipient of this Software. Except where otherwise noted, all copyrights are exclusively owned by the Author. BY USING OR DISTRIBUTING THE SOURCE FILE (OR ANY WORK BASED ON THE SOURCE FILE ), YOU INDICATE YOUR ACCEPTANCE OF THIS LICENSE TO DO SO, AND ALL ITS TERMS AND CONDITIONS FOR USING AND DISTRIBUTING THE SOURCE FILE OR WORKS BASED ON IT. NOTHING OTHER THAN THIS LICENSE GRANTS YOU PERMISSION TO DISTRIBUTE THE SOURCE FILE OR ITS DERIVATIVE WORKS. THESE ACTIONS ARE PROHIBITED BY LAW. IF YOU DO NOT ACCEPT THESE TERMS AND CONDITIONS, DO NOT DISTRIBUTE THE SOURCE FILE. Licenses Licensor hereby grants you the following rights, provided that you comply with all of the restrictions set forth in this License and provided.
Restrictions
Links & Emails HazelDev@outlook.com ![]() Well, you have reached the end now. Let's move on to the source code preview/download links. Pastebin - iTalk Theme for VB Pastebin - iTalk Theme for C# Or, you can download a zip file containing both VB and C# versions. I personally prefer this method, as Visual Studio will automatically remember all collapsed regions of the code and keep it organized. DropBox Download RE: [Release] [27 Controls] iTalk Theme VB & C# [Unique Features] - Shebang - 08-07-2014 This is an awesome share, Scythe. Fantastic work. RE: [Release] [27 Controls] iTalk Theme VB & C# [Unique Features] - Scythe - 08-07-2014 (08-07-2014, 01:10 PM).Shebang Wrote: This is an awesome share, Scythe. Fantastic work. Thank you! Really appreciate it. RE: [Release] [27 Controls] iTalk Theme VB & C# [Unique Features] - Shebang - 08-07-2014 (08-07-2014, 01:10 PM)Scythe Wrote: Thank you! Really appreciate it. No problem! I just spent a little bit reading through all 3,300-odd lines (skimmed the Themebase bit since it's pretty much ingrained at this point). One thing I noticed, while it's certainly not a big deal, is some unnecessary commenting. All of your "Determine x, y, z..." comments aren't really adding anything to the readability, as the code is fairly straightforward even to someone not familiar with the Graphics class or Themebase.
RE: [Release] [27 Controls] iTalk Theme VB & C# [Unique Features] - Scythe - 08-07-2014 (08-07-2014, 04:09 PM).Shebang Wrote: No problem! I just spent a little bit reading through all 3,300-odd lines (skimmed the Themebase bit since it's pretty much ingrained at this point). One thing I noticed, while it's certainly not a big deal, is some unnecessary commenting. All of your "Determine x, y, z..." comments aren't really adding anything to the readability, as the code is fairly straightforward even to someone not familiar with the Graphics class or Themebase. Yeah, I thought the comments would make reading the code a bit easier for beginners. I don't know, really. Perhaps I should remove it. EDIT: You're absolutely right. I started going through my code and also realized there's no need for some comments. Thanks for notifying me. RE: [Release] [27 Controls] iTalk Theme VB & C# [Unique Features] - Shebang - 08-07-2014 (08-07-2014, 04:14 PM)Scythe Wrote: Yeah, I thought the comments would make reading the code a bit easier for beginners. I don't know, really. Perhaps I should remove it. No problem! It's not a big deal, really :p Something you could try out though is XML commenting. In the line above a method, type three apostrophes (''') and a layout will be automatically generated based on the parameters of the method and whatnot. It'll look like this for subs: ![]() And this for functions:
RE: [Release] [27 Controls] iTalk Theme VB & C# [Unique Features] - Scythe - 08-07-2014 Updated the source file for both VB and C# by removing unnecessary comment lines. RE: [Release] [27 Controls] iTalk Theme VB & C# [Unique Features] - Adorapuff - 08-08-2014 I really like it despite my dislike (to say the least) for vb. Nice release RE: [Release] [32 Controls] iTalk Theme VB & C# [Unique Features] - Ayka - 03-14-2015 It's beautiful ! Thanks for sharing.. RE: [Release] [32 Controls] iTalk Theme VB & C# [Unique Features] - Blue - 03-14-2015 Thanks for the share, its a great looking theme! |