Mutually exclusive thumbnail mode selection in UI
Implement mutually exclusive logic for thumbnail display modes in DataModel and MainForm. Add ThumbnailMode property for authoritative state. Replace radio button bindings with event handlers. Synchronize UI with model changes. Explicitly map thumbnail flags to PicSettings. Force WinForms startup, disabling WPF branch.
This commit is contained in:
parent
6a5173a20d
commit
214e540170
4 changed files with 229 additions and 16 deletions
2
imagecatalog/MainForm.Designer.cs
generated
2
imagecatalog/MainForm.Designer.cs
generated
|
|
@ -1404,6 +1404,7 @@ namespace ImageCatalog
|
|||
// RadioButton4
|
||||
//
|
||||
RadioButton4.AutoSize = true;
|
||||
RadioButton4.DataBindings.Add(new Binding("Checked", bindingSource1, "AddTimeToThumbnails", true, DataSourceUpdateMode.OnPropertyChanged));
|
||||
RadioButton4.Location = new Point(30, 93);
|
||||
RadioButton4.Margin = new Padding(6, 8, 6, 8);
|
||||
RadioButton4.Name = "RadioButton4";
|
||||
|
|
@ -1416,6 +1417,7 @@ namespace ImageCatalog
|
|||
// RadioButton6
|
||||
//
|
||||
RadioButton6.AutoSize = true;
|
||||
RadioButton6.DataBindings.Add(new Binding("Checked", bindingSource1, "ShowPhotoNumber", true, DataSourceUpdateMode.OnPropertyChanged));
|
||||
RadioButton6.Location = new Point(258, 38);
|
||||
RadioButton6.Margin = new Padding(6, 8, 6, 8);
|
||||
RadioButton6.Name = "RadioButton6";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue