[C#] AceInfoBox - Test |
|
06-15-2012, 11:49 PM
(This post was last modified: 06-15-2012 11:54 PM by AceInfinity.)
|
|||
|
|||
|
AceInfoBox - Test
Use The Namespace:
Code: (SELECT ALL CODE) using AceUtilities;My InfoBox Information: Code: (SELECT ALL CODE) private infoStrings infoStrs = new infoStringsTo Test: Code: (SELECT ALL CODE) private void button1_Click(object sender, EventArgs e)My Full Class: Code: (SELECT ALL CODE) using System;Very very basic outcome, but it was just a firsthand test without doing anything fancy. Use it to better your understanding and get to making your own if you want! ![]() With this you can: • Have your own infobox icon • Change the infobox form text & all the label details (I have a preventative function on each string property to add "..." to the end of the string after shortening it if it becomes too long, but perhaps, you could create a function or method to shorten and divide up into lines kind of like an auto-wrapping feature? You'd have to extend the form height though if the description is long enough to extend the bounds of the infobox form without modifying it's size though.) Good example of the C# null coalescing operator in here as well! (??)
![]() Microsoft MVP .NET Programming - (2012 - Present) ®Crestron DMC-T Certified Automation Programmer Development Site: aceinfinity.net |
|||
Possibly Related Threads... |
| Thread: | Author | Replies: | Views: | Last Post | |
Lazy Initialization Test (Lazy<T>) |
AceInfinity | 3 | 211 |
08-07-2012 12:35 AM Last Post: AceInfinity |
|
| LINQ to MSIL Test | AceInfinity | 4 | 442 |
07-28-2012 07:37 PM Last Post: AceInfinity |
|
File Reaper - Alpha Test Project [SearchPath API] |
AceInfinity | 2 | 465 |
05-29-2012 11:17 AM Last Post: AceInfinity |
|
| Users browsing this thread |
| 1 Guest(s) |

AceInfoBox - Test



