Преглед на файлове

Окно журнала

Вячеслав Терешенко преди 2 години
родител
ревизия
8841c0c349

+ 152 - 0
ImpulseVision/CardJournal.cs

@@ -0,0 +1,152 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ImpulseVision
+{
+    /// <summary>
+    /// Карточка для отображения пользователей не прошедших проверку
+    /// </summary>
+    public class CardJournal : RPanel
+    {
+        private RPanel RPanelForImage;
+        private System.Windows.Forms.Label label3;
+        private System.Windows.Forms.Label label1;
+        public System.Windows.Forms.Label LblCheckTime;
+        public System.Windows.Forms.Label LblUserName;
+        public System.Windows.Forms.PictureBox PbxImage;
+
+        public CardJournal()
+        {
+            //this = new ImpulseVision.RPanel();
+            this.LblCheckTime = new System.Windows.Forms.Label();
+            this.label3 = new System.Windows.Forms.Label();
+            this.LblUserName = new System.Windows.Forms.Label();
+            this.label1 = new System.Windows.Forms.Label();
+            this.RPanelForImage = new ImpulseVision.RPanel();
+            this.PbxImage = new System.Windows.Forms.PictureBox();
+            this.SuspendLayout();
+            this.RPanelForImage.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.PbxImage)).BeginInit();
+            // 
+            // RPanelCard
+            // 
+            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.LblCheckTime);
+            this.Controls.Add(this.label3);
+            this.Controls.Add(this.LblUserName);
+            this.Controls.Add(this.label1);
+            this.Controls.Add(this.RPanelForImage);
+            this.Cursor = System.Windows.Forms.Cursors.Default;
+            this.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
+            this.ForeColor = System.Drawing.Color.White;
+            this.Location = new System.Drawing.Point(12, 12);
+            this.Name = "RPanelCard";
+            this.RippleColor = System.Drawing.Color.Black;
+            this.Rounding = 15;
+            this.RoundingEnable = true;
+            this.Size = new System.Drawing.Size(257, 325);
+            this.TabIndex = 0;
+            this.TextHover = null;
+            this.UseDownPressEffectOnClick = false;
+            this.UseRippleEffect = true;
+            this.UseZoomEffectOnHover = false;
+            // 
+            // LblCheckTime
+            // 
+            this.LblCheckTime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.LblCheckTime.ForeColor = System.Drawing.Color.Black;
+            this.LblCheckTime.Location = new System.Drawing.Point(60, 285);
+            this.LblCheckTime.Name = "LblCheckTime";
+            this.LblCheckTime.Size = new System.Drawing.Size(194, 21);
+            this.LblCheckTime.TabIndex = 4;
+            this.LblCheckTime.Text = "01.01.1999 18:42";
+            // 
+            // label3
+            // 
+            this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.label3.AutoSize = true;
+            this.label3.ForeColor = System.Drawing.Color.Black;
+            this.label3.Location = new System.Drawing.Point(3, 285);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(51, 21);
+            this.label3.TabIndex = 3;
+            this.label3.Text = "Дата:";
+            // 
+            // LblUserName
+            // 
+            this.LblUserName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.LblUserName.ForeColor = System.Drawing.Color.Black;
+            this.LblUserName.Location = new System.Drawing.Point(3, 238);
+            this.LblUserName.Name = "LblUserName";
+            this.LblUserName.Size = new System.Drawing.Size(251, 47);
+            this.LblUserName.TabIndex = 2;
+            this.LblUserName.Text = "Терешенко Вячеслав Васильевич";
+            // 
+            // label1
+            // 
+            this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.label1.ForeColor = System.Drawing.Color.Black;
+            this.label1.Location = new System.Drawing.Point(3, 212);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(251, 26);
+            this.label1.TabIndex = 1;
+            this.label1.Text = "Предположительно:";
+            // 
+            // RPanelForImage
+            // 
+            this.RPanelForImage.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.RPanelForImage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(112)))), ((int)(((byte)(129)))));
+            this.RPanelForImage.BackColorAdditional = System.Drawing.Color.Gray;
+            this.RPanelForImage.BackColorGradientEnabled = false;
+            this.RPanelForImage.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
+            this.RPanelForImage.BorderColor = System.Drawing.Color.Tomato;
+            this.RPanelForImage.BorderColorEnabled = false;
+            this.RPanelForImage.BorderColorOnHover = System.Drawing.Color.Tomato;
+            this.RPanelForImage.BorderColorOnHoverEnabled = false;
+            this.RPanelForImage.Controls.Add(this.PbxImage);
+            this.RPanelForImage.Cursor = System.Windows.Forms.Cursors.Default;
+            this.RPanelForImage.Font = new System.Drawing.Font("Verdana", 8.25F);
+            this.RPanelForImage.ForeColor = System.Drawing.Color.White;
+            this.RPanelForImage.Location = new System.Drawing.Point(0, 0);
+            this.RPanelForImage.Name = "RPanelForImage";
+            this.RPanelForImage.RippleColor = System.Drawing.Color.Black;
+            this.RPanelForImage.Rounding = 15;
+            this.RPanelForImage.RoundingEnable = true;
+            this.RPanelForImage.Size = new System.Drawing.Size(257, 209);
+            this.RPanelForImage.TabIndex = 0;
+            this.RPanelForImage.TextHover = null;
+            this.RPanelForImage.UseDownPressEffectOnClick = false;
+            this.RPanelForImage.UseRippleEffect = true;
+            this.RPanelForImage.UseZoomEffectOnHover = false;
+            // 
+            // PbxImage
+            // 
+            this.PbxImage.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.PbxImage.Image = global::ImpulseVision.Properties.Resources.Frame_1;
+            this.PbxImage.Location = new System.Drawing.Point(0, 0);
+            this.PbxImage.Name = "PbxImage";
+            this.PbxImage.Size = new System.Drawing.Size(257, 209);
+            this.PbxImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+            this.PbxImage.TabIndex = 0;
+            this.PbxImage.TabStop = false;
+        }
+    }
+}

+ 3 - 2
ImpulseVision/FormGuard.cs

@@ -491,8 +491,6 @@ where UserID = '{CurrentUserID}' and [Date] = CAST(GETDATE() as date)";
                     #endregion
                     #endregion
                 }
                 }
 
 
-
-
                 SCon.Open();
                 SCon.Open();
                 string QueryAddVisit = $@"set dateformat dmy insert into UserTraffic (UserID,TimeEntrance,Identification,[Date])
                 string QueryAddVisit = $@"set dateformat dmy insert into UserTraffic (UserID,TimeEntrance,Identification,[Date])
 values ('{CurrentUserID}','{DateTime.Now.ToString("HH:mm:ss")}','{IsIdentification}','{DateTime.Now.ToString("dd.MM.yyyy")}')";
 values ('{CurrentUserID}','{DateTime.Now.ToString("HH:mm:ss")}','{IsIdentification}','{DateTime.Now.ToString("dd.MM.yyyy")}')";
@@ -586,6 +584,9 @@ where ut.[Date] = cast(GETDATE() as date)";
         private void BtnReject_Click(object sender, EventArgs e)
         private void BtnReject_Click(object sender, EventArgs e)
         {
         {
             RegisterVisit(0);
             RegisterVisit(0);
+            if (!IsRecognized)
+                return;
+
             try
             try
             {
             {
                 Image<Bgr, byte> Img = BgrFrame.Copy();
                 Image<Bgr, byte> Img = BgrFrame.Copy();

+ 188 - 0
ImpulseVision/FormJournal.Designer.cs

@@ -0,0 +1,188 @@
+namespace ImpulseVision
+{
+    partial class FormJournal
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.RPanelCard = new ImpulseVision.RPanel();
+            this.LblCheckTime = new System.Windows.Forms.Label();
+            this.label3 = new System.Windows.Forms.Label();
+            this.LblUserName = new System.Windows.Forms.Label();
+            this.label1 = new System.Windows.Forms.Label();
+            this.RPanelForImage = new ImpulseVision.RPanel();
+            this.PbxImage = new System.Windows.Forms.PictureBox();
+            this.RPanelCard.SuspendLayout();
+            this.RPanelForImage.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.PbxImage)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // RPanelCard
+            // 
+            this.RPanelCard.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(184)))), ((int)(((byte)(184)))), ((int)(((byte)(255)))));
+            this.RPanelCard.BackColorAdditional = System.Drawing.Color.Gray;
+            this.RPanelCard.BackColorGradientEnabled = false;
+            this.RPanelCard.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
+            this.RPanelCard.BorderColor = System.Drawing.Color.Tomato;
+            this.RPanelCard.BorderColorEnabled = false;
+            this.RPanelCard.BorderColorOnHover = System.Drawing.Color.Tomato;
+            this.RPanelCard.BorderColorOnHoverEnabled = false;
+            this.RPanelCard.Controls.Add(this.LblCheckTime);
+            this.RPanelCard.Controls.Add(this.label3);
+            this.RPanelCard.Controls.Add(this.LblUserName);
+            this.RPanelCard.Controls.Add(this.label1);
+            this.RPanelCard.Controls.Add(this.RPanelForImage);
+            this.RPanelCard.Cursor = System.Windows.Forms.Cursors.Default;
+            this.RPanelCard.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
+            this.RPanelCard.ForeColor = System.Drawing.Color.White;
+            this.RPanelCard.Location = new System.Drawing.Point(12, 12);
+            this.RPanelCard.Name = "RPanelCard";
+            this.RPanelCard.RippleColor = System.Drawing.Color.Black;
+            this.RPanelCard.Rounding = 15;
+            this.RPanelCard.RoundingEnable = true;
+            this.RPanelCard.Size = new System.Drawing.Size(257, 325);
+            this.RPanelCard.TabIndex = 0;
+            this.RPanelCard.TextHover = null;
+            this.RPanelCard.UseDownPressEffectOnClick = false;
+            this.RPanelCard.UseRippleEffect = true;
+            this.RPanelCard.UseZoomEffectOnHover = false;
+            // 
+            // LblCheckTime
+            // 
+            this.LblCheckTime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.LblCheckTime.ForeColor = System.Drawing.Color.Black;
+            this.LblCheckTime.Location = new System.Drawing.Point(60, 285);
+            this.LblCheckTime.Name = "LblCheckTime";
+            this.LblCheckTime.Size = new System.Drawing.Size(194, 21);
+            this.LblCheckTime.TabIndex = 4;
+            this.LblCheckTime.Text = "01.01.1999 18:42";
+            // 
+            // label3
+            // 
+            this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.label3.AutoSize = true;
+            this.label3.ForeColor = System.Drawing.Color.Black;
+            this.label3.Location = new System.Drawing.Point(3, 285);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(51, 21);
+            this.label3.TabIndex = 3;
+            this.label3.Text = "Дата:";
+            // 
+            // LblUserName
+            // 
+            this.LblUserName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.LblUserName.ForeColor = System.Drawing.Color.Black;
+            this.LblUserName.Location = new System.Drawing.Point(3, 238);
+            this.LblUserName.Name = "LblUserName";
+            this.LblUserName.Size = new System.Drawing.Size(251, 47);
+            this.LblUserName.TabIndex = 2;
+            this.LblUserName.Text = "Терешенко Вячеслав Васильевич";
+            // 
+            // label1
+            // 
+            this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.label1.ForeColor = System.Drawing.Color.Black;
+            this.label1.Location = new System.Drawing.Point(3, 212);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(251, 26);
+            this.label1.TabIndex = 1;
+            this.label1.Text = "Предположительно:";
+            // 
+            // RPanelForImage
+            // 
+            this.RPanelForImage.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.RPanelForImage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(112)))), ((int)(((byte)(129)))));
+            this.RPanelForImage.BackColorAdditional = System.Drawing.Color.Gray;
+            this.RPanelForImage.BackColorGradientEnabled = false;
+            this.RPanelForImage.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
+            this.RPanelForImage.BorderColor = System.Drawing.Color.Tomato;
+            this.RPanelForImage.BorderColorEnabled = false;
+            this.RPanelForImage.BorderColorOnHover = System.Drawing.Color.Tomato;
+            this.RPanelForImage.BorderColorOnHoverEnabled = false;
+            this.RPanelForImage.Controls.Add(this.PbxImage);
+            this.RPanelForImage.Cursor = System.Windows.Forms.Cursors.Default;
+            this.RPanelForImage.Font = new System.Drawing.Font("Verdana", 8.25F);
+            this.RPanelForImage.ForeColor = System.Drawing.Color.White;
+            this.RPanelForImage.Location = new System.Drawing.Point(0, 0);
+            this.RPanelForImage.Name = "RPanelForImage";
+            this.RPanelForImage.RippleColor = System.Drawing.Color.Black;
+            this.RPanelForImage.Rounding = 15;
+            this.RPanelForImage.RoundingEnable = true;
+            this.RPanelForImage.Size = new System.Drawing.Size(257, 209);
+            this.RPanelForImage.TabIndex = 0;
+            this.RPanelForImage.TextHover = null;
+            this.RPanelForImage.UseDownPressEffectOnClick = false;
+            this.RPanelForImage.UseRippleEffect = true;
+            this.RPanelForImage.UseZoomEffectOnHover = false;
+            // 
+            // PbxImage
+            // 
+            this.PbxImage.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.PbxImage.Image = global::ImpulseVision.Properties.Resources.Frame_1;
+            this.PbxImage.Location = new System.Drawing.Point(0, 0);
+            this.PbxImage.Name = "PbxImage";
+            this.PbxImage.Size = new System.Drawing.Size(257, 209);
+            this.PbxImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+            this.PbxImage.TabIndex = 0;
+            this.PbxImage.TabStop = false;
+            // 
+            // FormJournal
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 21F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(255)))), ((int)(((byte)(252)))));
+            this.ClientSize = new System.Drawing.Size(711, 381);
+            this.Controls.Add(this.RPanelCard);
+            this.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
+            this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.Name = "FormJournal";
+            this.Text = "FormJournal";
+            this.RPanelCard.ResumeLayout(false);
+            this.RPanelCard.PerformLayout();
+            this.RPanelForImage.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.PbxImage)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+        private RPanel RPanelForImage;
+        private System.Windows.Forms.Label label3;
+        private System.Windows.Forms.Label label1;
+        public RPanel RPanelCard;
+        public System.Windows.Forms.Label LblCheckTime;
+        public System.Windows.Forms.Label LblUserName;
+        public System.Windows.Forms.PictureBox PbxImage;
+    }
+}

+ 20 - 0
ImpulseVision/FormJournal.cs

@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace ImpulseVision
+{
+    public partial class FormJournal : Form
+    {
+        public FormJournal()
+        {
+            InitializeComponent();
+        }
+    }
+}

+ 120 - 0
ImpulseVision/FormJournal.resx

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 359 - 288
ImpulseVision/FormMain.Designer.cs

@@ -54,12 +54,33 @@
             this.TabPages = new System.Windows.Forms.TabControl();
             this.TabPages = new System.Windows.Forms.TabControl();
             this.TbUsers = new System.Windows.Forms.TabPage();
             this.TbUsers = new System.Windows.Forms.TabPage();
             this.TableUsers = new System.Windows.Forms.TableLayoutPanel();
             this.TableUsers = new System.Windows.Forms.TableLayoutPanel();
-            this.RPanelUser = new ImpulseVision.RPanel();
-            this.label4 = new System.Windows.Forms.Label();
             this.TbMain = new System.Windows.Forms.TabPage();
             this.TbMain = new System.Windows.Forms.TabPage();
             this.TableLayoutWorks = new System.Windows.Forms.TableLayoutPanel();
             this.TableLayoutWorks = new System.Windows.Forms.TableLayoutPanel();
             this.PbxEther = new System.Windows.Forms.PictureBox();
             this.PbxEther = new System.Windows.Forms.PictureBox();
             this.panel1 = new System.Windows.Forms.Panel();
             this.panel1 = new System.Windows.Forms.Panel();
+            this.BtnSave = new System.Windows.Forms.Button();
+            this.TbSettings = new System.Windows.Forms.TabPage();
+            this.label3 = new System.Windows.Forms.Label();
+            this.label2 = new System.Windows.Forms.Label();
+            this.TbVisits = new System.Windows.Forms.TabPage();
+            this.label7 = new System.Windows.Forms.Label();
+            this.PanelHeader = new System.Windows.Forms.Panel();
+            this.TbxFindUser = new System.Windows.Forms.TextBox();
+            this.TabJournal = new System.Windows.Forms.TableLayoutPanel();
+            this.DtpFiniteDate = new System.Windows.Forms.DateTimePicker();
+            this.CmbSortDate = new System.Windows.Forms.ComboBox();
+            this.PanelPeriod = new System.Windows.Forms.Panel();
+            this.DtpDateEnd = new System.Windows.Forms.DateTimePicker();
+            this.DtpDateStart = new System.Windows.Forms.DateTimePicker();
+            this.label6 = new System.Windows.Forms.Label();
+            this.label5 = new System.Windows.Forms.Label();
+            this.TbJournal = new System.Windows.Forms.TabPage();
+            this.TabCard = new System.Windows.Forms.TableLayoutPanel();
+            this.ImList = new System.Windows.Forms.ImageList(this.components);
+            this.TimerSaving = new System.Windows.Forms.Timer(this.components);
+            this.TmAnim = new System.Windows.Forms.Timer(this.components);
+            this.RPanelUser = new ImpulseVision.RPanel();
+            this.label4 = new System.Windows.Forms.Label();
             this.TbxPhone = new ImpulseVision.EgoldsGoogleTextBox();
             this.TbxPhone = new ImpulseVision.EgoldsGoogleTextBox();
             this.TbxPasportNum = new ImpulseVision.EgoldsGoogleTextBox();
             this.TbxPasportNum = new ImpulseVision.EgoldsGoogleTextBox();
             this.TbxPasportSeria = new ImpulseVision.EgoldsGoogleTextBox();
             this.TbxPasportSeria = new ImpulseVision.EgoldsGoogleTextBox();
@@ -68,16 +89,10 @@
             this.RPanelForAddUser = new ImpulseVision.RPanel();
             this.RPanelForAddUser = new ImpulseVision.RPanel();
             this.label1 = new System.Windows.Forms.Label();
             this.label1 = new System.Windows.Forms.Label();
             this.TbxLastname = new ImpulseVision.EgoldsGoogleTextBox();
             this.TbxLastname = new ImpulseVision.EgoldsGoogleTextBox();
-            this.BtnSave = new System.Windows.Forms.Button();
-            this.TbSettings = new System.Windows.Forms.TabPage();
             this.SwPositionWindow = new ImpulseVision.EgoldsToggleSwitch();
             this.SwPositionWindow = new ImpulseVision.EgoldsToggleSwitch();
-            this.label3 = new System.Windows.Forms.Label();
-            this.label2 = new System.Windows.Forms.Label();
             this.RPanelSettings = new ImpulseVision.RPanel();
             this.RPanelSettings = new ImpulseVision.RPanel();
             this.LblTextSettings = new System.Windows.Forms.Label();
             this.LblTextSettings = new System.Windows.Forms.Label();
             this.SwAutoLoad = new ImpulseVision.EgoldsToggleSwitch();
             this.SwAutoLoad = new ImpulseVision.EgoldsToggleSwitch();
-            this.TbVisits = new System.Windows.Forms.TabPage();
-            this.PanelHeader = new System.Windows.Forms.Panel();
             this.RPanelTitleDate = new ImpulseVision.RPanel();
             this.RPanelTitleDate = new ImpulseVision.RPanel();
             this.label13 = new System.Windows.Forms.Label();
             this.label13 = new System.Windows.Forms.Label();
             this.RPanelTitleExit = new ImpulseVision.RPanel();
             this.RPanelTitleExit = new ImpulseVision.RPanel();
@@ -86,40 +101,30 @@
             this.label8 = new System.Windows.Forms.Label();
             this.label8 = new System.Windows.Forms.Label();
             this.RPanelForNameUser = new ImpulseVision.RPanel();
             this.RPanelForNameUser = new ImpulseVision.RPanel();
             this.LblTitleNameUser = new System.Windows.Forms.Label();
             this.LblTitleNameUser = new System.Windows.Forms.Label();
-            this.TbxFindUser = new System.Windows.Forms.TextBox();
-            this.label7 = new System.Windows.Forms.Label();
-            this.TabJournal = new System.Windows.Forms.TableLayoutPanel();
-            this.DtpFiniteDate = new System.Windows.Forms.DateTimePicker();
-            this.CmbSortDate = new System.Windows.Forms.ComboBox();
-            this.PanelPeriod = new System.Windows.Forms.Panel();
-            this.DtpDateEnd = new System.Windows.Forms.DateTimePicker();
-            this.DtpDateStart = new System.Windows.Forms.DateTimePicker();
-            this.label6 = new System.Windows.Forms.Label();
-            this.label5 = new System.Windows.Forms.Label();
-            this.ImList = new System.Windows.Forms.ImageList(this.components);
-            this.TimerSaving = new System.Windows.Forms.Timer(this.components);
-            this.TmAnim = new System.Windows.Forms.Timer(this.components);
-            this.TbJournal = new System.Windows.Forms.TabPage();
+            this.RPanelTitleJournal = new ImpulseVision.RPanel();
+            this.label9 = new System.Windows.Forms.Label();
             this.menuStrip1.SuspendLayout();
             this.menuStrip1.SuspendLayout();
             this.ToolsMenu.SuspendLayout();
             this.ToolsMenu.SuspendLayout();
             this.statusStrip1.SuspendLayout();
             this.statusStrip1.SuspendLayout();
             this.TabPages.SuspendLayout();
             this.TabPages.SuspendLayout();
             this.TbUsers.SuspendLayout();
             this.TbUsers.SuspendLayout();
-            this.RPanelUser.SuspendLayout();
             this.TbMain.SuspendLayout();
             this.TbMain.SuspendLayout();
             this.TableLayoutWorks.SuspendLayout();
             this.TableLayoutWorks.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.PbxEther)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.PbxEther)).BeginInit();
             this.panel1.SuspendLayout();
             this.panel1.SuspendLayout();
-            this.RPanelForAddUser.SuspendLayout();
             this.TbSettings.SuspendLayout();
             this.TbSettings.SuspendLayout();
-            this.RPanelSettings.SuspendLayout();
             this.TbVisits.SuspendLayout();
             this.TbVisits.SuspendLayout();
             this.PanelHeader.SuspendLayout();
             this.PanelHeader.SuspendLayout();
+            this.PanelPeriod.SuspendLayout();
+            this.TbJournal.SuspendLayout();
+            this.RPanelUser.SuspendLayout();
+            this.RPanelForAddUser.SuspendLayout();
+            this.RPanelSettings.SuspendLayout();
             this.RPanelTitleDate.SuspendLayout();
             this.RPanelTitleDate.SuspendLayout();
             this.RPanelTitleExit.SuspendLayout();
             this.RPanelTitleExit.SuspendLayout();
             this.RPanelTitleEntrance.SuspendLayout();
             this.RPanelTitleEntrance.SuspendLayout();
             this.RPanelForNameUser.SuspendLayout();
             this.RPanelForNameUser.SuspendLayout();
-            this.PanelPeriod.SuspendLayout();
+            this.RPanelTitleJournal.SuspendLayout();
             this.SuspendLayout();
             this.SuspendLayout();
             // 
             // 
             // menuStrip1
             // menuStrip1
@@ -329,49 +334,9 @@
             this.TableUsers.Name = "TableUsers";
             this.TableUsers.Name = "TableUsers";
             this.TableUsers.RowCount = 1;
             this.TableUsers.RowCount = 1;
             this.TableUsers.RowStyles.Add(new System.Windows.Forms.RowStyle());
             this.TableUsers.RowStyles.Add(new System.Windows.Forms.RowStyle());
-            this.TableUsers.Size = new System.Drawing.Size(723, 323);
+            this.TableUsers.Size = new System.Drawing.Size(723, 315);
             this.TableUsers.TabIndex = 7;
             this.TableUsers.TabIndex = 7;
             // 
             // 
-            // RPanelUser
-            // 
-            this.RPanelUser.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
-            this.RPanelUser.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(104)))), ((int)(((byte)(112)))));
-            this.RPanelUser.BackColorAdditional = System.Drawing.Color.Gray;
-            this.RPanelUser.BackColorGradientEnabled = false;
-            this.RPanelUser.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
-            this.RPanelUser.BorderColor = System.Drawing.Color.Tomato;
-            this.RPanelUser.BorderColorEnabled = false;
-            this.RPanelUser.BorderColorOnHover = System.Drawing.Color.Tomato;
-            this.RPanelUser.BorderColorOnHoverEnabled = false;
-            this.RPanelUser.Controls.Add(this.label4);
-            this.RPanelUser.Cursor = System.Windows.Forms.Cursors.Default;
-            this.RPanelUser.Font = new System.Drawing.Font("Verdana", 8.25F);
-            this.RPanelUser.ForeColor = System.Drawing.Color.White;
-            this.RPanelUser.Location = new System.Drawing.Point(3, 3);
-            this.RPanelUser.Name = "RPanelUser";
-            this.RPanelUser.RippleColor = System.Drawing.Color.Black;
-            this.RPanelUser.RoundingEnable = true;
-            this.RPanelUser.Size = new System.Drawing.Size(717, 25);
-            this.RPanelUser.TabIndex = 6;
-            this.RPanelUser.TextHover = null;
-            this.RPanelUser.UseDownPressEffectOnClick = false;
-            this.RPanelUser.UseRippleEffect = true;
-            this.RPanelUser.UseZoomEffectOnHover = false;
-            // 
-            // label4
-            // 
-            this.label4.BackColor = System.Drawing.Color.Transparent;
-            this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.label4.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
-            this.label4.ForeColor = System.Drawing.Color.White;
-            this.label4.Location = new System.Drawing.Point(0, 0);
-            this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(717, 25);
-            this.label4.TabIndex = 5;
-            this.label4.Text = "<Пользователи>";
-            this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter;
-            // 
             // TbMain
             // TbMain
             // 
             // 
             this.TbMain.BackColor = System.Drawing.Color.White;
             this.TbMain.BackColor = System.Drawing.Color.White;
@@ -396,7 +361,7 @@
             this.TableLayoutWorks.Name = "TableLayoutWorks";
             this.TableLayoutWorks.Name = "TableLayoutWorks";
             this.TableLayoutWorks.RowCount = 1;
             this.TableLayoutWorks.RowCount = 1;
             this.TableLayoutWorks.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
             this.TableLayoutWorks.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
-            this.TableLayoutWorks.Size = new System.Drawing.Size(717, 351);
+            this.TableLayoutWorks.Size = new System.Drawing.Size(717, 359);
             this.TableLayoutWorks.TabIndex = 6;
             this.TableLayoutWorks.TabIndex = 6;
             // 
             // 
             // PbxEther
             // PbxEther
@@ -406,28 +371,291 @@
             this.PbxEther.Location = new System.Drawing.Point(258, 3);
             this.PbxEther.Location = new System.Drawing.Point(258, 3);
             this.PbxEther.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
             this.PbxEther.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
             this.PbxEther.Name = "PbxEther";
             this.PbxEther.Name = "PbxEther";
-            this.PbxEther.Size = new System.Drawing.Size(469, 345);
+            this.PbxEther.Size = new System.Drawing.Size(469, 353);
             this.PbxEther.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
             this.PbxEther.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
             this.PbxEther.TabIndex = 2;
             this.PbxEther.TabIndex = 2;
             this.PbxEther.TabStop = false;
             this.PbxEther.TabStop = false;
             this.PbxEther.Click += new System.EventHandler(this.PbxEther_Click_1);
             this.PbxEther.Click += new System.EventHandler(this.PbxEther_Click_1);
             // 
             // 
