Correzioni
This commit is contained in:
@@ -44,6 +44,10 @@ namespace WebWindowComplex.Models
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public string sSashShape
|
||||
{
|
||||
get => m_CurrShape;
|
||||
}
|
||||
public bool bIsMeasureGlass
|
||||
{
|
||||
get
|
||||
@@ -316,10 +320,7 @@ namespace WebWindowComplex.Models
|
||||
}
|
||||
set
|
||||
{
|
||||
m_SelFamilyHardware = value;
|
||||
ReqRefreshShape();
|
||||
RefreshHardwareOptionList();
|
||||
SetFirstHardware();
|
||||
SetSelFamilyHardware(value);
|
||||
m_ParentWindow.OnUpdatePreview(m_ParentWindow.sSerialized());
|
||||
}
|
||||
}
|
||||
@@ -569,7 +570,7 @@ namespace WebWindowComplex.Models
|
||||
newSash.JointList.Add(new Joint(newSash, JointIndex + 1, Joints.FULL_H));
|
||||
newSash.SetSashBottomRail(false);
|
||||
newSash.SetSashBottomRailQty(0);
|
||||
newSash.SelFamilyHardware = Sash.s_FamilyHardwareList.First();
|
||||
newSash.SetSelFamilyHardware(Sash.s_FamilyHardwareList.First());
|
||||
newSash.ReqRefreshShape();
|
||||
newSash.RefreshHardwareOptionList();
|
||||
newSash.SetFirstHardware();
|
||||
@@ -750,6 +751,13 @@ namespace WebWindowComplex.Models
|
||||
m_SashType = SashType;
|
||||
}
|
||||
|
||||
public void SetSelFamilyHardware(string sFamilyHw)
|
||||
{
|
||||
m_SelFamilyHardware = sFamilyHw;
|
||||
ReqRefreshShape();
|
||||
RefreshHardwareOptionList();
|
||||
SetFirstHardware();
|
||||
}
|
||||
internal string SetSelFamilyHardwareFromIndex(string codHardware)
|
||||
{
|
||||
if (string.IsNullOrEmpty(m_SelFamilyHardware))
|
||||
|
||||
Reference in New Issue
Block a user