Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
 internal FriendRequestControl(User requester, FuseUser luser)
 {
     this._LocalUser = luser;
     this._Requester = requester;
     this.InitializeComponent();
 }