Пример #1
0
 public void KhoiTaoVienDa()
 {
     for (int i = 0; i < MangVienDa.Length; i++)
     {
         MangVienDa[i] = new VienDa();
         //MangVienDa[i].HinhDa = Image.FromFile("BatDau.png");
     }
 }
Пример #2
0
 public void ThemDa(int i, VienDa stone)
 {
     SoDaTrongO[i]    = stone;
     lbl_SucChua.Text = SoDaTrongO.Length.ToString();
 }
Пример #3
0
 public void ThemDa(VienDa stone)
 {
     Array.Resize(ref SoDaTrongO, SoDaTrongO.Length + 1);
     SoDaTrongO[SoDaTrongO.Length - 1] = stone;
     lbl_SucChua.Text = SoDaTrongO.Length.ToString();
 }