mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-04-15 12:27:37 -04:00
Add dark mode to winforms
- Add dark theme icon variants - Change all light theme icon fill colors to match Chardonnay Also fixed #1460 by chaing the directory select control to DirectoryOrCustomSelectControl
This commit is contained in:
committed by
MBucari
parent
7852067b81
commit
cdb91ae2ca
@@ -31,7 +31,11 @@ internal partial class ProcessQueueControl : UserControl
|
||||
|
||||
virtualFlowControl2.ButtonClicked += VirtualFlowControl2_ButtonClicked;
|
||||
virtualFlowControl2.DataContext = ViewModel.Queue;
|
||||
queueNumberLbl.Image = Application.IsDarkModeEnabled ? Properties.Resources.queue_queued_dark : Properties.Resources.queue_queued;
|
||||
errorNumberLbl.Image = Application.IsDarkModeEnabled ? Properties.Resources.queue_error_dark : Properties.Resources.queue_error;
|
||||
completedNumberLbl.Image = Application.IsDarkModeEnabled ? Properties.Resources.queue_completed_dark : Properties.Resources.queue_completed;
|
||||
|
||||
logDGV.EnableHeadersVisualStyles = !Application.IsDarkModeEnabled;
|
||||
ViewModel.PropertyChanged += ProcessQueue_PropertyChanged;
|
||||
ViewModel.LogEntries.CollectionChanged += LogEntries_CollectionChanged;
|
||||
ProcessQueue_PropertyChanged(this, new PropertyChangedEventArgs(null));
|
||||
|
||||
Reference in New Issue
Block a user