public void LoadMPlayers() { MPlayerAccounts.Clear(); ICollection <MPlayer> mPlayers = MPlayers.Instance.GetAllMPlayers(); foreach (MPlayer mPlayer in mPlayers) { if (mPlayer.MUser.Id == Id) { MPlayerAccounts.Add(mPlayer); } } }
public void CreateMPlayer() { MPlayer mPlayer = new MPlayer(this); MPlayerAccounts.Add(mPlayer); }