c# - Launching Petrel import dialog -



c# - Launching Petrel import dialog -

i'm new ocean , c#. can kindly show me code required launch petrel import dialog using showimportdialog() method when button clicked? have gone through ocean manuals can't seem right.

the next sample ocean dev guide opens import log dialog when user selects in input tree. reply question?

private static void launchimportdialog(object sender, eventargs a) { string[] files; object[] objs; fileformat format = petrelsystem.fileformats.wellknownfileformats.welllog; ienumerable<borehole> wells = petrelproject.inputs.getselected<borehole>(); foreach (borehole in wells) { petrelsystem.fileformats.showimportdialog(format, "d:\\well logs\\", well, out files, out objs); } }

c# import dialog ocean petrel

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -