diff --git a/WebWindowComplex/Models/Sash.cs b/WebWindowComplex/Models/Sash.cs index ce3ed2e..5217695 100644 --- a/WebWindowComplex/Models/Sash.cs +++ b/WebWindowComplex/Models/Sash.cs @@ -1,4 +1,5 @@ using Egw.Window.Data; +using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Data.SqlTypes; @@ -116,7 +117,7 @@ namespace WebWindowComplex.Models } set { - if (value >= 0 && value <= 4) + if (value >= 0 && value <= 3) { if (value > m_SashList.Count) { @@ -228,9 +229,16 @@ namespace WebWindowComplex.Models } } } + // arriva come terzo evento refresh!!! +#if false + // calcolo senza hw + m_ParentWindow.OnUpdatePreview(JsonConvert.SerializeObject(m_ParentWindow.Serialize(true))); +#endif + // continuo refresh ReqRefreshShape(); RefreshHardwareOptionList(); SetFirstHardware(); + // da vedere: dovrebbe esserci un unico oggetto tra JsonConvert.SerializeObject(m_ParentWindow.Serialize(true) e m_ParentWindow.sSerialized() m_ParentWindow.OnUpdatePreview(m_ParentWindow.sSerialized()); } } diff --git a/WebWindowComplex/WebWindowComplex.csproj b/WebWindowComplex/WebWindowComplex.csproj index 9ae30ab..842e83a 100644 --- a/WebWindowComplex/WebWindowComplex.csproj +++ b/WebWindowComplex/WebWindowComplex.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 2.7.10.3014 + 2.7.10.3015 Annamaria Sassi Egalware Componente gestione Configurazioni avanzate Window per LUX @@ -201,6 +201,11 @@ + + + + + diff --git a/WebWindowConfigurator/WebWindowConfigurator.csproj b/WebWindowConfigurator/WebWindowConfigurator.csproj index 98c9676..7482096 100644 --- a/WebWindowConfigurator/WebWindowConfigurator.csproj +++ b/WebWindowConfigurator/WebWindowConfigurator.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 2.7.10.3014 + 2.7.10.3015 Annamaria Sassi Egalware Componente gestione JWD per LUX @@ -301,6 +301,11 @@ + + + + +