Beispiel #1
0
        private void ButtonToggleInfoWindow_Click(object sender, RoutedEventArgs e)
        {
            if (InfoWindow == null)
            {
                InfoWindow = new InfoWindow(AmeisenBot);
            }

            InfoWindow.Show();
        }
Beispiel #2
0
 private void ButtonToggleInfoWindow_Click(object sender, RoutedEventArgs e)
 {
     InfoWindow ??= new(AmeisenBot);
     InfoWindow.Show();
 }