コード例 #1
0
ファイル: PivotGame.cs プロジェクト: mikhaildubov/Planets
 public void RemoveItem(PivotGameItem pgi)
 {
     Items.Remove(pgi);
 }
コード例 #2
0
ファイル: PivotGame.cs プロジェクト: mikhaildubov/Planets
 /// <summary>
 /// Adds a new item to the pivot pages collection.
 /// </summary>
 /// <param name="pgi">The item to add.</param>
 public void AddItem(PivotGameItem pgi)
 {
     Items.Add(pgi);
     pgi.Parent = this;
 }