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.

C# eigenes Menue

Empfohlene Antworten

Veröffentlicht

Hallo,

ich möchte mir ein eigenes Menü basteln, d.h. eigentlich möchte ich das bestehende MS Menü um ein paar Properties erweitern. Also dachte ich, einfach ne eigene Klasse, von MenuStrip erben und los gehts. Ich habe mir auch eigene ToolStripMenuItems angelegt (die MS ToolStripMenuItems beerbt) und um die entsprechenden Props erweitert.

Doch leider handelt es sich bei der Erezugermethode der Base (CreateDefaultItem()) um eine protected.

Wie kann ich diese also umbiegen dass meine ToolStripMenuItems erzeugt werden?!?!

Jemand ne Idee? Vielleicht auch nen ganz anderen Ansatz...

Grüße

protected kannst du doch überschreiben...

Wo liegt das Problem?

Grüße, JasonDelife.

  • Autor

Überladen hat soweit funktioniert.

Jedoch nicht mit dem gewünschten Erfolg.

Verrate mir wie ich die Klasse MenuStrip so überschreiben kann dass meine eigenen ToolStripMenuItems verwendet werden?

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.