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

            ShockwaveFlash = flash;
            Proxy          = new ExternalInterfaceProxy(ShockwaveFlash);
        }
Example #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();
            }
        }
Example #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   = "";
        }
Example #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 = "";
        }
 public LiveCommentViewModel(LiveWatchViewModel vm)
 {
     Owner = vm;
 }
 public LiveCommentViewModel(LiveWatchViewModel vm)
 {
     Owner = vm;
 }