예제 #1
0
파일: MainForm.cs 프로젝트: mishgan95/test
    public MainForm()
    {
      InitializeComponent();

      m_engine = new Engine(canvas, typeof (LevelOne));

      FormClosing += (o, e) => m_engine.Stop();

      m_engine.Start();
    }
예제 #2
0
        public MainForm()
        {
            InitializeComponent();

             // timer1.Tick += button1_Click;
            //
              m_engine = new Engine(canvas, typeof (LevelOne));

              FormClosing += (o, e) => m_engine.Stop();

              m_engine.Start();
        }