Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00ab105/wp-settings.php on line 512

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00ab105/wp-settings.php on line 527

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00ab105/wp-settings.php on line 534

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00ab105/wp-settings.php on line 570

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl(&$output) in /www/htdocs/w00ab105/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output) in /www/htdocs/w00ab105/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el(&$output) in /www/htdocs/w00ab105/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el(&$output) in /www/htdocs/w00ab105/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el(&$output) in /www/htdocs/w00ab105/wp-includes/classes.php on line 1244

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl(&$output) in /www/htdocs/w00ab105/wp-includes/classes.php on line 1394

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl(&$output) in /www/htdocs/w00ab105/wp-includes/classes.php on line 1394

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el(&$output) in /www/htdocs/w00ab105/wp-includes/classes.php on line 1394

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el(&$output) in /www/htdocs/w00ab105/wp-includes/classes.php on line 1394

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el(&$output) in /www/htdocs/w00ab105/wp-includes/classes.php on line 1445

Strict Standards: Redefining already defined constructor for class wpdb in /www/htdocs/w00ab105/wp-includes/wp-db.php on line 306

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00ab105/wp-includes/cache.php on line 103

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /www/htdocs/w00ab105/wp-includes/cache.php on line 431

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00ab105/wp-includes/query.php on line 61

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00ab105/wp-includes/theme.php on line 1109

Strict Standards: Declaration of Walker_Comment::start_lvl() should be compatible with Walker::start_lvl(&$output) in /www/htdocs/w00ab105/wp-includes/comment-template.php on line 1266

Strict Standards: Declaration of Walker_Comment::end_lvl() should be compatible with Walker::end_lvl(&$output) in /www/htdocs/w00ab105/wp-includes/comment-template.php on line 1266

Strict Standards: Declaration of Walker_Comment::start_el() should be compatible with Walker::start_el(&$output) in /www/htdocs/w00ab105/wp-includes/comment-template.php on line 1266

Strict Standards: Declaration of Walker_Comment::end_el() should be compatible with Walker::end_el(&$output) in /www/htdocs/w00ab105/wp-includes/comment-template.php on line 1266

Strict Standards: Redefining already defined constructor for class WP_Dependencies in /www/htdocs/w00ab105/wp-includes/class.wp-dependencies.php on line 31

Strict Standards: Redefining already defined constructor for class WP_Http in /www/htdocs/w00ab105/wp-includes/http.php on line 61
blog.murb.com » Expression Blend
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w00ab105/wp-includes/kses.php on line 1002

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w00ab105/wp-includes/kses.php on line 1003

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w00ab105/wp-includes/kses.php on line 1002

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w00ab105/wp-includes/kses.php on line 1003

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w00ab105/wp-includes/kses.php on line 1002

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w00ab105/wp-includes/kses.php on line 1003

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w00ab105/wp-includes/kses.php on line 1002

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w00ab105/wp-includes/kses.php on line 1003

WPF: Anwendung mit Systray-Icon ausstatten

25.12.2008 von Richard

Je nach Anwendung können Systray-Icons eine sehr bequeme Art der Steuerung darstellen. Daher dachte ich mir “bauste dir eben auch so ein Ding in dein Tool ein”. Fragt sich nur, wie man das am geschicktesten realisiert. Vermutlich könnte man das mit reinem XAML irgendwie lösen. Das sehe ich allerdings nicht als die optimale Lösung an, da mir das in dieser Hinsicht zu unflexibel ist. Also muss C# mit Windows.Forms herhalten.

Ein NotifyIcon ist schnell erzeugt und betitelt. Doch wie sieht es mit Icon und Kontextmenü aus? Das erfordert ein paar mehr Zeilen Code, erst recht, wenn man ein bereits eingebundenes Icon (bspw. das der Anwendung selbst) verwenden möchte. Ich gehe hierbei auf die Situation ein, dass sich das Icon in den eigenen Ressourcen von Expression Blend befindet.

Den Rest des Eintrags lesen »

Geschrieben in C#, Expression Blend | Keine Kommentare »