Вячеслав Терешенко před 2 roky
rodič
revize
2bea1fe152

+ 7 - 7
T FaceRecognizer/FormMain.Designer.cs

@@ -490,11 +490,11 @@
             this.tabPage2.Controls.Add(this.BtnIn);
             this.tabPage2.Controls.Add(this.BtnOut);
             this.tabPage2.Controls.Add(this.PbxIdentification);
-            this.tabPage2.Location = new System.Drawing.Point(4, 22);
+            this.tabPage2.Location = new System.Drawing.Point(4, 30);
             this.tabPage2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.tabPage2.Name = "tabPage2";
             this.tabPage2.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
-            this.tabPage2.Size = new System.Drawing.Size(429, 363);
+            this.tabPage2.Size = new System.Drawing.Size(429, 355);
             this.tabPage2.TabIndex = 1;
             this.tabPage2.Text = "Ident";
             this.tabPage2.UseVisualStyleBackColor = true;
@@ -504,7 +504,7 @@
             this.BtnIn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
             this.BtnIn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(166)))), ((int)(((byte)(64)))));
             this.BtnIn.ForeColor = System.Drawing.Color.White;
-            this.BtnIn.Location = new System.Drawing.Point(230, 297);
+            this.BtnIn.Location = new System.Drawing.Point(230, 289);
             this.BtnIn.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.BtnIn.Name = "BtnIn";
             this.BtnIn.Size = new System.Drawing.Size(190, 37);
@@ -518,7 +518,7 @@
             this.BtnOut.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
             this.BtnOut.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(166)))), ((int)(((byte)(64)))));
             this.BtnOut.ForeColor = System.Drawing.Color.White;
-            this.BtnOut.Location = new System.Drawing.Point(8, 297);
+            this.BtnOut.Location = new System.Drawing.Point(8, 289);
             this.BtnOut.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.BtnOut.Name = "BtnOut";
             this.BtnOut.Size = new System.Drawing.Size(190, 37);
@@ -536,7 +536,7 @@
             this.PbxIdentification.Location = new System.Drawing.Point(4, 5);
             this.PbxIdentification.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.PbxIdentification.Name = "PbxIdentification";
-            this.PbxIdentification.Size = new System.Drawing.Size(421, 282);
+            this.PbxIdentification.Size = new System.Drawing.Size(421, 274);
             this.PbxIdentification.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
             this.PbxIdentification.TabIndex = 1;
             this.PbxIdentification.TabStop = false;
@@ -625,9 +625,9 @@
             // tabPage5
             // 
             this.tabPage5.Controls.Add(this.label6);
-            this.tabPage5.Location = new System.Drawing.Point(4, 22);
+            this.tabPage5.Location = new System.Drawing.Point(4, 30);
             this.tabPage5.Name = "tabPage5";
-            this.tabPage5.Size = new System.Drawing.Size(429, 363);
+            this.tabPage5.Size = new System.Drawing.Size(429, 355);
             this.tabPage5.TabIndex = 4;
             this.tabPage5.Text = "Main";
             this.tabPage5.UseVisualStyleBackColor = true;

+ 2 - 2
T FaceRecognizer/FormMain.cs

@@ -607,7 +607,7 @@ values ('{CurrentUserID}',CAST(GETDATE() as date),'{DateTime.Now.ToString("HH:mm
                 SqlCommand Cmd = new SqlCommand(QueryAddVisit, SCon);
                 Cmd.ExecuteNonQuery();
                 SCon.Close();
-                MessageBox.Show("Вход прошёл!");
+                MessageBox.Show("Вход зарегистрирован!", "FaceTrack", MessageBoxButtons.OK, MessageBoxIcon.Information);
 
             }
             else
@@ -636,7 +636,7 @@ where UsersID = '{CurrentUserID}' and [Date] = cast(GETDATE() as date)";
                 Cmd.ExecuteNonQuery();
                 SCon.Close();
 
-                MessageBox.Show("Выход зарегистрирован!");
+                MessageBox.Show("Выход зарегистрирован!", "FaceTrack", MessageBoxButtons.OK, MessageBoxIcon.Information);
             }
         }