private void BtnReset_Click(object sender, EventArgs e) { listEventBlock = new AreaEventList(GameVars.BLOCK); listLevelBlock = new AreaLevelList(GameVars.BLOCK); DrawArea = new Bitmap(pic.Size.Width, pic.Size.Height); PbPic.Image = DrawArea; }
public Form1() { InitializeComponent(); listEventBlock = new AreaEventList(GameVars.BLOCK); listLevelBlock = new AreaLevelList(GameVars.BLOCK); }