mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-03-30 10:19:51 +08:00
28 lines
588 B
C#
28 lines
588 B
C#
using System.Diagnostics;
|
|
|
|
namespace MicaSetup.Shell.Dialogs;
|
|
|
|
public class CommonFileDialogLabel : CommonFileDialogControl
|
|
{
|
|
public CommonFileDialogLabel()
|
|
{
|
|
}
|
|
|
|
public CommonFileDialogLabel(string text) : base(text)
|
|
{
|
|
}
|
|
|
|
public CommonFileDialogLabel(string name, string text) : base(name, text)
|
|
{
|
|
}
|
|
|
|
internal override void Attach(IFileDialogCustomize dialog)
|
|
{
|
|
Debug.Assert(dialog != null, "CommonFileDialog.Attach: dialog parameter can not be null");
|
|
|
|
dialog!.AddText(Id, Text);
|
|
|
|
SyncUnmanagedProperties();
|
|
}
|
|
}
|