// Constructor
        public MTScratchpadWMTouchForm()
        {
            InitializeComponent();

            // Create data members, color generator and stroke collections.
            touchColor      = new TouchColor();
            ActiveStrokes   = new CollectionOfStrokes();
            FinishedStrokes = new CollectionOfStrokes();

            // Setup handlers
            Touchdown += OnTouchDownHandler;
            Touchup   += OnTouchUpHandler;
            TouchMove += OnTouchMoveHandler;
            Paint     += new PaintEventHandler(this.OnPaintHandler);

            // Set window background color
            this.BackColor = SystemColors.Window;
        }
        private TouchColor touchColor; // Color generator

        #endregion Fields

        #region Constructors

        // Constructor
        public MTScratchpadWMTouchForm()
        {
            InitializeComponent();

            // Create data members, color generator and stroke collections.
            touchColor = new TouchColor ();
            ActiveStrokes = new CollectionOfStrokes ();
            FinishedStrokes = new CollectionOfStrokes ();

            // Setup handlers
            Touchdown += OnTouchDownHandler;
            Touchup += OnTouchUpHandler;
            TouchMove += OnTouchMoveHandler;
            Paint += new PaintEventHandler(this.OnPaintHandler);

            // Set window background color
            this.BackColor = SystemColors.Window;
        }