diff --git a/Analogy.Updater/RemindLaterForm.cs b/Analogy.Updater/RemindLaterForm.cs index e08f111..0eb01f2 100644 --- a/Analogy.Updater/RemindLaterForm.cs +++ b/Analogy.Updater/RemindLaterForm.cs @@ -1,11 +1,14 @@ using System; +using System.ComponentModel; using System.Windows.Forms; namespace Analogy.Updater { internal partial class RemindLaterForm : Form { + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public RemindLaterFormat RemindLaterFormat { get; private set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public int RemindLaterAt { get; private set; } diff --git a/Analogy.Updater/UpdateForm.cs b/Analogy.Updater/UpdateForm.cs index 4bbd51b..ebcaf20 100644 --- a/Analogy.Updater/UpdateForm.cs +++ b/Analogy.Updater/UpdateForm.cs @@ -1,5 +1,6 @@ using Microsoft.Win32; using System; +using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.Globalization; @@ -29,7 +30,7 @@ public UpdateForm() ControlBox = false; } } - + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public sealed override string Text { get => base.Text;