示例#1
0
        public void selectMovie(string name)
        {
            WebServiceKino servis = new WebServiceKino();
            WebServiceKino.Movie movie = servis.readMovie(name);
            if (movie != null)
            {
                tbName.Text = movie.Name;
                tbNameMk.Text = movie.NameMk;
                tbDesctiption.Text = movie.Desctiption;
                tbDirector.Text = movie.Director;
                tbDuration.Text = movie.Duration;
                tbGenre.Text = movie.Genre;
                tbRating.Text = movie.Rating;
                tbRelease.Text = movie.Release;
                tbStars.Text = movie.Stars;
                tbUrl.Text = movie.Url;
                tbImage.ImageUrl = movie.Image;
            }
            else
            {
                lbErr.Text = "Error";
            }
                

        }
示例#2
0
        public void selectMovie(string name)
        {
            WebServiceKino servis = new WebServiceKino();

            WebServiceKino.Movie movie = servis.readMovie(name);
            if (movie != null)
            {
                tbName.Text        = movie.Name;
                tbNameMk.Text      = movie.NameMk;
                tbDesctiption.Text = movie.Desctiption;
                tbDirector.Text    = movie.Director;
                tbDuration.Text    = movie.Duration;
                tbGenre.Text       = movie.Genre;
                tbRating.Text      = movie.Rating;
                tbRelease.Text     = movie.Release;
                tbStars.Text       = movie.Stars;
                tbUrl.Text         = movie.Url;
                tbImage.ImageUrl   = movie.Image;
            }
            else
            {
                lbErr.Text = "Error";
            }
        }