Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CustomEvent Handeling in mehreren Dateien? WPF/C#

Empfohlene Antworten

Hallo :)

Ich sitze verzweifelt vor einem Problem :

Ich habe in WPF eine UserControl und eine "Main"-Applikation.

Das aufrufen darin klappt auch ganz gut.

Im Prinzip versuche ich gerade ein wenig spielerisch die .NET Programmierung zu erlernen =)

Jetzt aber bin ich soweit, dass ich einen kleinen Login habe zu einer MySQL. Das funktioniert noch sehr gut. Nur muss ich jetzt aus einer UserControl heraus ein Event (Login OK) an mein MainWindow schicken um den Fensterinhalt neu zu generieren bzw eine andere UserControl einzubinden.

Ich klicke mich schon seit Tagen durch das Netz, aber irgendwie bin ich wohl zu dumm die Tutorials zu verstehen...

Kann mir jemand helfen?

PS: Die Überprüfung findet in einem BackgroundWorker statt.

Ich verstehe noch nicht ganz, wo das Problem liegt.

Im Grunde fügst Du dem Projekt eine neue Form/ein neues WPF-Formular hinzu, welches Du instantiierst und mit myForm.ShowDialog() und kannst dann auf DialogResult.OK zurückgreifen. Nur so als Beispiel ;)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.