2011-07-01から1ヶ月間の記事一覧

WPFxUPnP 2 その4

最後に、WPFでの画面です。デバイスのListを作成して、 public class UPnPLightList : ObservableCollection<UPnPLightDevice> { } デバイスのリストを、依存プロパティとして出して、バインドできるようにしています。 あとは、それぞれ、イベントハンドラを設定して、操作で</upnplightdevice>…

WPFxUPnP 2 その3

WPFxUPnP 2 その3久しぶりに、UPnPのデバイスについて・・・。まずは、UPnPのライトのデバイスクラスを作成します。 public class UPnPLightDevice : INotifyPropertyChanged { public UPnPDevice Device { get; set; } public UPnPService SwitchPowerServi…