コード例 #1
0
        public ZigzagWin(string [] argv)
        {
            InitializeComponent();

            mFont = new Font("Arial", 10);

            mApp = new ZigzagApp();
            mApp.Init(argv);
            mHighResTimer = new HighResTimer();

            mFormsTimer          = new System.Windows.Forms.Timer();
            mFormsTimer.Interval = 30; // 100 milliseconds is a tenth of a second
            mFormsTimer.Tick    += new System.EventHandler(this.TimerEventProcessor);

            this.MouseClick  += new MouseEventHandler(On_pnlViewPort_Click);
            this.SizeChanged += new EventHandler(On_pnlViewPort_Size);
            this.Load        += new EventHandler(DashFireWin_Load);
        }
コード例 #2
0
        public ZigzagWin(string [] argv)
        {
            InitializeComponent();

            mFont = new Font("Arial", 10);

            mApp = new ZigzagApp();
            mApp.Init(argv);
            mHighResTimer = new HighResTimer();

            mFormsTimer = new System.Windows.Forms.Timer();
            mFormsTimer.Interval = 30; // 100 milliseconds is a tenth of a second
            mFormsTimer.Tick += new System.EventHandler(this.TimerEventProcessor);

            this.MouseClick += new MouseEventHandler(On_pnlViewPort_Click);
            this.SizeChanged += new EventHandler(On_pnlViewPort_Size);
            this.Load += new EventHandler(DashFireWin_Load);
        }