35 lines
754 B
C#
35 lines
754 B
C#
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace WebWindowConfigurator
|
|
{
|
|
public partial class WebWindowMaker
|
|
{
|
|
#region Public Properties
|
|
|
|
[Parameter]
|
|
public string CurrJwd { get; set; } = null!;
|
|
|
|
[Parameter]
|
|
public EventCallback<bool> EC_Close { get; set; }
|
|
|
|
[Parameter]
|
|
public EventCallback<string> EC_Update { get; set; }
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Protected Methods
|
|
|
|
protected async Task DoClose()
|
|
{
|
|
await EC_Close.InvokeAsync(true);
|
|
}
|
|
|
|
protected async Task DoSave()
|
|
{
|
|
CurrJwd = @"prova";
|
|
await EC_Update.InvokeAsync(CurrJwd);
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
}
|
|
} |