using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ImpulseVision { #region <Плитка для отображения имён пользователей> public class UserItem : RPanel { public UserItem() { this.LblNameUser = new System.Windows.Forms.Label(); // // TileUser // this.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(184)))), ((int)(((byte)(255))))); this.BackColorAdditional = System.Drawing.Color.Gray; this.BackColorGradientEnabled = false; this.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; this.BorderColor = System.Drawing.Color.Tomato; this.BorderColorEnabled = false; this.BorderColorOnHover = System.Drawing.Color.Tomato; this.BorderColorOnHoverEnabled = false; this.Controls.Add(this.LblNameUser); this.Cursor = System.Windows.Forms.Cursors.Default; this.Font = new System.Drawing.Font("Verdana", 8.25F); this.ForeColor = System.Drawing.Color.White; this.Location = new System.Drawing.Point(12, 29); this.Name = "TileUser"; this.RippleColor = System.Drawing.Color.Black; this.RoundingEnable = true; this.Size = new System.Drawing.Size(566, 43); this.TabIndex = 0; this.TextHover = null; this.UseDownPressEffectOnClick = false; this.UseRippleEffect = true; this.UseZoomEffectOnHover = false; // // LblNameUser // this.LblNameUser.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.LblNameUser.BackColor = System.Drawing.Color.Transparent; this.LblNameUser.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold); this.LblNameUser.ForeColor = System.Drawing.Color.Black; this.LblNameUser.Location = new System.Drawing.Point(3, 0); this.LblNameUser.Name = "LblNameUser"; this.LblNameUser.Size = new System.Drawing.Size(560, 43); this.LblNameUser.TabIndex = 0; this.LblNameUser.Text = "Сидоров Иван Игоревич"; this.LblNameUser.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; } public string UserID; public System.Windows.Forms.Label LblNameUser; } #endregion }