diff --git a/CMS-OMR-VB/App.config b/CMS-OMR-VB/App.config new file mode 100644 index 0000000..ceace64 --- /dev/null +++ b/CMS-OMR-VB/App.config @@ -0,0 +1,14 @@ + + + + + + + + + + + + diff --git a/CMS-OMR-VB/CMS-OMR-VB.vbproj b/CMS-OMR-VB/CMS-OMR-VB.vbproj new file mode 100644 index 0000000..c3b5585 --- /dev/null +++ b/CMS-OMR-VB/CMS-OMR-VB.vbproj @@ -0,0 +1,129 @@ + + + + + Debug + AnyCPU + {2170576D-A363-4229-B6EE-863E6B2488E4} + WinExe + CMS_OMR_VB.My.MyApplication + CMS_OMR_VB + CMS-OMR-VB + 512 + WindowsForms + v4.0 + true + true + Client + + + AnyCPU + true + full + true + true + bin\Debug\ + CMS-OMR-VB.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + AnyCPU + pdbonly + false + true + true + bin\Release\ + CMS-OMR-VB.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + On + + + Binary + + + Off + + + On + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Main.vb + + + Form + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + Main.vb + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + + {c97904cb-7ddc-4684-b2ee-89c264e808e6} + DB_proxy + + + + \ No newline at end of file diff --git a/CMS-OMR-VB/Main.Designer.vb b/CMS-OMR-VB/Main.Designer.vb new file mode 100644 index 0000000..18680a4 --- /dev/null +++ b/CMS-OMR-VB/Main.Designer.vb @@ -0,0 +1,251 @@ + _ +Partial Class Main + Inherits System.Windows.Forms.Form + + 'Form esegue l'override del metodo Dispose per pulire l'elenco dei componenti. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Richiesto da Progettazione Windows Form + Private components As System.ComponentModel.IContainer + + 'NOTA: la procedura che segue è richiesta da Progettazione Windows Form + 'Può essere modificata in Progettazione Windows Form. + 'Non modificarla mediante l'editor del codice. + _ + Private Sub InitializeComponent() + Me.groupBox1 = New System.Windows.Forms.GroupBox() + Me.label1 = New System.Windows.Forms.Label() + Me.lblOpr = New System.Windows.Forms.Label() + Me.txtBCode = New System.Windows.Forms.TextBox() + Me.btnLogin = New System.Windows.Forms.Button() + Me.groupBox2 = New System.Windows.Forms.GroupBox() + Me.splitContainer1 = New System.Windows.Forms.SplitContainer() + Me.label3 = New System.Windows.Forms.Label() + Me.txtDTMatrix = New System.Windows.Forms.TextBox() + Me.btnLoad = New System.Windows.Forms.Button() + Me.splitContainer2 = New System.Windows.Forms.SplitContainer() + Me.lblArt = New System.Windows.Forms.Label() + Me.lblOutArt = New System.Windows.Forms.Label() + Me.groupBox1.SuspendLayout() + Me.groupBox2.SuspendLayout() + CType(Me.splitContainer1, System.ComponentModel.ISupportInitialize).BeginInit() + Me.splitContainer1.Panel1.SuspendLayout() + Me.splitContainer1.Panel2.SuspendLayout() + Me.splitContainer1.SuspendLayout() + CType(Me.splitContainer2, System.ComponentModel.ISupportInitialize).BeginInit() + Me.splitContainer2.Panel1.SuspendLayout() + Me.splitContainer2.Panel2.SuspendLayout() + Me.splitContainer2.SuspendLayout() + Me.SuspendLayout() + ' + 'groupBox1 + ' + Me.groupBox1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ + Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) + Me.groupBox1.Controls.Add(Me.label1) + Me.groupBox1.Controls.Add(Me.lblOpr) + Me.groupBox1.Controls.Add(Me.txtBCode) + Me.groupBox1.Controls.Add(Me.btnLogin) + Me.groupBox1.Location = New System.Drawing.Point(12, 11) + Me.groupBox1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2) + Me.groupBox1.Name = "groupBox1" + Me.groupBox1.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2) + Me.groupBox1.Size = New System.Drawing.Size(1100, 73) + Me.groupBox1.TabIndex = 5 + Me.groupBox1.TabStop = False + Me.groupBox1.Text = "Operatore" + ' + 'label1 + ' + Me.label1.AutoSize = True + Me.label1.Location = New System.Drawing.Point(15, 30) + Me.label1.Name = "label1" + Me.label1.Size = New System.Drawing.Size(50, 17) + Me.label1.TabIndex = 1 + Me.label1.Text = "BCode" + ' + 'lblOpr + ' + Me.lblOpr.AutoSize = True + Me.lblOpr.Dock = System.Windows.Forms.DockStyle.Right + Me.lblOpr.Font = New System.Drawing.Font("Microsoft Sans Serif", 15.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.lblOpr.Location = New System.Drawing.Point(970, 17) + Me.lblOpr.Name = "lblOpr" + Me.lblOpr.Size = New System.Drawing.Size(127, 29) + Me.lblOpr.TabIndex = 3 + Me.lblOpr.Text = "NO USER" + Me.lblOpr.TextAlign = System.Drawing.ContentAlignment.MiddleRight + ' + 'txtBCode + ' + Me.txtBCode.Location = New System.Drawing.Point(85, 28) + Me.txtBCode.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2) + Me.txtBCode.Name = "txtBCode" + Me.txtBCode.Size = New System.Drawing.Size(201, 22) + Me.txtBCode.TabIndex = 0 + Me.txtBCode.Text = "OPR001" + ' + 'btnLogin + ' + Me.btnLogin.Location = New System.Drawing.Point(293, 25) + Me.btnLogin.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2) + Me.btnLogin.Name = "btnLogin" + Me.btnLogin.Size = New System.Drawing.Size(75, 30) + Me.btnLogin.TabIndex = 2 + Me.btnLogin.Text = "Login" + Me.btnLogin.UseVisualStyleBackColor = True + ' + 'groupBox2 + ' + Me.groupBox2.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ + Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) + Me.groupBox2.Controls.Add(Me.splitContainer1) + Me.groupBox2.Location = New System.Drawing.Point(12, 98) + Me.groupBox2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2) + Me.groupBox2.Name = "groupBox2" + Me.groupBox2.Padding = New System.Windows.Forms.Padding(3, 2, 3, 2) + Me.groupBox2.Size = New System.Drawing.Size(1100, 112) + Me.groupBox2.TabIndex = 6 + Me.groupBox2.TabStop = False + Me.groupBox2.Text = "Articolo" + ' + 'splitContainer1 + ' + Me.splitContainer1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ + Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) + Me.splitContainer1.Location = New System.Drawing.Point(5, 21) + Me.splitContainer1.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2) + Me.splitContainer1.Name = "splitContainer1" + ' + 'splitContainer1.Panel1 + ' + Me.splitContainer1.Panel1.Controls.Add(Me.label3) + Me.splitContainer1.Panel1.Controls.Add(Me.txtDTMatrix) + Me.splitContainer1.Panel1.Controls.Add(Me.btnLoad) + ' + 'splitContainer1.Panel2 + ' + Me.splitContainer1.Panel2.Controls.Add(Me.splitContainer2) + Me.splitContainer1.Size = New System.Drawing.Size(1090, 82) + Me.splitContainer1.SplitterDistance = 524 + Me.splitContainer1.TabIndex = 6 + ' + 'label3 + ' + Me.label3.AutoSize = True + Me.label3.Location = New System.Drawing.Point(9, 17) + Me.label3.Name = "label3" + Me.label3.Size = New System.Drawing.Size(64, 17) + Me.label3.TabIndex = 4 + Me.label3.Text = "DTMatrix" + ' + 'txtDTMatrix + ' + Me.txtDTMatrix.Location = New System.Drawing.Point(80, 14) + Me.txtDTMatrix.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2) + Me.txtDTMatrix.Name = "txtDTMatrix" + Me.txtDTMatrix.Size = New System.Drawing.Size(201, 22) + Me.txtDTMatrix.TabIndex = 3 + Me.txtDTMatrix.Text = "164SX322761005740003128617" + ' + 'btnLoad + ' + Me.btnLoad.Location = New System.Drawing.Point(288, 10) + Me.btnLoad.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2) + Me.btnLoad.Name = "btnLoad" + Me.btnLoad.Size = New System.Drawing.Size(75, 30) + Me.btnLoad.TabIndex = 5 + Me.btnLoad.Text = "Load" + Me.btnLoad.UseVisualStyleBackColor = True + ' + 'splitContainer2 + ' + Me.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill + Me.splitContainer2.Location = New System.Drawing.Point(0, 0) + Me.splitContainer2.Margin = New System.Windows.Forms.Padding(3, 2, 3, 2) + Me.splitContainer2.Name = "splitContainer2" + Me.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal + ' + 'splitContainer2.Panel1 + ' + Me.splitContainer2.Panel1.Controls.Add(Me.lblArt) + ' + 'splitContainer2.Panel2 + ' + Me.splitContainer2.Panel2.Controls.Add(Me.lblOutArt) + Me.splitContainer2.Size = New System.Drawing.Size(562, 82) + Me.splitContainer2.SplitterDistance = 46 + Me.splitContainer2.TabIndex = 0 + ' + 'lblArt + ' + Me.lblArt.AutoSize = True + Me.lblArt.Dock = System.Windows.Forms.DockStyle.Right + Me.lblArt.Font = New System.Drawing.Font("Microsoft Sans Serif", 15.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.lblArt.Location = New System.Drawing.Point(446, 0) + Me.lblArt.Name = "lblArt" + Me.lblArt.Size = New System.Drawing.Size(116, 29) + Me.lblArt.TabIndex = 4 + Me.lblArt.Text = "NO ITEM" + ' + 'lblOutArt + ' + Me.lblOutArt.AutoSize = True + Me.lblOutArt.Dock = System.Windows.Forms.DockStyle.Right + Me.lblOutArt.Font = New System.Drawing.Font("Microsoft Sans Serif", 7.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.lblOutArt.Location = New System.Drawing.Point(551, 0) + Me.lblOutArt.Name = "lblOutArt" + Me.lblOutArt.Size = New System.Drawing.Size(11, 15) + Me.lblOutArt.TabIndex = 5 + Me.lblOutArt.Text = "-" + ' + 'Main + ' + Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 16.0!) + Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + Me.ClientSize = New System.Drawing.Size(1118, 602) + Me.Controls.Add(Me.groupBox2) + Me.Controls.Add(Me.groupBox1) + Me.Name = "Main" + Me.Text = "Main" + Me.groupBox1.ResumeLayout(False) + Me.groupBox1.PerformLayout() + Me.groupBox2.ResumeLayout(False) + Me.splitContainer1.Panel1.ResumeLayout(False) + Me.splitContainer1.Panel1.PerformLayout() + Me.splitContainer1.Panel2.ResumeLayout(False) + CType(Me.splitContainer1, System.ComponentModel.ISupportInitialize).EndInit() + Me.splitContainer1.ResumeLayout(False) + Me.splitContainer2.Panel1.ResumeLayout(False) + Me.splitContainer2.Panel1.PerformLayout() + Me.splitContainer2.Panel2.ResumeLayout(False) + Me.splitContainer2.Panel2.PerformLayout() + CType(Me.splitContainer2, System.ComponentModel.ISupportInitialize).EndInit() + Me.splitContainer2.ResumeLayout(False) + Me.ResumeLayout(False) + + End Sub + + Private WithEvents groupBox1 As GroupBox + Private WithEvents label1 As Label + Private WithEvents lblOpr As Label + Private WithEvents txtBCode As TextBox + Private WithEvents btnLogin As Button + Private WithEvents groupBox2 As GroupBox + Private WithEvents splitContainer1 As SplitContainer + Private WithEvents label3 As Label + Private WithEvents txtDTMatrix As TextBox + Private WithEvents btnLoad As Button + Private WithEvents splitContainer2 As SplitContainer + Private WithEvents lblArt As Label + Private WithEvents lblOutArt As Label +End Class diff --git a/CMS-OMR-VB/Main.resx b/CMS-OMR-VB/Main.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/CMS-OMR-VB/Main.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/CMS-OMR-VB/Main.vb b/CMS-OMR-VB/Main.vb new file mode 100644 index 0000000..5d07db1 --- /dev/null +++ b/CMS-OMR-VB/Main.vb @@ -0,0 +1,60 @@ +Imports DB_proxy +Imports System + +Public Class Main + + + Protected CurrOprBCode As String + Protected CurrDatamatrix As String + Protected CurrCodArt As String + Protected ArtOk As Boolean + + + Private Sub updCtrl() + 'Me.tabOperazioniTableAdapter.Fill(Me.dS_App.TabOperazioni) + 'Me.anagAllarmiTableAdapter.Fill(Me.dS_App.AnagAllarmi) + 'Me.StoricoAllarmiExpTableAdapter.FillLastRec(Me.dS_App.StoricoAllarmiExp, 100) + End Sub + + + Private Sub btnLogin_Click(sender As Object, e As EventArgs) Handles btnLogin.Click + CurrOprBCode = txtBCode.Text.Trim() + Dim tabOpr = DataLayer.man.taAnagOpr.GetByBCode(CurrOprBCode) + + If tabOpr.Rows.Count > 0 Then + lblOpr.Text = String.Format("{0} {1}", tabOpr(0).Cognome, tabOpr(0).Nome) + Else + lblOpr.Text = "BARCODE NON TROVATO" + End If + + updCtrl() + End Sub + + Private Sub btnLoad_Click(sender As Object, e As EventArgs) Handles btnLoad.Click + CurrDatamatrix = txtDTMatrix.Text.Trim() + + If CurrDatamatrix.Length >= 11 Then + CurrCodArt = CurrDatamatrix.Substring(0, 11) + Else + CurrCodArt = "" + ArtOk = False + End If + + If CurrCodArt <> "" Then + Dim tabArt = DataLayer.man.taAnagArt.GetByCodArt(CurrCodArt) + + If tabArt.Rows.Count > 0 Then + lblOutArt.Text = String.Format("Dtmtx: {0} - CodArt {1}", CurrDatamatrix, CurrCodArt) + lblArt.Text = String.Format("CodArt {0}", CurrCodArt) + lblOutArt.Text += String.Format(" | PrgMain: {0} | PrgAux: {1}", tabArt(0).PartProgMain, tabArt(0).PartProgAux) + ArtOk = True + Else + lblOutArt.Text = String.Format("Dtmtx: {0}", CurrDatamatrix) + lblArt.Text = "ATTENZIONE: Articolo NON trovato!" + ArtOk = False + End If + End If + + updCtrl() + End Sub +End Class \ No newline at end of file diff --git a/CMS-OMR-VB/My Project/Application.Designer.vb b/CMS-OMR-VB/My Project/Application.Designer.vb new file mode 100644 index 0000000..fbfb98b --- /dev/null +++ b/CMS-OMR-VB/My Project/Application.Designer.vb @@ -0,0 +1,39 @@ +'------------------------------------------------------------------------------ +' +' Il codice è stato generato da uno strumento. +' Versione runtime:4.0.30319.42000 +' +' Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +' il codice viene rigenerato. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + 'NOTA: questo file è generato automaticamente e non può essere modificato direttamente. Per apportare modifiche + ' o se vengono rilevati errori di compilazione nel file, passare a Creazione progetti + ' (aprire le proprietà del progetto o fare doppio clic sul nodo Progetti personali in + ' Esplora soluzioni) e apportare le modifiche nella scheda Applicazione. + ' + Partial Friend Class MyApplication + + _ + Public Sub New() + MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) + Me.IsSingleInstance = false + Me.EnableVisualStyles = true + Me.SaveMySettingsOnExit = true + Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses + End Sub + + _ + Protected Overrides Sub OnCreateMainForm() + Me.MainForm = Global.CMS_OMR_VB.Main + + End Sub + End Class +End Namespace diff --git a/CMS-OMR-VB/My Project/Application.myapp b/CMS-OMR-VB/My Project/Application.myapp new file mode 100644 index 0000000..1243847 --- /dev/null +++ b/CMS-OMR-VB/My Project/Application.myapp @@ -0,0 +1,11 @@ + + + true + Form1 + false + 0 + true + 0 + 0 + true + diff --git a/CMS-OMR-VB/My Project/AssemblyInfo.vb b/CMS-OMR-VB/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..27dda14 --- /dev/null +++ b/CMS-OMR-VB/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' Le informazioni generali relative a un assembly sono controllate dal seguente +' set di attributi. Modificare i valori di questi attributi per modificare le informazioni +' associate a un assembly. + +' Controllare i valori degli attributi degli assembly + + + + + + + + + + +'Se il progetto viene esposto a COM, il GUID seguente verrà utilizzato come ID della libreria dei tipi + + +' Le informazioni sulla versione di un assembly sono costituite dai seguenti quattro valori: +' +' Versione principale +' Versione secondaria +' Numero di build +' Revisione +' +' È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build +' usando l'asterisco '*' come illustrato di seguito: +' + + + diff --git a/CMS-OMR-VB/My Project/Resources.Designer.vb b/CMS-OMR-VB/My Project/Resources.Designer.vb new file mode 100644 index 0000000..d17d100 --- /dev/null +++ b/CMS-OMR-VB/My Project/Resources.Designer.vb @@ -0,0 +1,63 @@ +'------------------------------------------------------------------------------ +' +' Il codice è stato generato da uno strumento. +' Versione runtime:4.0.30319.42000 +' +' Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +' il codice viene rigenerato. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + +Imports System + +Namespace My.Resources + + 'Questa classe è stata generata automaticamente dalla classe StronglyTypedResourceBuilder. + 'tramite uno strumento quale ResGen o Visual Studio. + 'Per aggiungere o rimuovere un membro, modificare il file con estensione ResX ed eseguire nuovamente ResGen + 'con l'opzione /str oppure ricompilare il progetto VS. + ''' + ''' Classe di risorse fortemente tipizzata per la ricerca di stringhe localizzate e così via. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Restituisce l'istanza di ResourceManager nella cache utilizzata da questa classe. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("CMS_OMR_VB.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Esegue l'override della proprietà CurrentUICulture del thread corrente per tutte le + ''' ricerche di risorse eseguite utilizzando questa classe di risorse fortemente tipizzata. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/CMS-OMR-VB/My Project/Resources.resx b/CMS-OMR-VB/My Project/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/CMS-OMR-VB/My Project/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/CMS-OMR-VB/My Project/Settings.Designer.vb b/CMS-OMR-VB/My Project/Settings.Designer.vb new file mode 100644 index 0000000..d50284c --- /dev/null +++ b/CMS-OMR-VB/My Project/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' Il codice è stato generato da uno strumento. +' Versione runtime:4.0.30319.42000 +' +' Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +' il codice viene rigenerato. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings) + +#Region "Funzionalità di salvataggio automatico My.Settings" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.CMS_OMR_VB.My.MySettings + Get + Return Global.CMS_OMR_VB.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/CMS-OMR-VB/My Project/Settings.settings b/CMS-OMR-VB/My Project/Settings.settings new file mode 100644 index 0000000..85b890b --- /dev/null +++ b/CMS-OMR-VB/My Project/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/CMS-OMR.sln b/CMS-OMR.sln index 31ce5fa..fdcd332 100644 --- a/CMS-OMR.sln +++ b/CMS-OMR.sln @@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CMS-OMR", "..\..\Visual Stu EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DB_proxy", "DB_proxy\DB_proxy.csproj", "{C97904CB-7DDC-4684-B2EE-89C264E808E6}" EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CMS-OMR-VB", "CMS-OMR-VB\CMS-OMR-VB.vbproj", "{2170576D-A363-4229-B6EE-863E6B2488E4}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -21,6 +23,10 @@ Global {C97904CB-7DDC-4684-B2EE-89C264E808E6}.Debug|Any CPU.Build.0 = Debug|Any CPU {C97904CB-7DDC-4684-B2EE-89C264E808E6}.Release|Any CPU.ActiveCfg = Release|Any CPU {C97904CB-7DDC-4684-B2EE-89C264E808E6}.Release|Any CPU.Build.0 = Release|Any CPU + {2170576D-A363-4229-B6EE-863E6B2488E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2170576D-A363-4229-B6EE-863E6B2488E4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2170576D-A363-4229-B6EE-863E6B2488E4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2170576D-A363-4229-B6EE-863E6B2488E4}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/CMS-OMR/App.config b/CMS-OMR/App.config index 5045418..671db46 100644 --- a/CMS-OMR/App.config +++ b/CMS-OMR/App.config @@ -1,4 +1,4 @@ - + @@ -8,9 +8,9 @@ connectionString="Data Source=10.69.33.57\SQLEXPRESS;Initial Catalog=CMS-OMR;Persist Security Info=True;User ID=conn_CMS;Password=pwd_CMS;" providerName="System.Data.SqlClient" />--> - + - + - \ No newline at end of file + diff --git a/CMS-OMR/CMS-OMR.csproj b/CMS-OMR/CMS-OMR.csproj index 137eb0c..5125271 100644 --- a/CMS-OMR/CMS-OMR.csproj +++ b/CMS-OMR/CMS-OMR.csproj @@ -8,10 +8,11 @@ WinExe DemoApp DemoApp - v4.6.2 + v4.0 512 true true + Client AnyCPU @@ -65,6 +66,7 @@ True Resources.resx + True SettingsSingleFileGenerator diff --git a/CMS-OMR/MainForm.Designer.cs b/CMS-OMR/MainForm.Designer.cs index b4baae4..9e33b4c 100644 --- a/CMS-OMR/MainForm.Designer.cs +++ b/CMS-OMR/MainForm.Designer.cs @@ -29,13 +29,13 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); this.txtBCode = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.btnLogin = new System.Windows.Forms.Button(); @@ -458,14 +458,14 @@ | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dgvOpr.AutoGenerateColumns = false; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvOpr.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvOpr.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8; this.dgvOpr.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvOpr.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.idxRecDataGridViewTextBoxColumn, @@ -476,25 +476,25 @@ this.codStatoDataGridViewTextBoxColumn, this.datamatrixDataGridViewTextBoxColumn}); this.dgvOpr.DataSource = this.tabOperazioniBindingSource; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvOpr.DefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle9.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvOpr.DefaultCellStyle = dataGridViewCellStyle9; this.dgvOpr.Location = new System.Drawing.Point(8, 112); this.dgvOpr.Margin = new System.Windows.Forms.Padding(4); this.dgvOpr.Name = "dgvOpr"; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvOpr.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; + dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle10.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvOpr.RowHeadersDefaultCellStyle = dataGridViewCellStyle10; this.dgvOpr.Size = new System.Drawing.Size(1077, 242); this.dgvOpr.TabIndex = 6; // @@ -592,14 +592,14 @@ this.dgvAlarmLog.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dgvAlarmLog.AutoGenerateColumns = false; - dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvAlarmLog.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; + dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle11.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvAlarmLog.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11; this.dgvAlarmLog.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvAlarmLog.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dtEventoDataGridViewTextBoxColumn1, @@ -607,14 +607,14 @@ this.attivoDataGridViewCheckBoxColumn, this.descrizioneDataGridViewTextBoxColumn1}); this.dgvAlarmLog.DataSource = this.storicoAllarmiExpBindingSource; - dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvAlarmLog.DefaultCellStyle = dataGridViewCellStyle5; + dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle12.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvAlarmLog.DefaultCellStyle = dataGridViewCellStyle12; this.dgvAlarmLog.Location = new System.Drawing.Point(8, 102); this.dgvAlarmLog.Margin = new System.Windows.Forms.Padding(4); this.dgvAlarmLog.Name = "dgvAlarmLog"; @@ -691,14 +691,14 @@ // dgvAnagAlarm // this.dgvAnagAlarm.AutoGenerateColumns = false; - dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvAnagAlarm.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6; + dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle13.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvAnagAlarm.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13; this.dgvAnagAlarm.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvAnagAlarm.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.codAllarmeDataGridViewTextBoxColumn, @@ -708,14 +708,14 @@ this.lastEndDataGridViewTextBoxColumn, this.currStatusDataGridViewCheckBoxColumn}); this.dgvAnagAlarm.DataSource = this.anagAllarmiBindingSource; - dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle7.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvAnagAlarm.DefaultCellStyle = dataGridViewCellStyle7; + dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle14.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvAnagAlarm.DefaultCellStyle = dataGridViewCellStyle14; this.dgvAnagAlarm.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvAnagAlarm.Location = new System.Drawing.Point(0, 0); this.dgvAnagAlarm.Margin = new System.Windows.Forms.Padding(4); diff --git a/CMS-OMR/MainForm.resx b/CMS-OMR/MainForm.resx index 04cca83..49848fe 100644 --- a/CMS-OMR/MainForm.resx +++ b/CMS-OMR/MainForm.resx @@ -123,6 +123,9 @@ 285, 17 + + 285, 17 + 1355, 17 diff --git a/CMS-OMR/Properties/Resources.Designer.cs b/CMS-OMR/Properties/Resources.Designer.cs index da71381..a089c55 100644 --- a/CMS-OMR/Properties/Resources.Designer.cs +++ b/CMS-OMR/Properties/Resources.Designer.cs @@ -1,71 +1,63 @@ //------------------------------------------------------------------------------ // -// Codice generato da uno strumento. +// Il codice è stato generato da uno strumento. // Versione runtime:4.0.30319.42000 // -// Le modifiche apportate a questo file possono causare un comportamento non corretto e andranno perse se +// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se // il codice viene rigenerato. // //------------------------------------------------------------------------------ -namespace DemoApp.Properties -{ - - - /// - /// Classe di risorse fortemente tipizzata per la ricerca di stringhe localizzate e così via. - /// - // Questa classe è stata generata automaticamente dalla classe StronglyTypedResourceBuilder - // tramite uno strumento quale ResGen o Visual Studio. - // Per aggiungere o rimuovere un membro, modificare il file .ResX, quindi eseguire di nuovo ResGen - // con l'opzione /str oppure ricompilare il progetto VS. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { - } - +namespace DemoApp.Properties { + using System; + + /// - /// Restituisce l'istanza di ResourceManager memorizzata nella cache e usata da questa classe. + /// Classe di risorse fortemente tipizzata per la ricerca di stringhe localizzate e così via. /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DemoApp.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; + // Questa classe è stata generata automaticamente dalla classe StronglyTypedResourceBuilder. + // tramite uno strumento quale ResGen o Visual Studio. + // Per aggiungere o rimuovere un membro, modificare il file con estensione ResX ed eseguire nuovamente ResGen + // con l'opzione /str oppure ricompilare il progetto VS. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Restituisce l'istanza di ResourceManager nella cache utilizzata da questa classe. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DemoApp.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Esegue l'override della proprietà CurrentUICulture del thread corrente per tutte le + /// ricerche di risorse eseguite utilizzando questa classe di risorse fortemente tipizzata. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } } - return resourceMan; - } } - - /// - /// Esegue l'override della proprietà CurrentUICulture del thread corrente per tutte - /// le ricerche di risorse che utilizzano questa classe di risorse fortemente tipizzata. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - } }