public LiveFlashHandler(LiveWatchViewModel vm, AxShockwaveFlash flash) { Owner = vm; ShockwaveFlash = flash; Proxy = new ExternalInterfaceProxy(ShockwaveFlash); }
public NicoNicoLiveComment(string host, int port, LiveWatchViewModel vm) { Owner = vm; Status = vm.Content.GetPlayerStatus; Handler = vm.Handler; XmlSocket = new XmlSocket(host, port); XmlSocket.XmlReceive += OnReceive; if(Status.Archive) { ResFrom = -1000; } else { XmlSocket.Connect(); RequestComment(); } }
public void Initialize() { Status = "読込中"; IsActive = true; var LiveInstance = new NicoNicoLive(LiveUrl); Content = LiveInstance.GetPage(); Name = Content.Title; if (Content.Type == LivePageType.Gate || Content.Type == LivePageType.TimeShiftGate) { ContentViewModel = new LiveGateViewModel(this, LiveInstance, Content); } else { ContentViewModel = new LiveWatchViewModel(this, LiveInstance, Content); } IsActive = false; Status = ""; }
public void Initialize() { Status = "読込中"; IsActive = true; var LiveInstance = new NicoNicoLive(LiveUrl); Content = LiveInstance.GetPage(); Name = Content.Title; if(Content.Type == LivePageType.Gate || Content.Type == LivePageType.TimeShiftGate) { ContentViewModel = new LiveGateViewModel(this, LiveInstance, Content); } else { ContentViewModel = new LiveWatchViewModel(this, LiveInstance, Content); } IsActive = false; Status = ""; }
public LiveCommentViewModel(LiveWatchViewModel vm) { Owner = vm; }