CardJournal.cs 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace ImpulseVision
  7. {
  8. /// <summary>
  9. /// Карточка для отображения пользователей не прошедших проверку
  10. /// </summary>
  11. public class CardJournal : RPanel
  12. {
  13. private RPanel RPanelForImage;
  14. public System.Windows.Forms.Label label3;
  15. public System.Windows.Forms.Label label1;
  16. public System.Windows.Forms.Label LblCheckTime;
  17. public System.Windows.Forms.Label LblUserName;
  18. public System.Windows.Forms.PictureBox PbxImage;
  19. public CardJournal()
  20. {
  21. //this = new ImpulseVision.RPanel();
  22. this.LblCheckTime = new System.Windows.Forms.Label();
  23. this.label3 = new System.Windows.Forms.Label();
  24. this.LblUserName = new System.Windows.Forms.Label();
  25. this.label1 = new System.Windows.Forms.Label();
  26. this.RPanelForImage = new ImpulseVision.RPanel();
  27. this.PbxImage = new System.Windows.Forms.PictureBox();
  28. this.SuspendLayout();
  29. this.RPanelForImage.SuspendLayout();
  30. ((System.ComponentModel.ISupportInitialize)(this.PbxImage)).BeginInit();
  31. //
  32. // RPanelCard
  33. //
  34. this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(184)))), ((int)(((byte)(255)))));
  35. this.BackColorAdditional = System.Drawing.Color.Gray;
  36. this.BackColorGradientEnabled = false;
  37. this.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
  38. this.BorderColor = System.Drawing.Color.Tomato;
  39. this.BorderColorEnabled = false;
  40. this.BorderColorOnHover = System.Drawing.Color.Tomato;
  41. this.BorderColorOnHoverEnabled = false;
  42. this.Controls.Add(this.LblCheckTime);
  43. this.Controls.Add(this.label3);
  44. this.Controls.Add(this.LblUserName);
  45. this.Controls.Add(this.label1);
  46. this.Controls.Add(this.RPanelForImage);
  47. this.Cursor = System.Windows.Forms.Cursors.Default;
  48. this.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
  49. this.ForeColor = System.Drawing.Color.White;
  50. this.Location = new System.Drawing.Point(12, 12);
  51. this.Name = "RPanelCard";
  52. this.RippleColor = System.Drawing.Color.Black;
  53. this.Rounding = 15;
  54. this.RoundingEnable = true;
  55. this.Size = new System.Drawing.Size(257, 325);
  56. this.TabIndex = 0;
  57. this.TextHover = null;
  58. this.UseDownPressEffectOnClick = false;
  59. this.UseRippleEffect = true;
  60. this.UseZoomEffectOnHover = false;
  61. //
  62. // LblCheckTime
  63. //
  64. this.LblCheckTime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
  65. | System.Windows.Forms.AnchorStyles.Right)));
  66. this.LblCheckTime.ForeColor = System.Drawing.Color.Black;
  67. this.LblCheckTime.Location = new System.Drawing.Point(60, 285);
  68. this.LblCheckTime.Name = "LblCheckTime";
  69. this.LblCheckTime.Size = new System.Drawing.Size(194, 21);
  70. this.LblCheckTime.TabIndex = 4;
  71. this.LblCheckTime.Text = "01.01.1999 18:42";
  72. //
  73. // label3
  74. //
  75. this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
  76. | System.Windows.Forms.AnchorStyles.Right)));
  77. this.label3.AutoSize = true;
  78. this.label3.ForeColor = System.Drawing.Color.Black;
  79. this.label3.Location = new System.Drawing.Point(3, 285);
  80. this.label3.Name = "label3";
  81. this.label3.Size = new System.Drawing.Size(51, 21);
  82. this.label3.TabIndex = 3;
  83. this.label3.Text = "Дата:";
  84. //
  85. // LblUserName
  86. //
  87. this.LblUserName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
  88. | System.Windows.Forms.AnchorStyles.Right)));
  89. this.LblUserName.ForeColor = System.Drawing.Color.Black;
  90. this.LblUserName.Location = new System.Drawing.Point(3, 238);
  91. this.LblUserName.Name = "LblUserName";
  92. this.LblUserName.Size = new System.Drawing.Size(251, 47);
  93. this.LblUserName.TabIndex = 2;
  94. this.LblUserName.Text = "Терешенко Вячеслав Васильевич";
  95. //
  96. // label1
  97. //
  98. this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
  99. | System.Windows.Forms.AnchorStyles.Right)));
  100. this.label1.ForeColor = System.Drawing.Color.Black;
  101. this.label1.Location = new System.Drawing.Point(3, 212);
  102. this.label1.Name = "label1";
  103. this.label1.Size = new System.Drawing.Size(251, 26);
  104. this.label1.TabIndex = 1;
  105. this.label1.Text = "Предположительно:";
  106. //
  107. // RPanelForImage
  108. //
  109. this.RPanelForImage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  110. | System.Windows.Forms.AnchorStyles.Left)
  111. | System.Windows.Forms.AnchorStyles.Right)));
  112. this.RPanelForImage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(112)))), ((int)(((byte)(129)))));
  113. this.RPanelForImage.BackColorAdditional = System.Drawing.Color.Gray;
  114. this.RPanelForImage.BackColorGradientEnabled = false;
  115. this.RPanelForImage.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
  116. this.RPanelForImage.BorderColor = System.Drawing.Color.Tomato;
  117. this.RPanelForImage.BorderColorEnabled = false;
  118. this.RPanelForImage.BorderColorOnHover = System.Drawing.Color.Tomato;
  119. this.RPanelForImage.BorderColorOnHoverEnabled = false;
  120. this.RPanelForImage.Controls.Add(this.PbxImage);
  121. this.RPanelForImage.Cursor = System.Windows.Forms.Cursors.Default;
  122. this.RPanelForImage.Font = new System.Drawing.Font("Verdana", 8.25F);
  123. this.RPanelForImage.ForeColor = System.Drawing.Color.White;
  124. this.RPanelForImage.Location = new System.Drawing.Point(0, 0);
  125. this.RPanelForImage.Name = "RPanelForImage";
  126. this.RPanelForImage.RippleColor = System.Drawing.Color.Black;
  127. this.RPanelForImage.Rounding = 15;
  128. this.RPanelForImage.RoundingEnable = true;
  129. this.RPanelForImage.Size = new System.Drawing.Size(257, 209);
  130. this.RPanelForImage.TabIndex = 0;
  131. this.RPanelForImage.TextHover = null;
  132. this.RPanelForImage.UseDownPressEffectOnClick = false;
  133. this.RPanelForImage.UseRippleEffect = true;
  134. this.RPanelForImage.UseZoomEffectOnHover = false;
  135. //
  136. // PbxImage
  137. //
  138. this.PbxImage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  139. | System.Windows.Forms.AnchorStyles.Left)
  140. | System.Windows.Forms.AnchorStyles.Right)));
  141. this.PbxImage.Image = global::ImpulseVision.Properties.Resources.Frame_1;
  142. this.PbxImage.Location = new System.Drawing.Point(0, 0);
  143. this.PbxImage.Name = "PbxImage";
  144. this.PbxImage.Size = new System.Drawing.Size(257, 209);
  145. this.PbxImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
  146. this.PbxImage.TabIndex = 0;
  147. this.PbxImage.TabStop = false;
  148. }
  149. }
  150. }