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.

Compact Framework 2.0 - Using System.Timers

Empfohlene Antworten

Hallo zusammen,

programmiere gerade ein Webbrowser der sich mit einem Server Verbindet

Nach der Verbindung wird ein Timer aufgerufen und jede 15 s. ein "Web.Refresh();" gemacht.

Für eine Windows Application die unter .Net Framework 2.0, 3.5 funktioniert alles wunderbar.

Die Programmiersprache ist C#

Die Applikation ist aber für ein Windows CE 5.0 gedacht, nun ich muss mit der CompactFramework 2.0 arbeiten.

Sobald ich den namenspace "Using System.Timers" einfüge, wird dieser nicht erkannt, bzw. weil der nicht Vorhanden ist!?

Kann mir einer sagen was ich falsh mache, oder welche andere alternative ich habe?

Danke

NIW

Leider funktioniert es nicht bei mir,

die einzige Möglichkeit die ich habe, Bzw. die die mir die Auntocomplete Funktion zu verfügung stellt ist, System.Windows.Forms.Layout :(

System.Windows.Forms.Timer ist kein Namespace, das ist schon die Klasse. Und die gibt es ganz sicher. Aber wenn du WinForms sonst nicht nutzt, wäre Timer aus System.Threading besser.

EDIT: Crosspost: http://www.mycsharp.de/wbb2/thread.php?threadid=74014

Grüße, JasonDelife.

Bearbeitet von JasonDelife
Crosspost entdeckt

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.