-            // panel1
+            // panel1
+            // 
+            this.panel1.BackColor = System.Drawing.Color.White;
+            this.panel1.Controls.Add(this.TbxPhone);
+            this.panel1.Controls.Add(this.TbxPasportNum);
+            this.panel1.Controls.Add(this.TbxPasportSeria);
+            this.panel1.Controls.Add(this.TbxPatronymic);
+            this.panel1.Controls.Add(this.TbxFirstname);
+            this.panel1.Controls.Add(this.RPanelForAddUser);
+            this.panel1.Controls.Add(this.TbxLastname);
+            this.panel1.Controls.Add(this.BtnSave);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel1.Location = new System.Drawing.Point(3, 3);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(250, 353);
+            this.panel1.TabIndex = 0;
+            // 
+            // BtnSave
+            // 
+            this.BtnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(136)))), ((int)(((byte)(144)))));
+            this.BtnSave.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
+            this.BtnSave.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(255)))), ((int)(((byte)(248)))));
+            this.BtnSave.Location = new System.Drawing.Point(7, 307);
+            this.BtnSave.Name = "BtnSave";
+            this.BtnSave.Size = new System.Drawing.Size(236, 35);
+            this.BtnSave.TabIndex = 3;
+            this.BtnSave.Text = "Добавить";
+            this.BtnSave.UseVisualStyleBackColor = false;
+            this.BtnSave.Click += new System.EventHandler(this.BtnSave_Click);
+            // 
+            // TbSettings
+            // 
+            this.TbSettings.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(255)))), ((int)(((byte)(252)))));
+            this.TbSettings.Controls.Add(this.SwPositionWindow);
+            this.TbSettings.Controls.Add(this.label3);
+            this.TbSettings.Controls.Add(this.label2);
+            this.TbSettings.Controls.Add(this.RPanelSettings);
+            this.TbSettings.Controls.Add(this.SwAutoLoad);
+            this.TbSettings.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
+            this.TbSettings.Location = new System.Drawing.Point(4, 30);
+            this.TbSettings.Name = "TbSettings";
+            this.TbSettings.Padding = new System.Windows.Forms.Padding(3);
+            this.TbSettings.Size = new System.Drawing.Size(723, 357);
+            this.TbSettings.TabIndex = 1;
+            this.TbSettings.Text = "tabPage2";
+            // 
+            // label3
+            // 
+            this.label3.AutoSize = true;
+            this.label3.Location = new System.Drawing.Point(8, 83);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(365, 21);
+            this.label3.TabIndex = 4;
+            this.label3.Text = "Сохранять положение окна при перезапуске";
+            // 
+            // label2
+            // 
+            this.label2.AutoSize = true;
+            this.label2.Location = new System.Drawing.Point(8, 46);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(340, 21);
+            this.label2.TabIndex = 3;
+            this.label2.Text = "Запускать приложение вместе с системой";
+            // 
+            // TbVisits
+            // 
+            this.TbVisits.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(255)))), ((int)(((byte)(252)))));
+            this.TbVisits.Controls.Add(this.label7);
+            this.TbVisits.Controls.Add(this.PanelHeader);
+            this.TbVisits.Controls.Add(this.TbxFindUser);
+            this.TbVisits.Controls.Add(this.TabJournal);
+            this.TbVisits.Controls.Add(this.DtpFiniteDate);
+            this.TbVisits.Controls.Add(this.CmbSortDate);
+            this.TbVisits.Controls.Add(this.PanelPeriod);
+            this.TbVisits.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
+            this.TbVisits.Location = new System.Drawing.Point(4, 30);
+            this.TbVisits.Name = "TbVisits";
+            this.TbVisits.Size = new System.Drawing.Size(723, 357);
+            this.TbVisits.TabIndex = 3;
+            this.TbVisits.Text = "tabPage1";
+            // 
+            // label7
+            // 
+            this.label7.AutoSize = true;
+            this.label7.Location = new System.Drawing.Point(8, 44);
+            this.label7.Name = "label7";
+            this.label7.Size = new System.Drawing.Size(128, 21);
+            this.label7.TabIndex = 6;
+            this.label7.Text = "Поиск по ФИО:";
+            // 
+            // PanelHeader
+            // 
+            this.PanelHeader.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.PanelHeader.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(255)))), ((int)(((byte)(252)))));
+            this.PanelHeader.Controls.Add(this.RPanelTitleDate);
+            this.PanelHeader.Controls.Add(this.RPanelTitleExit);
+            this.PanelHeader.Controls.Add(this.RPanelTitleEntrance);
+            this.PanelHeader.Controls.Add(this.RPanelForNameUser);
+            this.PanelHeader.Location = new System.Drawing.Point(0, 76);
+            this.PanelHeader.Name = "PanelHeader";
+            this.PanelHeader.Size = new System.Drawing.Size(723, 32);
+            this.PanelHeader.TabIndex = 8;
+            // 
+            // TbxFindUser
+            // 
+            this.TbxFindUser.Location = new System.Drawing.Point(142, 41);
+            this.TbxFindUser.Name = "TbxFindUser";
+            this.TbxFindUser.Size = new System.Drawing.Size(221, 29);
+            this.TbxFindUser.TabIndex = 7;
+            this.TbxFindUser.TextChanged += new System.EventHandler(this.TbxFindUser_TextChanged);
+            // 
+            // TabJournal
+            // 
+            this.TabJournal.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.TabJournal.AutoScroll = true;
+            this.TabJournal.ColumnCount = 1;
+            this.TabJournal.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+            this.TabJournal.Location = new System.Drawing.Point(0, 110);
+            this.TabJournal.Name = "TabJournal";
+            this.TabJournal.RowCount = 1;
+            this.TabJournal.RowStyles.Add(new System.Windows.Forms.RowStyle());
+            this.TabJournal.Size = new System.Drawing.Size(723, 252);
+            this.TabJournal.TabIndex = 5;
+            // 
+            // DtpFiniteDate
+            // 
+            this.DtpFiniteDate.Location = new System.Drawing.Point(182, 3);
+            this.DtpFiniteDate.Name = "DtpFiniteDate";
+            this.DtpFiniteDate.Size = new System.Drawing.Size(199, 29);
+            this.DtpFiniteDate.TabIndex = 1;
+            this.DtpFiniteDate.ValueChanged += new System.EventHandler(this.DtpFiniteDate_ValueChanged);
+            // 
+            // CmbSortDate
+            // 
+            this.CmbSortDate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.CmbSortDate.FormattingEnabled = true;
+            this.CmbSortDate.Items.AddRange(new object[] {
+            "Дата",
+            "Период"});
+            this.CmbSortDate.Location = new System.Drawing.Point(8, 3);
+            this.CmbSortDate.Name = "CmbSortDate";
+            this.CmbSortDate.Size = new System.Drawing.Size(168, 29);
+            this.CmbSortDate.TabIndex = 0;
+            this.CmbSortDate.SelectedIndexChanged += new System.EventHandler(this.CmbSortDate_SelectedIndexChanged);
+            // 
+            // PanelPeriod
+            // 
+            this.PanelPeriod.Controls.Add(this.DtpDateEnd);
+            this.PanelPeriod.Controls.Add(this.DtpDateStart);
+            this.PanelPeriod.Controls.Add(this.label6);
+            this.PanelPeriod.Controls.Add(this.label5);
+            this.PanelPeriod.Location = new System.Drawing.Point(168, -8);
+            this.PanelPeriod.Name = "PanelPeriod";
+            this.PanelPeriod.Size = new System.Drawing.Size(488, 51);
+            this.PanelPeriod.TabIndex = 3;
+            // 
+            // DtpDateEnd
+            // 
+            this.DtpDateEnd.Location = new System.Drawing.Point(279, 11);
+            this.DtpDateEnd.Name = "DtpDateEnd";
+            this.DtpDateEnd.Size = new System.Drawing.Size(199, 29);
+            this.DtpDateEnd.TabIndex = 7;
+            this.DtpDateEnd.ValueChanged += new System.EventHandler(this.DtpDateEnd_ValueChanged);
+            // 
+            // DtpDateStart
+            // 
+            this.DtpDateStart.Location = new System.Drawing.Point(36, 11);
+            this.DtpDateStart.Name = "DtpDateStart";
+            this.DtpDateStart.Size = new System.Drawing.Size(199, 29);
+            this.DtpDateStart.TabIndex = 6;
+            this.DtpDateStart.ValueChanged += new System.EventHandler(this.DtpDateStart_ValueChanged);
+            // 
+            // label6
+            // 
+            this.label6.AutoSize = true;
+            this.label6.Location = new System.Drawing.Point(10, 17);
+            this.label6.Name = "label6";
+            this.label6.Size = new System.Drawing.Size(20, 21);
+            this.label6.TabIndex = 4;
+            this.label6.Text = "С";
+            // 
+            // label5
+            // 
+            this.label5.AutoSize = true;
+            this.label5.Location = new System.Drawing.Point(241, 17);
+            this.label5.Name = "label5";
+            this.label5.Size = new System.Drawing.Size(32, 21);
+            this.label5.TabIndex = 5;
+            this.label5.Text = "По";
+            // 
+            // TbJournal
+            // 
+            this.TbJournal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(255)))), ((int)(((byte)(252)))));
+            this.TbJournal.Controls.Add(this.TabCard);
+            this.TbJournal.Controls.Add(this.RPanelTitleJournal);
+            this.TbJournal.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
+            this.TbJournal.Location = new System.Drawing.Point(4, 30);
+            this.TbJournal.Name = "TbJournal";
+            this.TbJournal.Size = new System.Drawing.Size(723, 357);
+            this.TbJournal.TabIndex = 4;
+            this.TbJournal.Text = "tabPage1";
+            // 
+            // TabCard
+            // 
+            this.TabCard.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.TabCard.AutoScroll = true;
+            this.TabCard.ColumnCount = 5;
+            this.TabCard.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+            this.TabCard.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+            this.TabCard.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+            this.TabCard.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+            this.TabCard.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+            this.TabCard.Location = new System.Drawing.Point(3, 31);
+            this.TabCard.Name = "TabCard";
+            this.TabCard.RowCount = 1;
+            this.TabCard.RowStyles.Add(new System.Windows.Forms.RowStyle());
+            this.TabCard.Size = new System.Drawing.Size(717, 331);
+            this.TabCard.TabIndex = 8;
+            // 
+            // ImList
+            // 
+            this.ImList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
+            this.ImList.ImageSize = new System.Drawing.Size(100, 100);
+            this.ImList.TransparentColor = System.Drawing.Color.Transparent;
+            // 
+            // TimerSaving
+            // 
+            this.TimerSaving.Interval = 500;
+            this.TimerSaving.Tick += new System.EventHandler(this.TimerSaving_Tick);
+            // 
+            // TmAnim
+            // 
+            this.TmAnim.Interval = 25;
+            this.TmAnim.Tick += new System.EventHandler(this.TmAnim_Tick);
+            // 
+            // RPanelUser
+            // 
+            this.RPanelUser.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.RPanelUser.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(104)))), ((int)(((byte)(112)))));
+            this.RPanelUser.BackColorAdditional = System.Drawing.Color.Gray;
+            this.RPanelUser.BackColorGradientEnabled = false;
+            this.RPanelUser.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
+            this.RPanelUser.BorderColor = System.Drawing.Color.Tomato;
+            this.RPanelUser.BorderColorEnabled = false;
+            this.RPanelUser.BorderColorOnHover = System.Drawing.Color.Tomato;
+            this.RPanelUser.BorderColorOnHoverEnabled = false;
+            this.RPanelUser.Controls.Add(this.label4);
+            this.RPanelUser.Cursor = System.Windows.Forms.Cursors.Default;
+            this.RPanelUser.Font = new System.Drawing.Font("Verdana", 8.25F);
+            this.RPanelUser.ForeColor = System.Drawing.Color.White;
+            this.RPanelUser.Location = new System.Drawing.Point(3, 3);
+            this.RPanelUser.Name = "RPanelUser";
+            this.RPanelUser.RippleColor = System.Drawing.Color.Black;
+            this.RPanelUser.RoundingEnable = true;
+            this.RPanelUser.Size = new System.Drawing.Size(717, 25);
+            this.RPanelUser.TabIndex = 6;
+            this.RPanelUser.TextHover = null;
+            this.RPanelUser.UseDownPressEffectOnClick = false;
+            this.RPanelUser.UseRippleEffect = true;
+            this.RPanelUser.UseZoomEffectOnHover = false;
+            // 
+            // label4
             // 
             // 
-            this.panel1.BackColor = System.Drawing.Color.White;
-            this.panel1.Controls.Add(this.TbxPhone);
-            this.panel1.Controls.Add(this.TbxPasportNum);
-            this.panel1.Controls.Add(this.TbxPasportSeria);
-            this.panel1.Controls.Add(this.TbxPatronymic);
-            this.panel1.Controls.Add(this.TbxFirstname);
-            this.panel1.Controls.Add(this.RPanelForAddUser);
-            this.panel1.Controls.Add(this.TbxLastname);
-            this.panel1.Controls.Add(this.BtnSave);
-            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel1.Location = new System.Drawing.Point(3, 3);
-            this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(250, 345);
-            this.panel1.TabIndex = 0;
+            this.label4.BackColor = System.Drawing.Color.Transparent;
+            this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.label4.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
+            this.label4.ForeColor = System.Drawing.Color.White;
+            this.label4.Location = new System.Drawing.Point(0, 0);
+            this.label4.Name = "label4";
+            this.label4.Size = new System.Drawing.Size(717, 25);
+            this.label4.TabIndex = 5;
+            this.label4.Text = "<Пользователи>";
+            this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter;
             // 
             // 
             // TbxPhone
             // TbxPhone
             // 
             // 
