internal ClientWindow(FuseClient client) { this.InitializeComponent(); this._Client = client; this._TypingTimer.AutoReset = false; this._TypingTimer.Elapsed += (s, e) => this._Client.RunOnSTA(() => this.HideTyping()); }
internal _2FACWindow(FuseClient client, string user, string pass, bool isphone = true) { this.InitializeComponent(); this.TBCode.Focus(); this._Client = client; this._Username = user; this._Password = pass; this._IsPhone = isphone; }
internal LoginWindow(FuseClient client) { this.InitializeComponent(); this._Client = client; this.TBUserName.Focus(); if (!MainDefined) { this.IsMain = true; MainDefined = true; } else { this.IsMain = false; } }
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 FriendControl(FuseClient client, User friend) { this.InitializeComponent(); this._Friend = friend; this._Client = client; }