public void VeThucAn(bool xoa) { //Random rdm = new Random(); //int x = rdm.Next(X); //int y = rdm.Next(Y); VeHinh veThucAn = new VeHinh(g, X, Y, TyLe, xoa); }
public void VeRan(bool xoa) { //ve dau VeHinh vedau = new VeHinh(this.g, this.xDau, this.yDau, this.tyle, this.mauDau, this.mauDau, this.mauPanel, xoa); //ve than foreach (Point dotsong in xuongsong) { VeHinh vedotsong = new VeHinh(this.g, dotsong.X, dotsong.Y, this.tyle, this.mauVien, this.mauNen, this.mauPanel, xoa); } }