Exemple #1
0
 public void deleteMemory()
 {
     if (mmCard != null)
     {
         this.Controls.Remove(mmCard);
         mmCard = null;
     }
 }
Exemple #2
0
 public void addMemory()
 {
     if (mmCard == null)
     {
         mmCard = new Memory_cards_view();
         mmCard.Location = new Point(5, 5);
     }
     this.Controls.Add(mmCard);
 }