Esempio n. 1
0
        void UpdateInfo()
        {
            string path = binding.GetAbsolutePath();

            if (System.IO.File.Exists(path))
            {
                image = Images.Load(Manager.Native, path);
            }
            else
            {
                image = null;
            }
        }
Esempio n. 2
0
        void UpdateInfo()
        {
            string path = binding.GetAbsolutePath();

            if (System.IO.File.Exists(path))
            {
                image    = Images.Load(Manager.Native, path);
                infoText = "" + image.GetWidth() + "x" + image.GetHeight();
            }
            else
            {
                image    = null;
                infoText = "";
            }
        }
Esempio n. 3
0
        void UpdateInfo()
        {
            string path = binding.GetAbsolutePath();

            if (System.IO.File.Exists(path))
            {
                thumbnail = ThumbnailManager.Load(path);
                if (thumbnail == null)
                {
                    infoText = "";
                    return;
                }

                var image = thumbnail.Image;
                infoText = "" + image.GetWidth() + "x" + image.GetHeight();
            }
            else
            {
                thumbnail = null;
                infoText  = "";
            }
        }
Esempio n. 4
0
        void UpdateInfo()
        {
            string path = binding.GetAbsolutePath();

            image = Images.Load(Manager.Native, path);
        }