using System.Windows;
using System.Windows.Controls;
using MPF.Frontend;
using MPF.Frontend.ViewModels;
using MPF.UI.UserControls;
using SabreTools.RedumpLib.Data;
#pragma warning disable IDE1006 // Naming Styles
namespace MPF.UI.Windows
{
///
/// Interaction logic for DiscInformationWindow.xaml
///
public partial class DiscInformationWindow : WindowBase
{
#if NET35
#region Common Info
private Grid? LanguageSelectionGrid => ItemHelper.FindChild(this, "LanguageSelectionGrid");
#endregion
#region Additional Info
private UserInput? CommentsTextBox => ItemHelper.FindChild(this, "CommentsTextBox");
private UserInput? DiscIDTextBox => ItemHelper.FindChild(this, "DiscIDTextBox");
private UserInput? DiscKeyTextBox => ItemHelper.FindChild(this, "DiscKeyTextBox");
#endregion
#region Contents
private UserInput? ExtrasTextBox => ItemHelper.FindChild(this, "ExtrasTextBox");
private UserInput? GameFootageTextBox => ItemHelper.FindChild(this, "GameFootageTextBox");
private UserInput? GamesTextBox => ItemHelper.FindChild(this, "GamesTextBox");
private UserInput? GeneralContent => ItemHelper.FindChild(this, "GeneralContent");
private UserInput? NetYarozeGamesTextBox => ItemHelper.FindChild(this, "NetYarozeGamesTextBox");
private UserInput? PatchesTextBox => ItemHelper.FindChild(this, "PatchesTextBox");
private UserInput? PlayableDemosTextBox => ItemHelper.FindChild(this, "PlayableDemosTextBox");
private UserInput? RollingDemosTextBox => ItemHelper.FindChild(this, "RollingDemosTextBox");
private UserInput? SavegamesTextBox => ItemHelper.FindChild(this, "SavegamesTextBox");
private UserInput? TechDemosTextBox => ItemHelper.FindChild(this, "TechDemosTextBox");
private UserInput? VideosTextBox => ItemHelper.FindChild(this, "VideosTextBox");
#endregion
#region Ringcodes
private GroupBox? L0Info => ItemHelper.FindChild(this, "L0Info");
private UserInput? L0MasteringRing => ItemHelper.FindChild(this, "L0MasteringRing");
private UserInput? L0MasteringSID => ItemHelper.FindChild(this, "L0MasteringSID");
private UserInput? L0Toolstamp => ItemHelper.FindChild(this, "L0Toolstamp");
private UserInput? L0MouldSID => ItemHelper.FindChild(this, "L0MouldSID");
private UserInput? L0AdditionalMould => ItemHelper.FindChild(this, "L0AdditionalMould");
private GroupBox? L1Info => ItemHelper.FindChild(this, "L1Info");
private UserInput? L1MasteringRing => ItemHelper.FindChild(this, "L1MasteringRing");
private UserInput? L1MasteringSID => ItemHelper.FindChild(this, "L1MasteringSID");
private UserInput? L1Toolstamp => ItemHelper.FindChild(this, "L1Toolstamp");
private UserInput? L1MouldSID => ItemHelper.FindChild(this, "L1MouldSID");
private UserInput? L1AdditionalMould => ItemHelper.FindChild(this, "L1AdditionalMould");
private GroupBox? L2Info => ItemHelper.FindChild(this, "L2Info");
private UserInput? L2MasteringRing => ItemHelper.FindChild(this, "L2MasteringRing");
private UserInput? L2MasteringSID => ItemHelper.FindChild(this, "L2MasteringSID");
private UserInput? L2Toolstamp => ItemHelper.FindChild(this, "L2Toolstamp");
private GroupBox? L3Info => ItemHelper.FindChild(this, "L3Info");
private UserInput? L3MasteringRing => ItemHelper.FindChild(this, "L3MasteringRing");
private UserInput? L3MasteringSID => ItemHelper.FindChild(this, "L3MasteringSID");
private UserInput? L3Toolstamp => ItemHelper.FindChild(this, "L3Toolstamp");
#endregion
#region Read-Only Info
private UserInput? FullyMatchedID => ItemHelper.FindChild(this, "FullyMatchedID");
private UserInput? PartiallyMatchedIDs => ItemHelper.FindChild(this, "PartiallyMatchedIDs");
private UserInput? HashData => ItemHelper.FindChild(this, "HashData");
private UserInput? HashDataSize => ItemHelper.FindChild(this, "HashDataSize");
private UserInput? HashDataCRC => ItemHelper.FindChild(this, "HashDataCRC");
private UserInput? HashDataMD5 => ItemHelper.FindChild(this, "HashDataMD5");
private UserInput? HashDataSHA1 => ItemHelper.FindChild(this, "HashDataSHA1");
private UserInput? HashDataLayerbreak1 => ItemHelper.FindChild(this, "HashDataLayerbreak1");
private UserInput? HashDataLayerbreak2 => ItemHelper.FindChild(this, "HashDataLayerbreak2");
private UserInput? HashDataLayerbreak3 => ItemHelper.FindChild(this, "HashDataLayerbreak3");
private UserInput? AntiModchip => ItemHelper.FindChild(this, "AntiModchip");
private UserInput? DiscOffset => ItemHelper.FindChild(this, "DiscOffset");
private UserInput? DMIHash => ItemHelper.FindChild(this, "DMIHash");
private UserInput? EDC => ItemHelper.FindChild(this, "EDC");
private UserInput? ErrorsCount => ItemHelper.FindChild(this, "ErrorsCount");
private UserInput? EXEDateBuildDate => ItemHelper.FindChild(this, "EXEDateBuildDate");
private UserInput? Filename => ItemHelper.FindChild(this, "Filename");
private UserInput? Header => ItemHelper.FindChild(this, "Header");
private UserInput? InternalName => ItemHelper.FindChild(this, "InternalName");
private UserInput? InternalSerialName => ItemHelper.FindChild(this, "InternalSerialName");
private UserInput? Multisession => ItemHelper.FindChild(this, "Multisession");
private UserInput? LibCrypt => ItemHelper.FindChild(this, "LibCrypt");
private UserInput? LibCryptData => ItemHelper.FindChild(this, "LibCryptData");
private UserInput? PFIHash => ItemHelper.FindChild(this, "PFIHash");
private UserInput? PIC => ItemHelper.FindChild(this, "PIC");
private UserInput? PVD => ItemHelper.FindChild(this, "PVD");
private UserInput? RingNonZeroDataStart => ItemHelper.FindChild(this, "RingNonZeroDataStart");
private UserInput? SecuROMData => ItemHelper.FindChild(this, "SecuROMData");
private UserInput? SSHash => ItemHelper.FindChild(this, "SSHash");
private UserInput? SecuritySectorRanges => ItemHelper.FindChild(this, "SecuritySectorRanges");
private UserInput? SSVersion => ItemHelper.FindChild(this, "SSVersion");
private UserInput? UniversalHash => ItemHelper.FindChild(this, "UniversalHash");
private UserInput? VolumeLabel => ItemHelper.FindChild(this, "VolumeLabel");
private UserInput? XeMID => ItemHelper.FindChild(this, "XeMID");
private UserInput? XMID => ItemHelper.FindChild(this, "XMID");
#endregion
#region Accept / Cancel
private Button? AcceptButton => ItemHelper.FindChild