This commit is contained in:
parent
b109dc8605
commit
46a086ed32
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue