using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ImpulseVision { /// /// Овальноподобные плитки для вывода журнала посещений /// public class TileOvals : Panel { public RPanel RPanelName; public System.Windows.Forms.Label LblNameUser; public RPanel RPanelDate; public System.Windows.Forms.Label LblDate; public RPanel RPanelTimeExit; public System.Windows.Forms.Label LblTimeExit; public RPanel RPanelTimeEntrance; public System.Windows.Forms.Label LblTimeEntrance; public string UserID; public string IsIdentification; public TileOvals() { //this = new System.Windows.Forms.Panel(); this.RPanelName = new ImpulseVision.RPanel(); this.LblNameUser = new System.Windows.Forms.Label(); this.RPanelTimeEntrance = new ImpulseVision.RPanel(); this.LblTimeEntrance = new System.Windows.Forms.Label(); this.RPanelTimeExit = new ImpulseVision.RPanel(); this.LblTimeExit = new System.Windows.Forms.Label(); this.RPanelDate = new ImpulseVision.RPanel(); this.LblDate = new System.Windows.Forms.Label(); //this.SuspendLayout(); //this.RPanelName.SuspendLayout(); this.RPanelTimeEntrance.SuspendLayout(); this.RPanelTimeExit.SuspendLayout(); this.RPanelDate.SuspendLayout(); //this.SuspendLayout(); // // PanelTile // this.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Controls.Add(this.RPanelDate); this.Controls.Add(this.RPanelTimeExit); this.Controls.Add(this.RPanelTimeEntrance); this.Controls.Add(this.RPanelName); this.Location = new System.Drawing.Point(3, 31); this.Name = "PanelTile"; this.Size = new System.Drawing.Size(638, 50); this.TabIndex = 0; // // RPanelName // this.RPanelName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.RPanelName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(184)))), ((int)(((byte)(255))))); this.RPanelName.BackColorAdditional = System.Drawing.Color.Gray; this.RPanelName.BackColorGradientEnabled = false; this.RPanelName.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; this.RPanelName.BorderColor = System.Drawing.Color.Tomato; this.RPanelName.BorderColorEnabled = false; this.RPanelName.BorderColorOnHover = System.Drawing.Color.Tomato; this.RPanelName.BorderColorOnHoverEnabled = false; this.RPanelName.Controls.Add(this.LblNameUser); this.RPanelName.Cursor = System.Windows.Forms.Cursors.Default; this.RPanelName.Font = new System.Drawing.Font("Verdana", 8.25F); this.RPanelName.ForeColor = System.Drawing.Color.White; this.RPanelName.Location = new System.Drawing.Point(3, 3); this.RPanelName.Name = "RPanelName"; this.RPanelName.RippleColor = System.Drawing.Color.Black; this.RPanelName.RoundingEnable = true; this.RPanelName.Size = new System.Drawing.Size(290, 43); this.RPanelName.TabIndex = 1; this.RPanelName.TextHover = null; this.RPanelName.UseDownPressEffectOnClick = false; this.RPanelName.UseRippleEffect = true; this.RPanelName.UseZoomEffectOnHover = false; // // LblNameUser // this.LblNameUser.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | 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(284, 43); this.LblNameUser.TabIndex = 0; this.LblNameUser.Text = "Сидоров Иван Игоревич"; this.LblNameUser.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // RPanelTimeEntrance // this.RPanelTimeEntrance.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.RPanelTimeEntrance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(184)))), ((int)(((byte)(255))))); this.RPanelTimeEntrance.BackColorAdditional = System.Drawing.Color.Gray; this.RPanelTimeEntrance.BackColorGradientEnabled = false; this.RPanelTimeEntrance.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; this.RPanelTimeEntrance.BorderColor = System.Drawing.Color.Tomato; this.RPanelTimeEntrance.BorderColorEnabled = false; this.RPanelTimeEntrance.BorderColorOnHover = System.Drawing.Color.Tomato; this.RPanelTimeEntrance.BorderColorOnHoverEnabled = false; this.RPanelTimeEntrance.Controls.Add(this.LblTimeEntrance); this.RPanelTimeEntrance.Cursor = System.Windows.Forms.Cursors.Default; this.RPanelTimeEntrance.Font = new System.Drawing.Font("Verdana", 8.25F); this.RPanelTimeEntrance.ForeColor = System.Drawing.Color.White; this.RPanelTimeEntrance.Location = new System.Drawing.Point(296, 3); this.RPanelTimeEntrance.Name = "RPanelTimeEntrance"; this.RPanelTimeEntrance.RippleColor = System.Drawing.Color.Black; this.RPanelTimeEntrance.RoundingEnable = true; this.RPanelTimeEntrance.Size = new System.Drawing.Size(105, 43); this.RPanelTimeEntrance.TabIndex = 2; this.RPanelTimeEntrance.TextHover = null; this.RPanelTimeEntrance.UseDownPressEffectOnClick = false; this.RPanelTimeEntrance.UseRippleEffect = true; this.RPanelTimeEntrance.UseZoomEffectOnHover = false; // // LblTimeEntrance // this.LblTimeEntrance.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.LblTimeEntrance.BackColor = System.Drawing.Color.Transparent; this.LblTimeEntrance.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold); this.LblTimeEntrance.ForeColor = System.Drawing.Color.Black; this.LblTimeEntrance.Location = new System.Drawing.Point(3, 0); this.LblTimeEntrance.Name = "LblTimeEntrance"; this.LblTimeEntrance.Size = new System.Drawing.Size(99, 43); this.LblTimeEntrance.TabIndex = 0; this.LblTimeEntrance.Text = "13:15:00"; this.LblTimeEntrance.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // RPanelTimeExit // this.RPanelTimeExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.RPanelTimeExit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(184)))), ((int)(((byte)(255))))); this.RPanelTimeExit.BackColorAdditional = System.Drawing.Color.Gray; this.RPanelTimeExit.BackColorGradientEnabled = false; this.RPanelTimeExit.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; this.RPanelTimeExit.BorderColor = System.Drawing.Color.Tomato; this.RPanelTimeExit.BorderColorEnabled = false; this.RPanelTimeExit.BorderColorOnHover = System.Drawing.Color.Tomato; this.RPanelTimeExit.BorderColorOnHoverEnabled = false; this.RPanelTimeExit.Controls.Add(this.LblTimeExit); this.RPanelTimeExit.Cursor = System.Windows.Forms.Cursors.Default; this.RPanelTimeExit.Font = new System.Drawing.Font("Verdana", 8.25F); this.RPanelTimeExit.ForeColor = System.Drawing.Color.White; this.RPanelTimeExit.Location = new System.Drawing.Point(404, 3); this.RPanelTimeExit.Name = "RPanelTimeExit"; this.RPanelTimeExit.RippleColor = System.Drawing.Color.Black; this.RPanelTimeExit.RoundingEnable = true; this.RPanelTimeExit.Size = new System.Drawing.Size(105, 43); this.RPanelTimeExit.TabIndex = 3; this.RPanelTimeExit.TextHover = null; this.RPanelTimeExit.UseDownPressEffectOnClick = false; this.RPanelTimeExit.UseRippleEffect = true; this.RPanelTimeExit.UseZoomEffectOnHover = false; // // LblTimeExit // this.LblTimeExit.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.LblTimeExit.BackColor = System.Drawing.Color.Transparent; this.LblTimeExit.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold); this.LblTimeExit.ForeColor = System.Drawing.Color.Black; this.LblTimeExit.Location = new System.Drawing.Point(3, 0); this.LblTimeExit.Name = "LblTimeExit"; this.LblTimeExit.Size = new System.Drawing.Size(99, 43); this.LblTimeExit.TabIndex = 0; this.LblTimeExit.Text = "13:15:00"; this.LblTimeExit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // RPanelDate // this.RPanelDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.RPanelDate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(184)))), ((int)(((byte)(255))))); this.RPanelDate.BackColorAdditional = System.Drawing.Color.Gray; this.RPanelDate.BackColorGradientEnabled = false; this.RPanelDate.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; this.RPanelDate.BorderColor = System.Drawing.Color.Tomato; this.RPanelDate.BorderColorEnabled = false; this.RPanelDate.BorderColorOnHover = System.Drawing.Color.Tomato; this.RPanelDate.BorderColorOnHoverEnabled = false; this.RPanelDate.Controls.Add(this.LblDate); this.RPanelDate.Cursor = System.Windows.Forms.Cursors.Default; this.RPanelDate.Font = new System.Drawing.Font("Verdana", 8.25F); this.RPanelDate.ForeColor = System.Drawing.Color.White; this.RPanelDate.Location = new System.Drawing.Point(512, 3); this.RPanelDate.Name = "RPanelDate"; this.RPanelDate.RippleColor = System.Drawing.Color.Black; this.RPanelDate.RoundingEnable = true; this.RPanelDate.Size = new System.Drawing.Size(123, 43); this.RPanelDate.TabIndex = 4; this.RPanelDate.TextHover = null; this.RPanelDate.UseDownPressEffectOnClick = false; this.RPanelDate.UseRippleEffect = true; this.RPanelDate.UseZoomEffectOnHover = false; // // LblDate // this.LblDate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.LblDate.BackColor = System.Drawing.Color.Transparent; this.LblDate.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold); this.LblDate.ForeColor = System.Drawing.Color.Black; this.LblDate.Location = new System.Drawing.Point(3, 0); this.LblDate.Name = "LblDate"; this.LblDate.Size = new System.Drawing.Size(117, 43); this.LblDate.TabIndex = 0; this.LblDate.Text = "26.04.2023"; this.LblDate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; } } }