Skip to content

Commit

Permalink
add [DesignerSerializationVisibility(DesignerSerializationVisibility.…
Browse files Browse the repository at this point in the history
…Hidden)]
  • Loading branch information
LiorBanai committed Nov 13, 2024
1 parent 61837d9 commit a339a3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Analogy.Updater/RemindLaterForm.cs
Original file line number Diff line number Diff line change
@@ -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; }

Expand Down
3 changes: 2 additions & 1 deletion Analogy.Updater/UpdateForm.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Microsoft.Win32;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Globalization;
Expand Down Expand Up @@ -29,7 +30,7 @@ public UpdateForm()
ControlBox = false;
}
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public sealed override string Text
{
get => base.Text;
Expand Down

0 comments on commit a339a3a

Please sign in to comment.