@@ -577,35 +805,6 @@
             this.TbxLastname.TextPreview = "Фамилия";
             this.TbxLastname.TextPreview = "Фамилия";
             this.TbxLastname.UseSystemPasswordChar = false;
             this.TbxLastname.UseSystemPasswordChar = false;
             // 
             // 
-            // BtnSave
-            // 
-            this.BtnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(136)))), ((int)(((byte)(144)))));
-            this.BtnSave.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
-            this.BtnSave.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(255)))), ((int)(((byte)(248)))));
-            this.BtnSave.Location = new System.Drawing.Point(7, 307);
-            this.BtnSave.Name = "BtnSave";
-            this.BtnSave.Size = new System.Drawing.Size(236, 35);
-            this.BtnSave.TabIndex = 3;
-            this.BtnSave.Text = "Добавить";
-            this.BtnSave.UseVisualStyleBackColor = false;
-            this.BtnSave.Click += new System.EventHandler(this.BtnSave_Click);
-            // 
-            // TbSettings
-            // 
-            this.TbSettings.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(255)))), ((int)(((byte)(252)))));
-            this.TbSettings.Controls.Add(this.SwPositionWindow);
-            this.TbSettings.Controls.Add(this.label3);
-            this.TbSettings.Controls.Add(this.label2);
-            this.TbSettings.Controls.Add(this.RPanelSettings);
-            this.TbSettings.Controls.Add(this.SwAutoLoad);
-            this.TbSettings.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
-            this.TbSettings.Location = new System.Drawing.Point(4, 30);
-            this.TbSettings.Name = "TbSettings";
-            this.TbSettings.Padding = new System.Windows.Forms.Padding(3);
-            this.TbSettings.Size = new System.Drawing.Size(723, 357);
-            this.TbSettings.TabIndex = 1;
-            this.TbSettings.Text = "tabPage2";
-            // 
             // SwPositionWindow
             // SwPositionWindow
             // 
             // 
             this.SwPositionWindow.BackColor = System.Drawing.Color.White;
             this.SwPositionWindow.BackColor = System.Drawing.Color.White;
@@ -620,24 +819,6 @@
             this.SwPositionWindow.TabIndex = 5;
             this.SwPositionWindow.TabIndex = 5;
             this.SwPositionWindow.TextOnChecked = "";
             this.SwPositionWindow.TextOnChecked = "";
             // 
             // 
-            // label3
-            // 
-            this.label3.AutoSize = true;
-            this.label3.Location = new System.Drawing.Point(8, 83);
-            this.label3.Name = "label3";
-            this.label3.Size = new System.Drawing.Size(365, 21);
-            this.label3.TabIndex = 4;
-            this.label3.Text = "Сохранять положение окна при перезапуске";
-            // 
-            // label2
-            // 
-            this.label2.AutoSize = true;
-            this.label2.Location = new System.Drawing.Point(8, 46);
-            this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(340, 21);
-            this.label2.TabIndex = 3;
-            this.label2.Text = "Запускать приложение вместе с системой";
-            // 
             // RPanelSettings
             // RPanelSettings
             // 
             // 
             this.RPanelSettings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
             this.RPanelSettings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
@@ -692,37 +873,6 @@
             this.SwAutoLoad.TabIndex = 1;
             this.SwAutoLoad.TabIndex = 1;
             this.SwAutoLoad.TextOnChecked = "";
             this.SwAutoLoad.TextOnChecked = "";
             // 
             // 
-            // TbVisits
-            // 
-            this.TbVisits.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(255)))), ((int)(((byte)(252)))));
-            this.TbVisits.Controls.Add(this.label7);
-            this.TbVisits.Controls.Add(this.PanelHeader);
-            this.TbVisits.Controls.Add(this.TbxFindUser);
-            this.TbVisits.Controls.Add(this.TabJournal);
-            this.TbVisits.Controls.Add(this.DtpFiniteDate);
-            this.TbVisits.Controls.Add(this.CmbSortDate);
-            this.TbVisits.Controls.Add(this.PanelPeriod);
-            this.TbVisits.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
-            this.TbVisits.Location = new System.Drawing.Point(4, 30);
-            this.TbVisits.Name = "TbVisits";
-            this.TbVisits.Size = new System.Drawing.Size(723, 357);
-            this.TbVisits.TabIndex = 3;
-            this.TbVisits.Text = "tabPage1";
-            // 
-            // PanelHeader
-            // 
-            this.PanelHeader.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
-            | System.Windows.Forms.AnchorStyles.Right)));
-            this.PanelHeader.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(255)))), ((int)(((byte)(252)))));
-            this.PanelHeader.Controls.Add(this.RPanelTitleDate);
-            this.PanelHeader.Controls.Add(this.RPanelTitleExit);
-            this.PanelHeader.Controls.Add(this.RPanelTitleEntrance);
-            this.PanelHeader.Controls.Add(this.RPanelForNameUser);
-            this.PanelHeader.Location = new System.Drawing.Point(0, 76);
-            this.PanelHeader.Name = "PanelHeader";
-            this.PanelHeader.Size = new System.Drawing.Size(723, 32);
-            this.PanelHeader.TabIndex = 8;
-            // 
             // RPanelTitleDate
             // RPanelTitleDate
             // 
             // 
             this.RPanelTitleDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
             this.RPanelTitleDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -872,129 +1022,45 @@
             this.LblTitleNameUser.Text = "Имя пользователя";
             this.LblTitleNameUser.Text = "Имя пользователя";
             this.LblTitleNameUser.TextAlign = System.Drawing.ContentAlignment.TopCenter;
             this.LblTitleNameUser.TextAlign = System.Drawing.ContentAlignment.TopCenter;
             // 
             // 
-            // TbxFindUser
-            // 
-            this.TbxFindUser.Location = new System.Drawing.Point(142, 41);
-            this.TbxFindUser.Name = "TbxFindUser";
-            this.TbxFindUser.Size = new System.Drawing.Size(221, 29);
-            this.TbxFindUser.TabIndex = 7;
-            this.TbxFindUser.TextChanged += new System.EventHandler(this.TbxFindUser_TextChanged);
-            // 
-            // label7
-            // 
-            this.label7.AutoSize = true;
-            this.label7.Location = new System.Drawing.Point(8, 44);
-            this.label7.Name = "label7";
-            this.label7.Size = new System.Drawing.Size(128, 21);
-            this.label7.TabIndex = 6;
-            this.label7.Text = "Поиск по ФИО:";
-            // 
-            // TabJournal
+            // RPanelTitleJournal
             // 
             // 
-            this.TabJournal.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
-            | System.Windows.Forms.AnchorStyles.Left) 
+            this.RPanelTitleJournal.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
             | System.Windows.Forms.AnchorStyles.Right)));
