Esempio n. 1
0
 private async void ShowModal(object sender, OnShowEventArgs eventArgs)
 {
     this.title      = eventArgs.Title;
     this.content    = eventArgs.Content;
     this.parameters = eventArgs.Parameters;
     this.isVisibal  = true;
     this.SetModalOptions(eventArgs.Options);
     await this.InvokeAsync(this.StateHasChanged);
 }
Esempio n. 2
0
 private void MainWindow_OnShow(object sender, OnShowEventArgs e)
 {
     UserSettings.Instance.MainWindowVisibility = true;
 }