示例#1
0
        public WindowDetails(string movieid = "")
        {
            //movieid = "IPX-163";
            InitializeComponent();
            if (movieid != "")
            {
                vieModel = new VieModel_Details();
                vieModel.Query(movieid);
                this.DataContext = vieModel;
                vieModel.QueryCompletedHandler += (s, e) =>
                {
                    BigImage.Source = vieModel.DetailMovie.bigimage;
                };
            }
            else
            {
                this.DataContext = null;
            }

            AdjustWindow();

            FatherGrid.Focus();

            SetSkin();
        }
示例#2
0
        public WindowDetails(string movieid = "")
        {
            //movieid = "IPX-163";
            InitializeComponent();
            if (movieid != "")
            {
                vieModel = new VieModel_Details();
                vieModel.Query(movieid);
                this.DataContext = vieModel;
            }
            else
            {
                this.DataContext = null;
            }

            AdjustWindow();

            FatherGrid.Focus();

            SetSkin();
        }