-            this.TabJournal.AutoScroll = true;
-            this.TabJournal.ColumnCount = 1;
-            this.TabJournal.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
-            this.TabJournal.Location = new System.Drawing.Point(0, 110);
-            this.TabJournal.Name = "TabJournal";
-            this.TabJournal.RowCount = 1;
-            this.TabJournal.RowStyles.Add(new System.Windows.Forms.RowStyle());
-            this.TabJournal.Size = new System.Drawing.Size(723, 244);
-            this.TabJournal.TabIndex = 5;
-            // 
-            // DtpFiniteDate
-            // 
-            this.DtpFiniteDate.Location = new System.Drawing.Point(182, 3);
-            this.DtpFiniteDate.Name = "DtpFiniteDate";
-            this.DtpFiniteDate.Size = new System.Drawing.Size(199, 29);
-            this.DtpFiniteDate.TabIndex = 1;
-            this.DtpFiniteDate.ValueChanged += new System.EventHandler(this.DtpFiniteDate_ValueChanged);
-            // 
-            // CmbSortDate
-            // 
-            this.CmbSortDate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.CmbSortDate.FormattingEnabled = true;
-            this.CmbSortDate.Items.AddRange(new object[] {
-            "Дата",
-            "Период"});
-            this.CmbSortDate.Location = new System.Drawing.Point(8, 3);
-            this.CmbSortDate.Name = "CmbSortDate";
-            this.CmbSortDate.Size = new System.Drawing.Size(168, 29);
-            this.CmbSortDate.TabIndex = 0;
-            this.CmbSortDate.SelectedIndexChanged += new System.EventHandler(this.CmbSortDate_SelectedIndexChanged);
-            // 
-            // PanelPeriod
-            // 
-            this.PanelPeriod.Controls.Add(this.DtpDateEnd);
-            this.PanelPeriod.Controls.Add(this.DtpDateStart);
-            this.PanelPeriod.Controls.Add(this.label6);
-            this.PanelPeriod.Controls.Add(this.label5);
-            this.PanelPeriod.Location = new System.Drawing.Point(168, -8);
-            this.PanelPeriod.Name = "PanelPeriod";
-            this.PanelPeriod.Size = new System.Drawing.Size(488, 51);
-            this.PanelPeriod.TabIndex = 3;
-            // 
-            // DtpDateEnd
-            // 
-            this.DtpDateEnd.Location = new System.Drawing.Point(279, 11);
-            this.DtpDateEnd.Name = "DtpDateEnd";
-            this.DtpDateEnd.Size = new System.Drawing.Size(199, 29);
-            this.DtpDateEnd.TabIndex = 7;
-            this.DtpDateEnd.ValueChanged += new System.EventHandler(this.DtpDateEnd_ValueChanged);
-            // 
-            // DtpDateStart
-            // 
-            this.DtpDateStart.Location = new System.Drawing.Point(36, 11);
-            this.DtpDateStart.Name = "DtpDateStart";
-            this.DtpDateStart.Size = new System.Drawing.Size(199, 29);
-            this.DtpDateStart.TabIndex = 6;
-            this.DtpDateStart.ValueChanged += new System.EventHandler(this.DtpDateStart_ValueChanged);
-            // 
-            // label6
-            // 
-            this.label6.AutoSize = true;
-            this.label6.Location = new System.Drawing.Point(10, 17);
-            this.label6.Name = "label6";
-            this.label6.Size = new System.Drawing.Size(20, 21);
-            this.label6.TabIndex = 4;
-            this.label6.Text = "С";
-            // 
-            // label5
-            // 
-            this.label5.AutoSize = true;
-            this.label5.Location = new System.Drawing.Point(241, 17);
-            this.label5.Name = "label5";
-            this.label5.Size = new System.Drawing.Size(32, 21);
-            this.label5.TabIndex = 5;
-            this.label5.Text = "По";
-            // 
-            // ImList
-            // 
-            this.ImList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
-            this.ImList.ImageSize = new System.Drawing.Size(100, 100);
-            this.ImList.TransparentColor = System.Drawing.Color.Transparent;
-            // 
-            // TimerSaving
-            // 
-            this.TimerSaving.Interval = 500;
-            this.TimerSaving.Tick += new System.EventHandler(this.TimerSaving_Tick);
-            // 
-            // TmAnim
-            // 
-            this.TmAnim.Interval = 25;
-            this.TmAnim.Tick += new System.EventHandler(this.TmAnim_Tick);
-            // 
-            // TbJournal
-            // 
-            this.TbJournal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(255)))), ((int)(((byte)(252)))));
-            this.TbJournal.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
-            this.TbJournal.Location = new System.Drawing.Point(4, 30);
-            this.TbJournal.Name = "TbJournal";
-            this.TbJournal.Size = new System.Drawing.Size(723, 357);
-            this.TbJournal.TabIndex = 4;
-            this.TbJournal.Text = "tabPage1";
+            this.RPanelTitleJournal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(73)))), ((int)(((byte)(104)))), ((int)(((byte)(112)))));
+            this.RPanelTitleJournal.BackColorAdditional = System.Drawing.Color.Gray;
+            this.RPanelTitleJournal.BackColorGradientEnabled = false;
+            this.RPanelTitleJournal.BackColorGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
+            this.RPanelTitleJournal.BorderColor = System.Drawing.Color.Tomato;
+            this.RPanelTitleJournal.BorderColorEnabled = false;
+            this.RPanelTitleJournal.BorderColorOnHover = System.Drawing.Color.Tomato;
+            this.RPanelTitleJournal.BorderColorOnHoverEnabled = false;
+            this.RPanelTitleJournal.Controls.Add(this.label9);
+            this.RPanelTitleJournal.Cursor = System.Windows.Forms.Cursors.Default;
+            this.RPanelTitleJournal.Font = new System.Drawing.Font("Verdana", 8.25F);
+            this.RPanelTitleJournal.ForeColor = System.Drawing.Color.White;
+            this.RPanelTitleJournal.Location = new System.Drawing.Point(3, 3);
+            this.RPanelTitleJournal.Name = "RPanelTitleJournal";
+            this.RPanelTitleJournal.RippleColor = System.Drawing.Color.Black;
+            this.RPanelTitleJournal.RoundingEnable = true;
+            this.RPanelTitleJournal.Size = new System.Drawing.Size(717, 25);
+            this.RPanelTitleJournal.TabIndex = 7;
+            this.RPanelTitleJournal.TextHover = null;
+            this.RPanelTitleJournal.UseDownPressEffectOnClick = false;
+            this.RPanelTitleJournal.UseRippleEffect = true;
+            this.RPanelTitleJournal.UseZoomEffectOnHover = false;
+            // 
+            // label9
+            // 
+            this.label9.BackColor = System.Drawing.Color.Transparent;
+            this.label9.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.label9.Font = new System.Drawing.Font("Segoe UI Variable Small Semibol", 12F, System.Drawing.FontStyle.Bold);
+            this.label9.ForeColor = System.Drawing.Color.White;
+            this.label9.Location = new System.Drawing.Point(0, 0);
+            this.label9.Name = "label9";
+            this.label9.Size = new System.Drawing.Size(717, 25);
+            this.label9.TabIndex = 5;
+            this.label9.Text = "<Журнал отклонённых>";
+            this.label9.TextAlign = System.Drawing.ContentAlignment.TopCenter;
             // 
             // 
             // FormMain
             // FormMain
             // 
             // 
@@ -1025,24 +1091,26 @@
             this.statusStrip1.PerformLayout();
             this.statusStrip1.PerformLayout();
             this.TabPages.ResumeLayout(false);
             this.TabPages.ResumeLayout(false);
             this.TbUsers.ResumeLayout(false);
             this.TbUsers.ResumeLayout(false);
-            this.RPanelUser.ResumeLayout(false);
             this.TbMain.ResumeLayout(false);
             this.TbMain.ResumeLayout(false);
             this.TableLayoutWorks.ResumeLayout(false);
             this.TableLayoutWorks.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.PbxEther)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.PbxEther)).EndInit();
             this.panel1.ResumeLayout(false);
             this.panel1.ResumeLayout(false);
-            this.RPanelForAddUser.ResumeLayout(false);
             this.TbSettings.ResumeLayout(false);
             this.TbSettings.ResumeLayout(false);
             this.TbSettings.PerformLayout();
             this.TbSettings.PerformLayout();
-            this.RPanelSettings.ResumeLayout(false);
             this.TbVisits.ResumeLayout(false);
             this.TbVisits.ResumeLayout(false);
             this.TbVisits.PerformLayout();
             this.TbVisits.PerformLayout();
             this.PanelHeader.ResumeLayout(false);
             this.PanelHeader.ResumeLayout(false);
+            this.PanelPeriod.ResumeLayout(false);
+            this.PanelPeriod.PerformLayout();
+            this.TbJournal.ResumeLayout(false);
+            this.RPanelUser.ResumeLayout(false);
+            this.RPanelForAddUser.ResumeLayout(false);
+            this.RPanelSettings.ResumeLayout(false);
             this.RPanelTitleDate.ResumeLayout(false);
             this.RPanelTitleDate.ResumeLayout(false);
             this.RPanelTitleExit.ResumeLayout(false);
             this.RPanelTitleExit.ResumeLayout(false);
             this.RPanelTitleEntrance.ResumeLayout(false);
             this.RPanelTitleEntrance.ResumeLayout(false);
             this.RPanelForNameUser.ResumeLayout(false);
             this.RPanelForNameUser.ResumeLayout(false);
-            this.PanelPeriod.ResumeLayout(false);
-            this.PanelPeriod.PerformLayout();
+            this.RPanelTitleJournal.ResumeLayout(false);
             this.ResumeLayout(false);
             this.ResumeLayout(false);
             this.PerformLayout();
             this.PerformLayout();
 
 
@@ -1120,6 +1188,9 @@
         private RPanel RPanelTitleEntrance;
         private RPanel RPanelTitleEntrance;
         private System.Windows.Forms.Label label8;
         private System.Windows.Forms.Label label8;
         private System.Windows.Forms.TabPage TbJournal;
         private System.Windows.Forms.TabPage TbJournal;
+        private RPanel RPanelTitleJournal;
+        private System.Windows.Forms.Label label9;
+        private System.Windows.Forms.TableLayoutPanel TabCard;
     }
     }
 }
 }
 
 

+ 68 - 181
ImpulseVision/FormMain.cs

@@ -193,7 +193,7 @@ namespace ImpulseVision
             HaarCascade = new CascadeClassifier(Config.HaarCascadePath);
             HaarCascade = new CascadeClassifier(Config.HaarCascadePath);
             FaceList.Clear();
             FaceList.Clear();
 
 
-            // Create empty directory / file for face data if it doesn't exist
+            // Создать директорию, если она отсутствовала
             if (!Directory.Exists(Config.FacePhotosPath))
             if (!Directory.Exists(Config.FacePhotosPath))
             {
             {
                 Directory.CreateDirectory(Config.FacePhotosPath);
                 Directory.CreateDirectory(Config.FacePhotosPath);
@@ -221,7 +221,7 @@ namespace ImpulseVision
             }
             }
             else
             else
             {
             {
-                FaceName = "Please Add Face";
+                FaceName = "Пожалуйста добавьте лицо";
             }
             }
         }
         }
 
 
@@ -245,7 +245,6 @@ namespace ImpulseVision
 
 
             GetCams();
             GetCams();
 
 
-            //ColorRegular(false);
             CmbCams.Visible = false;
             CmbCams.Visible = false;
             TslSelCamText.Visible = false;
             TslSelCamText.Visible = false;
 
 
@@ -275,7 +274,9 @@ namespace ImpulseVision
                 SelectedCameraID = 0;
                 SelectedCameraID = 0;
             }
             }
         }
         }
-
+        /// <summary>
+        /// удаление пользователя из системы
+        /// </summary>
         private void BtnDelUser_Click(object sender, EventArgs e)
         private void BtnDelUser_Click(object sender, EventArgs e)
         {
         {
             string IdUser = string.Empty;
             string IdUser = string.Empty;
@@ -332,8 +333,6 @@ where ID = '{IdUser}'";
         {
         {
             this.TableLayoutWorks.BeginInvoke((MethodInvoker)(() => this.TableLayoutWorks.ColumnStyles[0].Width = 250));
             this.TableLayoutWorks.BeginInvoke((MethodInvoker)(() => this.TableLayoutWorks.ColumnStyles[0].Width = 250));
             this.TableLayoutWorks.BeginInvoke((MethodInvoker)(() => this.TableLayoutWorks.BackColor = Color.White));
             this.TableLayoutWorks.BeginInvoke((MethodInvoker)(() => this.TableLayoutWorks.BackColor = Color.White));
-            //TableLayoutWorks.ColumnStyles[0].Width = 250;
-            //TableLayoutWorks.BackColor = Color.White;
         }
         }
         /// <summary>
         /// <summary>
         /// скрытие окна добавления
         /// скрытие окна добавления
@@ -389,176 +388,8 @@ where ID = '{IdUser}'";
             CaptureTimer.Start();
             CaptureTimer.Start();
 
 
             ShowAdding();
             ShowAdding();
-            //ColorRegular(IsWorking);
         }
         }
 
 
