Ejemplo n.º 1
0
        public void LoadSection(FileFormats.DRM.Section section)
        {
            var texture = new FileFormats.PCD9File();
            texture.Deserialize(section.Data);

            this.hintLabel.Text = string.Format(
                "{0} : {1}x{2}",
                texture.Format,
                texture.Width, texture.Height);
            //this.Text += ": " + entry.Description;

            this.Texture = texture;

            this.UpdatePreview(true);
        }
Ejemplo n.º 2
0
        public void LoadSection(FileFormats.DRM.Section section)
        {
            var texture = new FileFormats.PCD9File();

            texture.Deserialize(section.Data);

            this.hintLabel.Text = string.Format(
                "{0} : {1}x{2}",
                texture.Format,
                texture.Width, texture.Height);
            //this.Text += ": " + entry.Description;

            this.Texture = texture;

            this.UpdatePreview(true);
        }
Ejemplo n.º 3
0
        public void LoadSection(FileFormats.DRM.Section section)
        {
            var texture = new FileFormats.PCD9File();
            texture.Deserialize(section.Data);

            this.hintLabel.Text = string.Format(
                "{0} : {1}x{2} | Filesize: {3} Bytes",
                texture.Format,
                texture.Width, texture.Height,
                section.Data.Length);
            this.Text += string.Format(": {0:X8}", section.Id);

            this.Texture = texture;
            this.Section = section;

            this.UpdatePreview(true);
        }
Ejemplo n.º 4
0
        public void LoadSection(FileFormats.DRM.Section section)
        {
            var texture = new FileFormats.PCD9File();

            texture.Deserialize(section.Data);

            this.hintLabel.Text = string.Format(
                "{0} : {1}x{2} | Filesize: {3} Bytes",
                texture.Format,
                texture.Width, texture.Height,
                section.Data.Length);
            this.Text += string.Format(": {0:X8}", section.Id);

            this.Texture = texture;
            this.Section = section;

            this.UpdatePreview(true);
        }