From 14aa91637ad5c051bdecd1469a9ae2c5f77204bc Mon Sep 17 00:00:00 2001 From: Annamaria Sassi Date: Tue, 15 Jul 2025 14:32:48 +0200 Subject: [PATCH] - corretti titoli delle tabs - aggiunti combobox per joint del telaio --- WebWindowConfigurator/WebWindowMaker.razor | 50 +++++++++++++++---- WebWindowConfigurator/WebWindowMaker.razor.cs | 7 ++- WebWindowConfigurator/Window.cs | 4 +- 3 files changed, 45 insertions(+), 16 deletions(-) diff --git a/WebWindowConfigurator/WebWindowMaker.razor b/WebWindowConfigurator/WebWindowMaker.razor index 0f86050..e58e2eb 100644 --- a/WebWindowConfigurator/WebWindowMaker.razor +++ b/WebWindowConfigurator/WebWindowMaker.razor @@ -13,23 +13,33 @@ } + @@ -59,6 +69,19 @@ +
+ @foreach (Joint joint in m_frame.JointList) + { +
+ + +
+ } +
@@ -73,17 +96,24 @@
@* *@ } - else if (currStep == CompileStep.Shape) + else if (currStep == CompileStep.Sash) {
- aggiungi + aggiungi finestre @* *@
} - else if (currStep == CompileStep.Dimension) + else if (currStep == CompileStep.Split) {
- aggiungi dimensioni + aggiungi montanti + @* *@ +
+ } + else if (currStep == CompileStep.Fill) + { +
+ aggiungi riempimento @* *@
} diff --git a/WebWindowConfigurator/WebWindowMaker.razor.cs b/WebWindowConfigurator/WebWindowMaker.razor.cs index 0e15905..b183c99 100644 --- a/WebWindowConfigurator/WebWindowMaker.razor.cs +++ b/WebWindowConfigurator/WebWindowMaker.razor.cs @@ -14,9 +14,9 @@ namespace WebWindowConfigurator { Draft = 0, General = 1, - Shape, - Dimension, - Open + Sash, + Split, + Fill } private CompileStep currStep = CompileStep.Draft; @@ -65,7 +65,6 @@ namespace WebWindowConfigurator Frame NewFrame = (Frame)Frame.CreateFrame(m_CurrWindow); m_CurrWindow.AreaList.Add(NewFrame); m_SelArea = NewFrame; - var cc= m_frame.Shape; } private Window m_CurrWindow { get; set; } = new Window(); diff --git a/WebWindowConfigurator/Window.cs b/WebWindowConfigurator/Window.cs index 9611d2e..e0e537f 100644 --- a/WebWindowConfigurator/Window.cs +++ b/WebWindowConfigurator/Window.cs @@ -1408,8 +1408,8 @@ namespace WebWindowConfigurator private List m_JointTypeList = new List { new IdNameStruct((int)Joints.ANGLED, "Angled"), - new IdNameStruct((int)Joints.FULL_H, "Full H"), - new IdNameStruct((int)Joints.FULL_V, "Full V") + new IdNameStruct((int)Joints.FULL_H, "Full H"), + new IdNameStruct((int)Joints.FULL_V, "Full V") }; public List JointTypeList {