ab3b32a780
- Fix single click sx/dx - add paginazione se > 5 - test vari componenti razor - gestione paginazione
51 lines
1.0 KiB
C#
51 lines
1.0 KiB
C#
using EgwControlCenter.Core;
|
|
using Microsoft.AspNetCore.Components;
|
|
using Microsoft.JSInterop;
|
|
|
|
namespace EgwControlCenter.App.Components.Pages
|
|
{
|
|
public partial class Index
|
|
{
|
|
#region Protected Properties
|
|
|
|
[Inject]
|
|
protected AppControlService ACService { get; set; } = null!;
|
|
|
|
#endregion Protected Properties
|
|
|
|
#region Protected Methods
|
|
|
|
protected void ForceCheck()
|
|
{
|
|
ACService.DoFullCheck(true);
|
|
}
|
|
|
|
protected void SetupMode(bool reqSetup)
|
|
{
|
|
ReqSetup = reqSetup;
|
|
if (!ReqSetup)
|
|
{
|
|
ForceCheck();
|
|
}
|
|
}
|
|
|
|
protected void ToggleSetup()
|
|
{
|
|
ReqSetup = !ReqSetup;
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
|
|
#region Private Fields
|
|
|
|
private bool isLoading = false;
|
|
|
|
#endregion Private Fields
|
|
|
|
#region Private Properties
|
|
|
|
private bool ReqSetup { get; set; } = false;
|
|
|
|
#endregion Private Properties
|
|
}
|
|
} |