예제 #1
0
        private SelectSTBLfileFromPackage selectSTBLfileinPackage(bool allowMultiSelection)
        {
            SelectSTBLfileFromPackage f = new SelectSTBLfileFromPackage(lrie, imppkg, allowMultiSelection);

            f.ShowDialog();

            return(f);
        }
예제 #2
0
        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;
            }
        }