Обновить метку индикатора в c #

Я создал новый индикатор:

indicator = 
        new ApplicationIndicator (
            "sample-application",       //id of the the indicator icon
            "app-icon",                 //file name of the icon (will look for app-icon.png) 
            Category.ApplicationStatus, 
            ExecutableFolder            //the folder where to look for app-icon.png
        );  

        //Build Popup Menu for ApplicationIndicator
        Menu popupMenu = new Menu ();
        indicator.Label = "init label";
...

Из обратного вызова таймера, я хочу обновить метку индикатора:

indicator.label = "new label";

Новое значение метки не применяется к индикатору. Он по-прежнему показывает строку init label.

1
задан 7 July 2014 в 16:45

0 ответов

Другие вопросы по тегам:

Похожие вопросы: