Clean up and polish release
- Nice popup UI with proper positioning - Professional README with badges - Remove debug logging - Add .claude/ to .gitignore 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,19 +14,20 @@ namespace DellMonitorControl
|
||||
_trayIcon.TrayLeftMouseUp += TrayIcon_Click;
|
||||
|
||||
_mainWindow = new MainWindow();
|
||||
_mainWindow.Show();
|
||||
}
|
||||
|
||||
private void TrayIcon_Click(object sender, RoutedEventArgs e)
|
||||
private async void TrayIcon_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (_mainWindow == null) return;
|
||||
|
||||
if (_mainWindow.IsVisible)
|
||||
{
|
||||
_mainWindow.Hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
_mainWindow.Show();
|
||||
_mainWindow.Activate();
|
||||
_mainWindow.ShowNearTray();
|
||||
await _mainWindow.LoadMonitors();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user