ShowDialogAndOpenPajekFile
(
out IGraph graph
)
{
AssertValid();
// Let the base class do most of the work. ShowDialogAndOpenObject()
// calls OpenObject(), which will open the file and create a graph
// object from it.
Object oObject;
DialogResult oDialogResult = ShowDialogAndOpenObject(out oObject);
Debug.Assert(oObject == null || oObject is IGraph);
graph = (IGraph)oObject;
return (oDialogResult);
}