Reference |
Design Patterns Index |
|
Design Patterns are easy to use best-practice samples for common development tasks, programming techniques, and typical protocol features.
These Design Patterns are Microsoft C# code samples that utilize core Microsoft.Net features and functionality provided by Stardraw Control. You can find additional resources on general C# programming in print and online.
Read this section and still have a problem you just can't solve or get working? Someone in the Support Forums or a Certified Programmer may be able to help.
Pattern |
Reference Topic |
Description |
Exposes a property from a Script Component making it accessible from the Properties Grid at design-time | ||
Controlling devices from within Script Components. | ||
Appends an ASCII encoded string to end of a byte array. | ||
Illustrates the uses of the String.Format method and StringBuilder class. | ||
How to copy byte arrays, and convert an array to an ArrayList object. | ||
Converts an array of bytes to an ASCII string. | ||
Converts an array of bytes to an integer value. | ||
Calculates a single-byte basic checksum from an array of bytes | ||
Makes properties, methods or events in your script accessible to the Actions dialog in the Forms View. | ||
Advanced. Allows two or more methods running on separate threads to safely access shared data within a class. | ||
How to receive and accumulate incoming bytes from a serial or TCP port. | ||
Receiving text strings from a serial or TCP port. | ||
Advanced. How to launch and safely terminate child threads. | ||
Converts an ASCII encoded string to an array of bytes. | ||
Converts a number encoded as an ASCII string to a value. | ||
Converts multibyte values between host and network byte-order. | ||
Converts a multibyte integer value to an array of bytes. | ||
Allows controllable read/write access to a propriety, with an event that is fired when the property value changes. | ||
Advanced. Shows how one thread can wait to be signalled from another thread, and to time out after a specified period | ||
Outputs a byte array to a serial or TCP port. | ||
Outputs a text string to a serial or TCP port, with or without end of line terminators. |