using System.Linq; using System.Windows; using System.Windows.Controls; using MPF.Core.Data; using MPF.Core.UI.ViewModels; using MPF.Core.Utilities; using MPF.UI.Core.UserControls; using SabreTools.RedumpLib.Data; #pragma warning disable IDE1006 // Naming Styles namespace MPF.UI.Core.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