This commit is contained in:
CasualPokePlayer 2023-02-01 21:26:44 -08:00
parent b109dc8605
commit 46a086ed32
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#nullable enable
using System;
using System.ComponentModel;
using System.Windows.Forms;
using BizHawk.Client.Common;
@ -23,6 +24,9 @@ namespace BizHawk.Client.EmuHawk
public static DialogResult ShowDialogWithTempMute(this IDialogParent dialogParent, Form dialog)
=> dialogParent.DialogController.DoWithTempMute(() => dialog.ShowDialog(dialogParent.AsWinFormsHandle()));
public static DialogResult ShowDialogWithTempMute(this IDialogParent dialogParent, FolderBrowserEx dialog)
=> dialogParent.DialogController.DoWithTempMute(() => dialog.ShowDialog(dialogParent.AsWinFormsHandle()));
public static DialogResult ShowMessageBox(
this IDialogController mainForm,
IDialogParent? owner,