update x forzare refresh
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user