Sample on how to use a C# UI for an IDA plugin. Uses same basic technique described here. This page requires JavaScript