我有一個事件,PropertyChangedEventHandler
和我提出這樣的:PropertyChangedEventHandler使用問題
PropertyChanged(this, new PropertyChangedEventArgs("LogFile"));
PropertyChanged(this, new PropertyChangedEventArgs("Nodes"));
我也連接到它:
PropertyChanged += UpdateCamxWindowEvent;
我怎麼能執行UpdateCamxWindowEvent
只有當事件引發與"LogFile"
?
我應該改變我的代碼?
在代碼中,我可以添加提到的處理程序? – 2011-05-10 21:49:46
@ Akram Shahda,而不是PropertyChanged + = UpdateCamxWindowEvent; – 2011-05-10 21:53:02