예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="FormMain" /> class.
        /// </summary>
        public FormMain()
        {
            this.InitializeComponent();

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

            if (BOUNDARYTEST)
            {
                timeout = 60;
            }
        }
예제 #2
0
        private TouchColor touchColor; // Color generator

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Initializes a new instance of the <see cref="FormMain" /> class.
        /// </summary>
        public FormMain()
        {
            this.InitializeComponent();

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

            if (BOUNDARYTEST) {
                timeout = 60;
            }
        }