Inheritance: TabItemViewModel
        public LiveFlashHandler(LiveWatchViewModel vm, AxShockwaveFlash flash)
        {
            Owner = vm;

            ShockwaveFlash = flash;
            Proxy          = new ExternalInterfaceProxy(ShockwaveFlash);
        }
示例#2
0
        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();
            }
        }
示例#3
0
        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   = "";
        }
示例#4
0
        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 = "";
        }
示例#5
0
 public LiveCommentViewModel(LiveWatchViewModel vm)
 {
     Owner = vm;
 }
 public LiveCommentViewModel(LiveWatchViewModel vm)
 {
     Owner = vm;
 }