private SelectSTBLfileFromPackage selectSTBLfileinPackage(bool allowMultiSelection) { SelectSTBLfileFromPackage f = new SelectSTBLfileFromPackage(lrie, imppkg, allowMultiSelection); f.ShowDialog(); return(f); }
private void openedStblFileFromPackageToEditor() { SelectSTBLfileFromPackage f = selectSTBLfileinPackage(false); if (f.selectedSTBLObjects.Count() > 0) { packageElId = BigInteger.Parse(f.selectedSTBLObjects[0].Replace("0x", ""), NumberStyles.AllowHexSpecifier); var el = lrie.Find(x => { return(x.Instance == packageElId); }); res = WrapperDealer.GetResource(0, imppkg, el, true); openedFromSTBL_File = false; ArrayList tempList = ReadAndAnalyzeStream(res.Stream); STBLToDataGridView(tempList); pathOpened = true; } }