internal FriendRequestWindow(FuseClient client) { this._Client = client; this._User = client.User; this._UI = client.UI; this.InitializeComponent(); _Opened = true; _CurrentWindow = this; this.Closing += this.OnClose; foreach (KeyValuePair <uint, User> u in this._User.Requesteds) { FriendRequestControl ctrl = new FriendRequestControl(u.Value, this._User); ctrl.Update(); this.ICRequests.Items.Add(ctrl); } }
internal FriendRequestControl(User requester, FuseUser luser) { this._LocalUser = luser; this._Requester = requester; this.InitializeComponent(); }