update x forzare refresh

This commit is contained in:
Samuele Locatelli
2025-10-30 15:19:39 +01:00
parent 2e4bc8b4d3
commit 16cf5eda54
3 changed files with 21 additions and 3 deletions
+9 -1
View File
@@ -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());
}
}
+6 -1
View File
@@ -6,7 +6,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>2.7.10.3014</Version>
<Version>2.7.10.3015</Version>
<Authors>Annamaria Sassi</Authors>
<Company>Egalware</Company>
<Description>Componente gestione Configurazioni avanzate Window per LUX</Description>
@@ -201,6 +201,11 @@
@@ -6,7 +6,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>2.7.10.3014</Version>
<Version>2.7.10.3015</Version>
<Authors>Annamaria Sassi</Authors>
<Company>Egalware</Company>
<Description>Componente gestione JWD per LUX</Description>
@@ -301,6 +301,11 @@