private void Image_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { BorderWindow bw = new BorderWindow(); bw.ShowDialog(); this.Close(); }
/// <summary> /// Przejście do mapy /// </summary> private void Image_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { BorderWindow bw = new BorderWindow(); /// <remarks> przypisuje zmiennej bw obiekt BorderWindow </remarks> bw.ShowDialog(); /// <remarks> otwiera okno </remarks> this.Close(); /// <remarks> zamyka okno </remarks> }