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); }
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); }
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); }
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); }