From 80360b0306cfbeca0bc85bb6a7bc11d9294c92f0 Mon Sep 17 00:00:00 2001 From: Renzo Lanza Date: Wed, 20 Mar 2019 15:56:23 +0000 Subject: [PATCH] =?UTF-8?q?LicenceManager=202.1c5:=20-=20Aggiunti=202=20nu?= =?UTF-8?q?ovi=20Stati=20Chiave:=20Interna=20e=20InternaEgt=20-=20Entrando?= =?UTF-8?q?=20in=20ogni=20SearchPage=20viene=20subito=20riempita=20la=20ta?= =?UTF-8?q?bella=20dell'elemento=20relativo=20(Chiave,=20Licenze,=20ecc.)?= =?UTF-8?q?=20senza=20bisogno=20di=20premere=20"Search"=20-=20Pulsante=20"?= =?UTF-8?q?Cancel"=20=C3=A8=20diventato=20"Close"=20e=20spostato=20in=20fo?= =?UTF-8?q?ndo=20a=20destra=20-=20Aggiunto=20LicenceBox:=20form=20che=20vi?= =?UTF-8?q?sualizza=20il=20contenuto=20del=20file=20di=20licenza=20e=20ne?= =?UTF-8?q?=20permette=20il=20download=20(sostituisce=20il=20MessageBox=20?= =?UTF-8?q?che=20c'era=20prima)=20-=20"Update=20(Overwrite)"=20ora=20?= =?UTF-8?q?=C3=A8=20seguito=20dalla=20rigenerazione=20della=20licenza=20-?= =?UTF-8?q?=20MainMenu=20non=20include=20pi=C3=B9=20i=20pulsanti=20"New=20?= =?UTF-8?q?[...]".=20Questi=20sono=20stati=20tutti=20spostati=20all'intern?= =?UTF-8?q?o=20delle=20SearchPage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KeyPage/KeyPageVM.vb | 4 +- LicenseManager.vbproj | 7 ++ MainMenu/MainMenuV.xaml | 63 ++++++++-------- MainWindow/Objects.vb | 4 +- My Project/AssemblyInfo.vb | 4 +- NewClientPage/NewClientPageVM.vb | 2 +- NewKeyPage/NewKeyPageVM.vb | 2 +- NewLicencePage/NewLicencePageVM.vb | 2 +- NewProductPage/NewProductPageVM.vb | 2 +- NewResellerPage/NewResellerPageVM.vb | 2 +- NewVersionPage/NewVersionPageVM.vb | 2 +- SearchClientPage/SearchClientPageV.xaml | 11 ++- SearchClientPage/SearchClientPageVM.vb | 39 +++++++++- SearchKeyPage/SearchKeyPageV.xaml | 11 ++- SearchKeyPage/SearchKeyPageVM.vb | 50 +++++++++++-- SearchLicencePage/SearchLicencePageV.xaml | 20 ++--- SearchLicencePage/SearchLicencePageV.xaml.vb | 38 ++++++---- SearchLicencePage/SearchLicencePageVM.vb | 40 +++++++++- SearchProductPage/SearchProductPageV.xaml | 17 ++--- SearchProductPage/SearchProductPageVM.vb | 34 ++++++++- SearchResellerPage/SearchResellerPageV.xaml | 14 ++-- SearchResellerPage/SearchResellerPageVM.vb | 34 ++++++++- SearchVersionPage/SearchVersionPageV.xaml | 11 ++- SearchVersionPage/SearchVersionPageVM.vb | 36 ++++++++- UpdateClientPage/UpdateClientPageVM.vb | 2 +- UpdateKeyPage/UpdateKeyPageVM.vb | 4 +- UpdateLicencePage/UpdateLicencePageVM.vb | 79 +++++++++++++++++++- UpdateProductPage/UpdateProductPageVM.vb | 2 +- UpdateResellerPage/UpdateResellerPageVM.vb | 2 +- UpdateVersionPage/UpdateVersionPageVM.vb | 2 +- Utility/LicenceBoxV.xaml | 60 +++++++++++++++ Utility/LicenceBoxV.xaml.vb | 21 ++++++ 32 files changed, 498 insertions(+), 123 deletions(-) create mode 100644 Utility/LicenceBoxV.xaml create mode 100644 Utility/LicenceBoxV.xaml.vb diff --git a/KeyPage/KeyPageVM.vb b/KeyPage/KeyPageVM.vb index 85287f3..6f6337e 100644 --- a/KeyPage/KeyPageVM.vb +++ b/KeyPage/KeyPageVM.vb @@ -151,7 +151,7 @@ Public Class KeyPageVM End Set End Property - Private m_StateList As New List(Of String)({"Consegnata", "InDeposito", "InDepositoEgt", "Guasta", "---ANY---"}) ' Key.KeyState)({Key.KeyState.Consegnata, Key.KeyState.InDeposito, Key.KeyState.Guasta, Key.KeyState.ANY}) + Private m_StateList As New List(Of String)({"Consegnata", "InDeposito", "InDepositoEgt", "Guasta", "Interna", "InternaEgt", "---ANY---"}) ' Key.KeyState)({Key.KeyState.Consegnata, Key.KeyState.InDeposito, Key.KeyState.Guasta, Key.KeyState.ANY}) Public ReadOnly Property StateList As List(Of String) ' Key.KeyState) Get Return m_StateList @@ -173,6 +173,8 @@ Public Class KeyPageVM If (value.Equals("InDeposito")) Then m_SelState = Key.KeyState.InDeposito If (value.Equals("InDepositoEgt")) Then m_SelState = Key.KeyState.InDepositoEgt If (value.Equals("Guasta")) Then m_SelState = Key.KeyState.Guasta + If (value.Equals("Interna")) Then m_SelState = Key.KeyState.Interna + If (value.Equals("InternaEgt")) Then m_SelState = Key.KeyState.InternaEgt If (value.Equals("---ANY---")) Then m_SelState = Key.KeyState.ANY NotifyPropertyChanged("SelState") End Set diff --git a/LicenseManager.vbproj b/LicenseManager.vbproj index 5f88f38..c627f7c 100644 --- a/LicenseManager.vbproj +++ b/LicenseManager.vbproj @@ -199,6 +199,9 @@ Dictionary.xaml + + LicenceBoxV.xaml + @@ -365,6 +368,10 @@ MSBuild:Compile Designer + + Designer + MSBuild:Compile + Designer MSBuild:Compile diff --git a/MainMenu/MainMenuV.xaml b/MainMenu/MainMenuV.xaml index ad16814..dffd19e 100644 --- a/MainMenu/MainMenuV.xaml +++ b/MainMenu/MainMenuV.xaml @@ -4,36 +4,37 @@ xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5" DataContext="{StaticResource MainMenuVM}"> - - - - + + + + - - - + - - - - - - - - - - - - + + + + + + + + + + + + + -