private bool loadFile(string fileName, bool fromConsole = false) { bool result = false; if (this.av == null) { this.av = new UnknownDE(); } UnknownB0 b = new UnknownB0(); this.writeToConsole("Loading: " + fileName); b.a(fileName); if (this.bOne(b)) { UnknownBA ba = b.a(VLTOtherValue.VLTMAGIC) as UnknownBA; string text = ba.sa1[0]; MenuItem menuItem = new MenuItem(text, new EventHandler(this.bFour)); // Setting the Name property allows us to use the convenient Key-based methods on the MenuItems collection. menuItem.Name = text; this.miUnload.MenuItems.Add(menuItem); result = true; } if (fromConsole) { this.tvRefresh(); } return(result); }
private void d() { this.av = new UnknownDE(); foreach (UnknownB0 b in this.au) { this.aTwo(b); } }