Add PropertyChanged detection for Dictionary type settings
This commit is contained in:
parent
1f7000c2c9
commit
5c73beff4b
11 changed files with 211 additions and 179 deletions
|
|
@ -30,7 +30,7 @@ namespace LibationWinForms.Dialogs
|
|||
var r = replacements[i];
|
||||
|
||||
int row = dataGridView1.Rows.Add(r.CharacterToReplace.ToString(), r.ReplacementString, r.Description);
|
||||
dataGridView1.Rows[row].Tag = r.Clone();
|
||||
dataGridView1.Rows[row].Tag = r with { };
|
||||
|
||||
|
||||
if (r.Mandatory)
|
||||
|
|
|
|||
|
|
@ -90,13 +90,13 @@ namespace LibationWinForms
|
|||
config.SetNonString(saveState, form.Name);
|
||||
}
|
||||
|
||||
}
|
||||
class FormSizeAndPosition
|
||||
{
|
||||
public int X;
|
||||
public int Y;
|
||||
public int Height;
|
||||
public int Width;
|
||||
public bool IsMaximized;
|
||||
private record FormSizeAndPosition
|
||||
{
|
||||
public int X;
|
||||
public int Y;
|
||||
public int Height;
|
||||
public int Width;
|
||||
public bool IsMaximized;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue