Skip to content

Commit b4fdc42

Browse files
author
BRUNER Patrick
committed
owner is already set, no need for parent
1 parent 26f9f1c commit b4fdc42

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/LogExpert.UI/Controls/LogWindow/LogWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ internal void RefreshAllGrids ()
606606
[SupportedOSPlatform("windows")]
607607
internal void ChangeMultifileMask ()
608608
{
609-
MultiFileMaskDialog dlg = new(this, FileName)
609+
MultiFileMaskDialog dlg = new(FileName)
610610
{
611611
Owner = this,
612612
MaxDays = _multiFileOptions.MaxDayTry,

src/LogExpert.UI/Dialogs/MultiFileMaskDialog.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ internal partial class MultiFileMaskDialog : Form
1212

1313
#region cTor
1414

15-
public MultiFileMaskDialog (Form parent, string fileName)
15+
public MultiFileMaskDialog (string fileName)
1616
{
1717
SuspendLayout();
1818

19-
Parent = parent;
20-
2119
AutoScaleDimensions = new SizeF(96F, 96F);
2220
AutoScaleMode = AutoScaleMode.Dpi;
2321

src/LogExpert.UI/LogExpert.UI.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1919
</Content>
2020
<PackageReference Include="DockPanelSuite.ThemeVS2015" />
21+
<PackageReference Include="Vanara.Library" />
2122
<PackageReference Include="Vanara.PInvoke.RstrtMgr" />
2223
<PackageReference Include="Vanara.PInvoke.Shell32" />
2324
<PackageReference Include="Vanara.PInvoke.User32" />

0 commit comments

Comments
 (0)