diff --git a/WebWindowComplex/AreaSplit.razor b/WebWindowComplex/AreaSplit.razor new file mode 100644 index 0000000..0b6adf0 --- /dev/null +++ b/WebWindowComplex/AreaSplit.razor @@ -0,0 +1,30 @@ +
+
+
+
+ @if (CurrSplittedList.Count > 1) + { +

Area split @(CurrSplittedList.IndexOf(CurrSplitted) + 1)

+ } + else + { +

Area split

+ } +
+
+
+ +
+
+ @for (int j = 0; j < CurrSashList.Count; j++) + { + int Index = j; +
+
+ +
+
+ } +
+
+
diff --git a/WebWindowComplex/AreaSplit.razor.cs b/WebWindowComplex/AreaSplit.razor.cs new file mode 100644 index 0000000..0a37662 --- /dev/null +++ b/WebWindowComplex/AreaSplit.razor.cs @@ -0,0 +1,33 @@ +using Microsoft.AspNetCore.Components; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WebWindowComplex +{ + public partial class AreaSplit + { + [Parameter] + public List CurrSplittedList { get; set; } = null; + + [Parameter] + public List CurrSashList { get; set; } = null; + + [Parameter] + public Splitted CurrSplitted { get; set; } = null; + + [Parameter] + public EventCallback EC_CopySash { get; set; } + + /// + /// Sollevo evento richiesta copia sash + /// + /// + private async Task RaiseCopySash(int indexCurrSash) + { + await EC_CopySash.InvokeAsync(indexCurrSash); + } + } +} diff --git a/WebWindowComplex/TableComp.razor b/WebWindowComplex/TableComp.razor index 021ecc7..22b82f9 100644 --- a/WebWindowComplex/TableComp.razor +++ b/WebWindowComplex/TableComp.razor @@ -737,12 +737,10 @@ @foreach (var currSplitted in SplittedList) - @* @for (int i = 0; i < SplittedList.Count; i++) *@ { - @* Splitted currSplitted = SplittedList[i]; *@ @if (currSplitted.AreaList[0].Equals(item)) { -
+ @*
@@ -761,9 +759,7 @@
@foreach (var Index in SashList) - @* @for (int j = 0; j < SashList.Count; j++) *@ { - @* int Index = j; *@
@@ -772,7 +768,8 @@ }
-
+
*@ + } }
diff --git a/WebWindowComplex/WebWindowComplex.csproj b/WebWindowComplex/WebWindowComplex.csproj index 9fc1645..04c8025 100644 --- a/WebWindowComplex/WebWindowComplex.csproj +++ b/WebWindowComplex/WebWindowComplex.csproj @@ -30,3 +30,4 @@ + diff --git a/WebWindowConfigurator/WebWindowConfigurator.csproj b/WebWindowConfigurator/WebWindowConfigurator.csproj index 5285456..27945d8 100644 --- a/WebWindowConfigurator/WebWindowConfigurator.csproj +++ b/WebWindowConfigurator/WebWindowConfigurator.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 2.7.10.1013 + 2.7.10.1015 Annamaria Sassi Egalware Componente gestione JWD per LUX @@ -40,3 +40,15 @@ + + + + + + + + + + + +