diff --git a/app/Components/DisplayItem.xaml b/app/Components/DisplayItem.xaml index f121612..2ec7f7f 100644 --- a/app/Components/DisplayItem.xaml +++ b/app/Components/DisplayItem.xaml @@ -48,7 +48,9 @@ + + diff --git a/app/Components/DisplayItem.xaml.cs b/app/Components/DisplayItem.xaml.cs index 62da034..6c3e64e 100644 --- a/app/Components/DisplayItem.xaml.cs +++ b/app/Components/DisplayItem.xaml.cs @@ -196,6 +196,13 @@ namespace ParsecVDisplay.Components }); } + private void MirrorScreen(object sender, RoutedEventArgs e) + { + var mirrorWindow = new MirrorWindow(); + mirrorWindow.MirrorScreen(Display.DeviceName); + mirrorWindow.Show(); + } + private void RemoveDisplay(object sender, RoutedEventArgs e) { Tray.Instance.Invoke(() => Tray.Instance.RemoveDisplay(Display.DisplayIndex));