public static Gibbed.ProjectData.HashList <uint> LoadListsColumnNames( this Gibbed.ProjectData.Manager manager) { return(manager.LoadLists( "*.columnlist", s => s.HashCRC32(), s => s.ToLowerInvariant())); }
public static Gibbed.ProjectData.HashList <ulong> LoadListsFileNames( this Gibbed.ProjectData.Manager manager) { return(manager.LoadLists( "*.filelist", s => s.HashFNV64(), s => s.ToLowerInvariant())); }
public static Gibbed.ProjectData.HashList <uint> LoadListsTypeNames( this Gibbed.ProjectData.Manager manager) { return(manager.LoadLists( "*.typelist", s => s.HashFNV32(), s => s.ToLowerInvariant())); }
private void LoadProject() { try { this.Manager = Gibbed.ProjectData.Manager.Load(); this.projectComboBox.Items.AddRange(this.Manager.ToArray()); this.SetProject(this.Manager.ActiveProject); } catch (Exception e) { MessageBox.Show( "There was an error while loading project data." + Environment.NewLine + Environment.NewLine + e.ToString() + Environment.NewLine + Environment.NewLine + "(You can press Ctrl+C to copy the contents of this dialog)", "Critical Error", MessageBoxButtons.OK, MessageBoxIcon.Error); this.Close(); } }