-        /// <summary>
-        /// распознавание изображения, его отображение и сохранение
-        /// </summary>
-        /*
-        private void VideoCapture_ImageGrabbed(object sender, EventArgs e)
-        {
-            int CountAllRectangle = 0;
-            int CountRecognize = 0;
-            if (VideoCapture == null && VideoCapture.Ptr == IntPtr.Zero)
-                return;
-
-            //1. Захват видео
-            VideoCapture.Retrieve(Frame, 0);//восстановить нулевой кадр
-            CurrentFrame = Frame.ToImage<Bgr, Byte>().Flip(FlipType.Horizontal);
-
-            //2. Обнаружение лиц
-            if (FacesDetectionEnabled)
-            {
-                //преобразовать изображение в серое
-                Mat GrayImage = new Mat();
-                CvInvoke.CvtColor(CurrentFrame, GrayImage, ColorConversion.Bgr2Gray);
-                //выравнивание гистограммы изображения
-                CvInvoke.EqualizeHist(GrayImage, GrayImage);
-                CvInvoke.EqualizeHist(GrayImage, GrayImage);
-                CvInvoke.EqualizeHist(GrayImage, GrayImage);
-
-                Pen PenForFace = new Pen(Brushes.Red, 5);
-                Brush BrushForFace = Brushes.White;
-                Font MyFont = new Font("Segoe UI Variable Small Semibol; 14pt; style=Bold", 14, FontStyle.Regular);
-
-                Brush BrushInfo = Brushes.White;
-                Pen PenInfo = new Pen(Brushes.White, 4);
-                Point PointInfo = new Point(CurrentFrame.Width - CurrentFrame.Width, 0);
-
-                Graphics GraphInfo = Graphics.FromImage(CurrentFrame.Bitmap);
-
-                //записать распознанные изображения в массив
-                Rectangle[] RectFaces = Classifier.DetectMultiScale(GrayImage, 1.1, 3, Size.Empty, Size.Empty);
-
-
-                GraphInfo.DrawString("Перед сохранением, убедитесь, что лицо\r\nхорошо освещено и находится в красном прямоугольнике.", MyFont, BrushInfo, PointInfo);
-
-                //если лица обнаружены
-                if (RectFaces.Length > 0)
-                {
-
-                    foreach (Rectangle CurrentFace in RectFaces)
-                    {
-                        CountAllRectangle++;
-                        //нарисовать прямоугольники вокруг лиц
-                        //CvInvoke.Rectangle(CurrentFrame, CurrentFace, new Bgr(Color.White).MCvScalar, 5);
-                        Point PointForFace = new Point(CurrentFace.X, CurrentFace.Y);
-
-                        //результирующее изображение
-                        Image<Bgr, Byte> ResultImage = CurrentFrame.Convert<Bgr, Byte>();
-
-                        Graphics Graph = Graphics.FromImage(CurrentFrame.Bitmap);
-
-                        Graph.DrawRectangle(PenForFace, PointForFace.X, PointForFace.Y, CurrentFace.Width, CurrentFace.Height);
-
-                        //позиция отрисовки имени человека
-                        Point PersonName = new Point(CurrentFace.X, CurrentFace.Y - 25);
-
-                        //Graph.DrawString("Распознано", MyFont, MyBrush, PersonName);
-
-                        //3. Добавление человека (лица)
-
-                        ////результирующее изображение
-                        //Image<Bgr, Byte> ResultImage = CurrentFrame.Convert<Bgr, Byte>();
-                        ResultImage.ROI = CurrentFace;
-                        //отобразить на форме найденное изображение
-
-                        //PbxDetected.Image = ResultImage.ToBitmap();
-                        //******************
-                        TempImageForRazn = ResultImage;
-
-                        //если сохранение изображения включено
-                        if (EnableSaveImage)
-                        {
-                            //создать каталог, если он не существует
-                            string Path = Directory.GetCurrentDirectory() + $@"\TrainedImages\{TbxFirstname.Text.Trim()}{TbxPasportSeria.Text.Trim()}{TbxPasportNum.Text.Trim()}";
-                            string PathPhoto = $@"\TrainedImages\{TbxFirstname.Text.Trim()}{TbxPasportSeria.Text.Trim()}{TbxPasportNum.Text.Trim()}";
-
-
-                            if (!Directory.Exists(Path))
-                            {
-                                Directory.CreateDirectory(Path);
-                            }
-                            
-                            //сохранить 30 изображений
-                            Task.Factory.StartNew(() =>
-                            {
-                                Saving = false;
-                                string FullPath = string.Empty;
-                                LstPathImage.Clear();
-                            for (int i = 0; i < 60; i++)
-                                {
-                                    FullPath = PathPhoto + @"\" + TbxLastname.Text.Trim() + "+" + TbxFirstname.Text.Trim() + "__" + DateTime.Now.ToString("dd-MM-yyyy-hh-mm-ss") + Guid.NewGuid().ToString().Substring(0, 6) + ".jpg";
-
-                                    ResultImage.Resize(200, 200, Inter.Cubic).Save(Application.StartupPath + FullPath);
-
-                                    LstPathImage.Add(FullPath);
-                                    Thread.Sleep(200);
-                                }
-
-                                Saving = true;
-                                MessageBox.Show("Сохранение завершено!", "Результат операции.", MessageBoxButtons.OK, MessageBoxIcon.Information);
-                                //TrainImageFromDir();
-                            });
-
-                        }
-                        EnableSaveImage = false;
-
-                        if (BtnSave.InvokeRequired)
-                        {
-                            BtnSave.Invoke(new ThreadStart(delegate {
-                                BtnSave.Enabled = true;
-                            }));
-                        }
-                       
-
-                        //5. Узнавание изображения
-                        if (IsTrained)
-                        {
-                            Image<Gray, byte> GrayFaceResult = ResultImage.Convert<Gray, byte>().Resize(200, 200, Inter.Cubic);
-
-                            CvInvoke.EqualizeHist(GrayFaceResult, GrayFaceResult);
-
-                            var Result = Recognizer.Predict(GrayFaceResult);
-
-                            if (Result.Label > 0)//если лица найдены
-                            {
-                                CountRecognize++;
-
-                                BrushForFace = Brushes.LightGreen;
-                                Graph.DrawString($"{LstPersonNames[Result.Label]}", MyFont, BrushForFace, PersonName);
-
-                                GraphInfo.DrawString($"На изображении: {LstPersonNames[Result.Label]}", MyFont, BrushInfo, PointInfo);
-                            }
-                            else
-                            {
-                                BrushForFace = Brushes.LightPink;
-                                Graph.DrawString("Неизвестный", MyFont, BrushForFace, PersonName);
-                            }
-                        }
-                    }
-                    if(CountRecognize > CountRecognize/2)
-                    {
-                        MessageBox.Show("Распознан");
-                    }
-                }
-            }
-
-
-
-            //NormalizeImage(CurrentFrame);
-            try
-            {
-                //вывести изображение в PictureBox
-                PbxEther.Image = CurrentFrame.Bitmap;
-            }
-            catch(Exception ex)
-            {
-                MessageBox.Show(ex.Message, "Внимание!", MessageBoxButtons.OK, MessageBoxIcon.Error);
-            }
-        }
-        */
         /// <summary>
         /// <summary>
         /// выключение распознавания
         /// выключение распознавания
         /// </summary>
         /// </summary>
@@ -569,8 +400,6 @@ where ID = '{IdUser}'";
             if (BgrFrame != null)
             if (BgrFrame != null)
             {
             {
                 BgrFrame = null;
                 BgrFrame = null;
-                //Capture.Stop();
-                //Capture.Dispose();
                 Capture.Dispose();
                 Capture.Dispose();
                 CaptureTimer.Tick -= CaptureTimer_Tick;
                 CaptureTimer.Tick -= CaptureTimer_Tick;
             }
             }
@@ -916,9 +745,8 @@ values ({AddingUserID},'{PhotoPath}')";
             TslSelCamText.Visible = false;
             TslSelCamText.Visible = false;
             CmbCams.Visible = false;
             CmbCams.Visible = false;
 
 
-            GetJournalVisits();
             TabPages.SelectTab(3);
             TabPages.SelectTab(3);
-            TmAnim.Enabled = true;
+            GetJournalVisits();
         }
         }
         /// <summary>
         /// <summary>
         /// получение из БД списка посещений
         /// получение из БД списка посещений
@@ -998,6 +826,10 @@ from UserTraffic ut join Users on ut.UserID = Users.ID
                     }
                     }
                 }
                 }
             }
             }
+            else
+            {
+                MessageBox.Show("При выбранных параметрах сортировки, результаты отсутствуют!", "ImpulseVision", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
+            }
             SCon.Close();
             SCon.Close();
 
 
             TslStatus.Text = "Готов";
             TslStatus.Text = "Готов";
@@ -1071,17 +903,26 @@ from UserTraffic ut join Users on ut.UserID = Users.ID
 
 
         private void DtpFiniteDate_ValueChanged(object sender, EventArgs e)
         private void DtpFiniteDate_ValueChanged(object sender, EventArgs e)
         {
         {
-            GetJournalVisits();
+            if (TabPages.SelectedIndex == 3)
+            {
+                GetJournalVisits();
+            }
         }
         }
 
 
         private void DtpDateStart_ValueChanged(object sender, EventArgs e)
         private void DtpDateStart_ValueChanged(object sender, EventArgs e)
         {
         {
-            GetJournalVisits();
+            if (TabPages.SelectedIndex == 3)
+            {
+                GetJournalVisits();
+            }
         }
         }
 
 
         private void DtpDateEnd_ValueChanged(object sender, EventArgs e)
         private void DtpDateEnd_ValueChanged(object sender, EventArgs e)
         {
         {
-            GetJournalVisits();
+            if (TabPages.SelectedIndex == 3)
+            {
+                GetJournalVisits();
+            }
         }
         }
 
 
         private void TbxFindUser_TextChanged(object sender, EventArgs e)
         private void TbxFindUser_TextChanged(object sender, EventArgs e)
@@ -1098,6 +939,52 @@ from UserTraffic ut join Users on ut.UserID = Users.ID
             CmbCams.Visible = false;
             CmbCams.Visible = false;
 
 
             TabPages.SelectTab(4);
             TabPages.SelectTab(4);
+
+            GetUserListJournal();
+        }
+        /// <summary>
+        /// получение и вывод списка пользователей, которые не прошли опознание
+        /// </summary>
+        private void GetUserListJournal()
+        {
+            TabCard.Controls.Clear();
+            DirectoryInfo Dir = new DirectoryInfo(Application.StartupPath + "\\Source\\log\\");
+            FileInfo[] Files = Dir.GetFiles();
+            foreach (var t in Files)
+            {
+                CardJournal card = new CardJournal();
+                try
+                {
+                    card.PbxImage.Image = Image.FromFile(Application.StartupPath + "\\Source\\log\\" + t);
+                }
+                catch
+                {
+                    card.PbxImage.Image = Properties.Resources.Frame_1;
+                }
+
+                string[] Parts = t.ToString().Split('_');
+                string Name = "";
+                SCon.Open();
+                string QueryGetUserName = $"select Lastname + ' '+Firstname + ' ' + Patronymic as FIO\r\nfrom Users\r\nwhere ID = '{Parts[1]}'";
+                SqlCommand Cmd = new SqlCommand(QueryGetUserName, SCon);
+                SqlDataReader Res = Cmd.ExecuteReader();
+                if (Res.HasRows)
+                {
+                    Res.Read();
+                    Name = Res["FIO"].ToString();
+                }
+                else
+                {
+                    Name = "Неизвестно";
+                }
+                SCon.Close();
+
+                card.LblUserName.Text = Name;
+                card.LblCheckTime.Text = $"{Parts[2].ToString().Substring(0,2)}:{Parts[2].ToString().Substring(2, 2)}" + " " + Parts[3];
+
+                TabCard.Controls.Add(card);
+
+            }
         }
         }
     }
     }
 }
 }

