From e02411d180f856bfd0ccfdf0363cdaf58cd8c427 Mon Sep 17 00:00:00 2001 From: Milan Hanajik Date: Wed, 25 Oct 2023 11:59:21 +0200 Subject: [PATCH] ProcedureDlg changes : wider ComboBox-es, PL language, etc., ver. 2.33.2120 --- TBF/Properties/AssemblyInfo.cs | 4 +- TBF/UI/Procedures/ProcedureDlg.Designer.cs | 5 ++ TBF/UI/Procedures/ProcedureDlg.cs | 2 +- TBF/UI/Procedures/ProcedureDlg.resx | 88 +++++++++++----------- TBF/UI/Procedures/ProceduresCtrl.cs | 1 + Users/Resources/Strings.pl.resx | 9 +++ 6 files changed, 62 insertions(+), 47 deletions(-) diff --git a/TBF/Properties/AssemblyInfo.cs b/TBF/Properties/AssemblyInfo.cs index 62d296cce..32be7d011 100644 --- a/TBF/Properties/AssemblyInfo.cs +++ b/TBF/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("2.33.2113.0")] -[assembly: AssemblyFileVersion("2.33.2113.0")] +[assembly: AssemblyVersion("2.33.2121.0")] +[assembly: AssemblyFileVersion("2.33.2121.0")] diff --git a/TBF/UI/Procedures/ProcedureDlg.Designer.cs b/TBF/UI/Procedures/ProcedureDlg.Designer.cs index 1824573d1..7e06c4e79 100644 --- a/TBF/UI/Procedures/ProcedureDlg.Designer.cs +++ b/TBF/UI/Procedures/ProcedureDlg.Designer.cs @@ -594,6 +594,7 @@ namespace TBF.UI.Procedures this.historyListViewEx.DoubleClickActivation = false; this.historyListViewEx.FullRowSelect = true; this.historyListViewEx.GridLines = true; + this.historyListViewEx.HideSelection = false; this.historyListViewEx.Name = "historyListViewEx"; this.historyListViewEx.UseCompatibleStateImageBehavior = false; this.historyListViewEx.View = System.Windows.Forms.View.Details; @@ -613,6 +614,7 @@ namespace TBF.UI.Procedures this.metrology1ListViewEx.DoubleClickActivation = false; this.metrology1ListViewEx.FullRowSelect = true; this.metrology1ListViewEx.GridLines = true; + this.metrology1ListViewEx.HideSelection = false; this.metrology1ListViewEx.Name = "metrology1ListViewEx"; this.metrology1ListViewEx.UseCompatibleStateImageBehavior = false; this.metrology1ListViewEx.View = System.Windows.Forms.View.Details; @@ -632,6 +634,7 @@ namespace TBF.UI.Procedures this.metrology2ListViewEx.DoubleClickActivation = false; this.metrology2ListViewEx.FullRowSelect = true; this.metrology2ListViewEx.GridLines = true; + this.metrology2ListViewEx.HideSelection = false; this.metrology2ListViewEx.Name = "metrology2ListViewEx"; this.metrology2ListViewEx.UseCompatibleStateImageBehavior = false; this.metrology2ListViewEx.View = System.Windows.Forms.View.Details; @@ -651,6 +654,7 @@ namespace TBF.UI.Procedures this.processListViewEx.DoubleClickActivation = false; this.processListViewEx.FullRowSelect = true; this.processListViewEx.GridLines = true; + this.processListViewEx.HideSelection = false; this.processListViewEx.Name = "processListViewEx"; this.processListViewEx.UseCompatibleStateImageBehavior = false; this.processListViewEx.View = System.Windows.Forms.View.Details; @@ -670,6 +674,7 @@ namespace TBF.UI.Procedures this.parametersListViewEx.DoubleClickActivation = false; this.parametersListViewEx.FullRowSelect = true; this.parametersListViewEx.GridLines = true; + this.parametersListViewEx.HideSelection = false; this.parametersListViewEx.Name = "parametersListViewEx"; this.parametersListViewEx.UseCompatibleStateImageBehavior = false; this.parametersListViewEx.View = System.Windows.Forms.View.Details; diff --git a/TBF/UI/Procedures/ProcedureDlg.cs b/TBF/UI/Procedures/ProcedureDlg.cs index a506158d2..479539720 100644 --- a/TBF/UI/Procedures/ProcedureDlg.cs +++ b/TBF/UI/Procedures/ProcedureDlg.cs @@ -1,5 +1,5 @@ /// -/// Copyright (c) 2013-2022 Sensus Slovensko a.s. +/// Copyright (c) 2013-2023 Sensus Slovensko a.s. /// #if LANG_PL #define SHOW_Q_TG diff --git a/TBF/UI/Procedures/ProcedureDlg.resx b/TBF/UI/Procedures/ProcedureDlg.resx index e6b8a33dd..df318cd7f 100644 --- a/TBF/UI/Procedures/ProcedureDlg.resx +++ b/TBF/UI/Procedures/ProcedureDlg.resx @@ -139,7 +139,7 @@ NoControl - 373, 409 + 475, 409 11, 13 @@ -175,7 +175,7 @@ NoControl - 373, 386 + 475, 386 11, 13 @@ -211,7 +211,7 @@ NoControl - 373, 363 + 475, 363 11, 13 @@ -247,7 +247,7 @@ NoControl - 373, 340 + 475, 340 11, 13 @@ -283,7 +283,7 @@ NoControl - 373, 317 + 475, 317 11, 13 @@ -319,7 +319,7 @@ NoControl - 373, 294 + 475, 294 11, 13 @@ -355,7 +355,7 @@ NoControl - 373, 271 + 475, 271 11, 13 @@ -391,7 +391,7 @@ NoControl - 373, 248 + 475, 248 11, 13 @@ -427,7 +427,7 @@ NoControl - 373, 225 + 475, 225 11, 13 @@ -463,7 +463,7 @@ NoControl - 373, 202 + 475, 202 11, 13 @@ -499,7 +499,7 @@ NoControl - 373, 179 + 475, 179 11, 13 @@ -535,7 +535,7 @@ NoControl - 373, 156 + 475, 156 11, 13 @@ -571,7 +571,7 @@ NoControl - 373, 133 + 475, 133 11, 13 @@ -631,7 +631,7 @@ 188, 335 - 182, 21 + 282, 21 46 @@ -652,7 +652,7 @@ 188, 404 - 182, 21 + 282, 21 45 @@ -673,7 +673,7 @@ 188, 381 - 182, 21 + 282, 21 44 @@ -694,7 +694,7 @@ 188, 358 - 182, 21 + 282, 21 43 @@ -745,7 +745,7 @@ False - 550, 13 + 652, 13 217, 20 @@ -772,7 +772,7 @@ NoControl - 438, 16 + 540, 16 64, 13 @@ -796,7 +796,7 @@ 20 - 733, 382 + 835, 382 34, 20 @@ -826,7 +826,7 @@ NoControl - 450, 385 + 552, 385 116, 13 @@ -853,7 +853,7 @@ 22 - 550, 358 + 652, 358 217, 20 @@ -883,7 +883,7 @@ NoControl - 450, 360 + 552, 360 84, 13 @@ -916,7 +916,7 @@ NoControl - 593, 181 + 695, 181 138, 17 @@ -946,7 +946,7 @@ NoControl - 593, 160 + 695, 160 152, 17 @@ -976,7 +976,7 @@ NoControl - 593, 139 + 695, 139 123, 17 @@ -1006,7 +1006,7 @@ NoControl - 444, 180 + 546, 180 77, 17 @@ -1033,7 +1033,7 @@ 188, 312 - 182, 21 + 282, 21 29 @@ -1054,7 +1054,7 @@ 188, 289 - 182, 21 + 282, 21 28 @@ -1075,7 +1075,7 @@ 188, 220 - 182, 21 + 282, 21 24 @@ -1096,7 +1096,7 @@ 188, 266 - 182, 21 + 282, 21 27 @@ -1120,7 +1120,7 @@ NoControl - 444, 159 + 546, 159 72, 17 @@ -1150,7 +1150,7 @@ NoControl - 444, 138 + 546, 138 54, 17 @@ -1177,7 +1177,7 @@ 188, 174 - 182, 21 + 282, 21 21 @@ -1228,7 +1228,7 @@ 188, 151 - 182, 21 + 282, 21 19 @@ -1279,7 +1279,7 @@ 188, 243 - 182, 21 + 282, 21 26 @@ -1300,7 +1300,7 @@ 188, 197 - 182, 21 + 282, 21 23 @@ -1321,7 +1321,7 @@ 188, 128 - 182, 21 + 282, 21 17 @@ -1429,7 +1429,7 @@ 44 - 402, 220 + 504, 220 True @@ -1459,7 +1459,7 @@ NoControl - 399, 202 + 501, 202 35, 13 @@ -1486,7 +1486,7 @@ 188, 105 - 579, 20 + 681, 20 13 @@ -1741,7 +1741,7 @@ 188, 36 - 579, 20 + 681, 20 3 @@ -1792,7 +1792,7 @@ 188, 13 - 217, 20 + 317, 20 1 @@ -2170,7 +2170,7 @@ sharedButtons - TBF.UI.Shared.SharedButtons, TBF, Version=2.32.2027.0, Culture=neutral, PublicKeyToken=null + TBF.UI.Shared.SharedButtons, TBF, Version=2.33.2119.0, Culture=neutral, PublicKeyToken=null mainSplitContainer.Panel2 diff --git a/TBF/UI/Procedures/ProceduresCtrl.cs b/TBF/UI/Procedures/ProceduresCtrl.cs index 5881ae08f..5fd46ff48 100644 --- a/TBF/UI/Procedures/ProceduresCtrl.cs +++ b/TBF/UI/Procedures/ProceduresCtrl.cs @@ -846,6 +846,7 @@ namespace TBF.UI.Procedures newProcedure.ObtainedByCopy = false; newProcedure.CreationUser = Users.CurrentUser.UserName(); newProcedure.CreationTime = DateTime.Now; + newProcedure.ResultsPrinter = dlg.SelectedProfile.Name; if (new ProcedureDlg(Session, newProcedure, GetUsedNames(false), ProcedureDlg.Mode.Unlocked, parent).ShowDialog() == DialogResult.OK) { diff --git a/Users/Resources/Strings.pl.resx b/Users/Resources/Strings.pl.resx index 14ca0a44d..e51d536e6 100644 --- a/Users/Resources/Strings.pl.resx +++ b/Users/Resources/Strings.pl.resx @@ -205,4 +205,13 @@ Pracownik przeprowadzający testy + + Metrological authority + + + Production tracing administrator + + + Water meter authority + \ No newline at end of file