• Webseitenerstellung und -hosting
  • .NET Anwendungsentwicklung
  • softwaregesteuerte Prozessoptimierung
  • .NET

    Programmierung

  • WebseitenErstellung

    undHosting

  • softwaregesteuerte

    Prozessoptimierung

  • Konzeption

    und Beratung

%PM, %19. %621 %2014 %13:%Feb

WPF Window BringToFront

geschrieben von
Artikel bewerten
(0 Stimmen)
Alternative gibts im Netz genug, bei mir allerdings hat wie immer nichts geholfen. Spielchen wie Bringintoview, Topmost True/false etc. greifen nicht, vermutlich auch weil ich dafür eine extra Extension geschrieben habe?!


Public Sub ShowFront(winDow As Window)
Try

winDow.Show()
winDow.BringIntoView()
winDow.Activate()
winDow.Focus()
'winDow.Topmost = True
'winDow.Topmost = False

Catch ex As Exception
orange.Fehler.Show(ex)
End Try
End Sub


 

die Lösung: Beim Aufruf des Ereignises welches das Childwindow aufrufen möchte, meist ein click oder mousedown:

e.handled = true

somit wird das Click-Ereignis der Parent-Form beendet und hat keine Auswirkungen auf die folgenden Prozesse.  
Gelesen 54704 mal Letzte Änderung am %PM, %24. %643 %2015 %14:%Jun

137 Kommentare

  • Kommentar-Link olumiant medication %PM, %06. %938 %2022 %21:%Feb gepostet von olumiant medication

    clomid otc clomid over the counter nz what does clomid do pct how long does clomid take to work

  • Kommentar-Link tizanidine 5mg %PM, %06. %630 %2022 %14:%Feb gepostet von tizanidine 5mg

    get aralen discounts chloroquine 200 mg cost icd 10 aralen eye exam blood work necessary when on aralen

  • Kommentar-Link zanaflex online %PM, %04. %703 %2022 %15:%Feb gepostet von zanaflex online

    baricitinib 4mg cost baricitinib generic baricitinib versus placebo or adalimumab in rheumatoid arthritis clinicaltrials olumiant pi

  • Kommentar-Link nolvadex 20 %AM, %04. %450 %2022 %09:%Feb gepostet von nolvadex 20

    zanaflex and naproxen brand name tizanidine zanaflex 4 mg en espaГ±ol how many 4 mg zanaflex can i take in a day

  • Kommentar-Link olumiant 4mg %AM, %02. %373 %2022 %07:%Feb gepostet von olumiant 4mg

    molnupiravir order monapinavir rick bright molnupiravir cost of molnupiravir

  • Kommentar-Link bimatoprost dose %AM, %02. %214 %2022 %04:%Feb gepostet von bimatoprost dose

    hcg vs nolvadex order nolvadex clomid or nolvadex for sarms pct how to measure liquid nolvadex

  • Kommentar-Link aralen tablets %AM, %31. %154 %2022 %02:%Jan gepostet von aralen tablets

    aralen definition average cost of aralen where can i get aralen where to get aralen eye exams in vancouver wa

  • Kommentar-Link tizanidine 1mg %AM, %31. %094 %2022 %01:%Jan gepostet von tizanidine 1mg

    aralen vs chloroquine aralen 5 mg what type of drug is aralen aralen side effects when starting

  • Kommentar-Link clomid generic cost %PM, %28. %926 %2022 %21:%Jan gepostet von clomid generic cost

    aralen eye screening aralen vision problems icd 10 code for aralen how does aralen affect vision

  • Kommentar-Link latisse sale %PM, %28. %897 %2022 %20:%Jan gepostet von latisse sale

    nolvadex compound name посетить сайт автора can you take nolvadex during a cycle what kind of steroid is nolvadex

Schreibe einen Kommentar

Bitte achten Sie darauf, alle Felder mit Stern * zu füllen. HTML-Code ist nicht erlaubt.