+ 17 - 0
ImpulseVision/ImpulseVision.csproj

@@ -110,6 +110,9 @@
     <Compile Include="Card.Designer.cs">
     <Compile Include="Card.Designer.cs">
       <DependentUpon>Card.cs</DependentUpon>
       <DependentUpon>Card.cs</DependentUpon>
     </Compile>
     </Compile>
+    <Compile Include="CardJournal.cs">
+      <SubType>Component</SubType>
+    </Compile>
     <Compile Include="Config.cs" />
     <Compile Include="Config.cs" />
     <Compile Include="Drawer.cs" />
     <Compile Include="Drawer.cs" />
     <Compile Include="FaceData.cs" />
     <Compile Include="FaceData.cs" />
@@ -144,6 +147,12 @@
     <Compile Include="FormGuard.Designer.cs">
     <Compile Include="FormGuard.Designer.cs">
       <DependentUpon>FormGuard.cs</DependentUpon>
       <DependentUpon>FormGuard.cs</DependentUpon>
     </Compile>
     </Compile>
+    <Compile Include="FormJournal.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="FormJournal.Designer.cs">
+      <DependentUpon>FormJournal.cs</DependentUpon>
+    </Compile>
     <Compile Include="FormMain.cs">
     <Compile Include="FormMain.cs">
       <SubType>Form</SubType>
       <SubType>Form</SubType>
     </Compile>
     </Compile>
@@ -214,6 +223,9 @@
     <EmbeddedResource Include="FormGuard.resx">
     <EmbeddedResource Include="FormGuard.resx">
       <DependentUpon>FormGuard.cs</DependentUpon>
       <DependentUpon>FormGuard.cs</DependentUpon>
     </EmbeddedResource>
     </EmbeddedResource>
+    <EmbeddedResource Include="FormJournal.resx">
+      <DependentUpon>FormJournal.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="FormMain.resx">
     <EmbeddedResource Include="FormMain.resx">
       <DependentUpon>FormMain.cs</DependentUpon>
       <DependentUpon>FormMain.cs</DependentUpon>
     </EmbeddedResource>
     </EmbeddedResource>
@@ -263,6 +275,10 @@
     <None Include="App.config" />
     <None Include="App.config" />
   </ItemGroup>
   </ItemGroup>
   <ItemGroup>
   <ItemGroup>
+    <None Include="Resources\Frame 1.jpg" />
+    <None Include="Resources\noimg1.jpg" />
+    <None Include="Resources\noimg.jpg" />
+    <None Include="Resources\pat-hayden-wmK7Uej_qp8-unsplash.jpg" />
     <None Include="Resources\loading-7.gif" />
     <None Include="Resources\loading-7.gif" />
     <None Include="Resources\AnimLoading.gif" />
     <None Include="Resources\AnimLoading.gif" />
     <None Include="Resources\haarcascade_frontalface_default.xml">
     <None Include="Resources\haarcascade_frontalface_default.xml">
@@ -280,6 +296,7 @@
     <None Include="Resources\9042863_off_rounded_icon.png" />
     <None Include="Resources\9042863_off_rounded_icon.png" />
     <None Include="Resources\27818_on_icon.png" />
     <None Include="Resources\27818_on_icon.png" />
     <None Include="Resources\9042786_on_rounded_icon.png" />
     <None Include="Resources\9042786_on_rounded_icon.png" />
+    <None Include="bin\Debug\Source\log\User_9_180841_25.04.2023_5b33.bmp" />
     <Content Include="ImpulseVision_Icons.ico" />
     <Content Include="ImpulseVision_Icons.ico" />
     <None Include="Resources\ImpulseVision_Icon.png" />
     <None Include="Resources\ImpulseVision_Icon.png" />
   </ItemGroup>
   </ItemGroup>

+ 50 - 0
ImpulseVision/Properties/Resources.Designer.cs

@@ -170,6 +170,16 @@ namespace ImpulseVision.Properties {
             }
             }
         }
         }
         
         
+        /// <summary>
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.
+        /// </summary>
+        internal static System.Drawing.Bitmap Frame_1 {
+            get {
+                object obj = ResourceManager.GetObject("Frame 1", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
+        
         /// <summary>
         /// <summary>
         ///   Looks up a localized string similar to &lt;?xml version=&quot;1.0&quot;?&gt;
         ///   Looks up a localized string similar to &lt;?xml version=&quot;1.0&quot;?&gt;
         ///&lt;!--
         ///&lt;!--
@@ -222,5 +232,45 @@ namespace ImpulseVision.Properties {
                 return ((System.Drawing.Bitmap)(obj));
                 return ((System.Drawing.Bitmap)(obj));
             }
             }
         }
         }
+        
+        /// <summary>
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.
+        /// </summary>
+        internal static System.Drawing.Bitmap noimg {
+            get {
+                object obj = ResourceManager.GetObject("noimg", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
+        
+        /// <summary>
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.
+        /// </summary>
+        internal static System.Drawing.Bitmap noimg1 {
+            get {
+                object obj = ResourceManager.GetObject("noimg1", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
+        
+        /// <summary>
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.
+        /// </summary>
+        internal static System.Drawing.Bitmap pat_hayden_wmK7Uej_qp8_unsplash {
+            get {
+                object obj = ResourceManager.GetObject("pat-hayden-wmK7Uej_qp8-unsplash", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
+        
+        /// <summary>
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.
+        /// </summary>
+        internal static System.Drawing.Bitmap User_9_180841_25_04_2023_5b33 {
+            get {
+                object obj = ResourceManager.GetObject("User_9_180841_25.04.2023_5b33", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
     }
     }
 }
 }

+ 35 - 20
ImpulseVision/Properties/Resources.resx

@@ -118,49 +118,64 @@
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
   </resheader>
   <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
   <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
-  <data name="_9110852_video_no_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\Resources\9110852_video_no_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
-  </data>
   <data name="103515_text_document_information_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
   <data name="103515_text_document_information_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\Resources\103515_text_document_information_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
     <value>..\Resources\103515_text_document_information_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
-  <data name="9042863_off_rounded_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\Resources\9042863_off_rounded_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  <data name="entrance_icon_180660" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\entrance_icon_180660.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+  <data name="352303_delete_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\352303_delete_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
   <data name="8530613_edit_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
   <data name="8530613_edit_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\Resources\8530613_edit_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
     <value>..\Resources\8530613_edit_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
+  <data name="27818_on_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\27818_on_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+  <data name="noimg1" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\noimg1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+  <data name="log_out_icon_128821" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\log_out_icon_128821.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
   <data name="8666656_check_circle_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
   <data name="8666656_check_circle_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\Resources\8666656_check_circle_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
     <value>..\Resources\8666656_check_circle_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
+  <data name="User_9_180841_25.04.2023_5b33" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\bin\Debug\Source\log\User_9_180841_25.04.2023_5b33.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+  <data name="loading_7" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\loading-7.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+  <data name="392530_add_create_cross_new_plus_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\392530_add_create_cross_new_plus_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
   <data name="9042786_on_rounded_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
   <data name="9042786_on_rounded_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\Resources\9042786_on_rounded_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
     <value>..\Resources\9042786_on_rounded_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
-  <data name="entrance_icon_180660" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\Resources\entrance_icon_180660.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
-  </data>
   <data name="ImpulseVision_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
   <data name="ImpulseVision_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\Resources\ImpulseVision_Icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
     <value>..\Resources\ImpulseVision_Icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
   <data name="211600_plus_circled_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
   <data name="211600_plus_circled_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\Resources\211600_plus_circled_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
     <value>..\Resources\211600_plus_circled_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
-  <data name="352303_delete_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\Resources\352303_delete_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  <data name="haarcascade_frontalface_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\haarcascade_frontalface_default.xml;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;windows-1251</value>
   </data>
   </data>
-  <data name="27818_on_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\Resources\27818_on_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  <data name="9042863_off_rounded_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\9042863_off_rounded_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
-  <data name="392530_add_create_cross_new_plus_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\Resources\392530_add_create_cross_new_plus_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  <data name="pat-hayden-wmK7Uej_qp8-unsplash" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\pat-hayden-wmK7Uej_qp8-unsplash.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
-  <data name="log_out_icon_128821" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\Resources\log_out_icon_128821.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  <data name="noimg" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\noimg.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
-  <data name="haarcascade_frontalface_default" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\Resources\haarcascade_frontalface_default.xml;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;windows-1251</value>
+  <data name="_9110852_video_no_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\9110852_video_no_icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
-  <data name="loading_7" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\Resources\loading-7.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  <data name="Frame 1" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\Frame 1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
 </root>
 </root>

BIN
ImpulseVision/Resources/Frame 1.jpg


BIN
ImpulseVision/Resources/noimg.jpg


BIN
ImpulseVision/Resources/noimg1.jpg


BIN
ImpulseVision/Resources/pat-hayden-wmK7Uej_qp8-unsplash.jpg


BIN
ImpulseVision/bin/Debug/ImpulseVision.exe