Skip to content

developers support

Tim Stair edited this page Aug 22, 2015 · 1 revision

Developers - Support

3rdParty

SimpleJson

I recently added this as a quick way to access json from Google HTTP requests. The license was right and it worked. I would have used the included JSON.NET but when I tried to all hell broke loose. I'll just leave it at that.

PhotoshopFile

Ages ago PSD support was added by using PSD file type source code written for Paint.NET. Some issues did come up so the version included was slightly modified. I also performed a pass on the code with ReSharper to correct any glaring issues.

Support

The remaining Support code is a collection of functionality that is important to CardMaker but also usable by other applications. Some are quite nice, while others may just be hacks to work around odd problems.

Support Modules

Here are some quick descriptions of each support module.

CSVFile

A CSV file reader. It deals with annoying things like quotes. This is nothing special, but does generally work.

IniManager

This is an ini file manager. There are some nice things about this to help with saving/restoring the state of forms.

IOUtils

Nightmarish(?) code to deal with pathing issues. Might be replaceable with one liners from the Path class (well maybe...).

Logger

A logger for use with files, forms, whatever has the LoggerI interface implemented.

SerializationUtils

A set of convenient wrappers for serializing to XML (and JSON, though with the awkward Microsoft version).

AbstracDirtyForm

A simple wrapper for tracking the dirty state of an open file in an application.

Extensions

Simple extensions for dealing with a lot of repetitive code (invoke is a wonderful win forms problem).

ListViewAssist

Helper functionality for all things ListView!

ListViewDoubleBuffer

3 very powerful lines of code to make the ListView a million times better.

ListViewItemComparer

This is a helper for those occasions when you want your ListView to sort easily.

PanelEx

This is a helpful wrapper for panels that can be scrolled around (oversized/zoomed Controls etc.).

QueryPanel / QueryPanelDialog

I refuse to write the same dialog code thousands of times. This helps with this dramatically. It could probably be even furter simplified but at this time it does the job.

RGBColorSelectDialog

This is an acceptable color selection dialog. I would like it to do more, but it is alright.

UserAction

This is a critical component for the undo system. User actions are Actions with a redo and undo. This object manages the stack at the lowest level.

WaitDialog

This is another collection of code I refuse to rewrite thousands of times. The WaitDialog wraps a Thread and executes it upon opening it.

Win32

Random assortment of dangerous calls via dlls. What could go wrong?

TimeMeasure

Basic time measurement functionality. Humorously I just noticed there is no way to permanently remove a timer...