C# Class Smrf.NodeXL.GraphDataProviders.PartialNetworkDialog

Asks the user whether he wants to import the partial network that was obtained.
When a PartialNetworkException is thrown, show this dialog. The dialog asks the user whether he wants to import the partial network that was obtained. If he does, Form.ShowDialog() returns DialogResult.Yes. Otherwise, it returns DialogResult.No.
Inheritance: Smrf.AppLib.FormPlus
Show file Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_oPartialNetworkException PartialNetworkException
m_sLastUnexpectedExceptionMessage String

Public Methods

Method Description
AssertValid ( ) : void
PartialNetworkDialog ( ) : System

Initializes a new instance of the class for the Visual Studio designer.

Do not use this constructor. It is for use by the Visual Studio designer only.

PartialNetworkDialog ( PartialNetworkException partialNetworkException, String lastUnexpectedExceptionMessage ) : System

Initializes a new instance of the class with a .

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

lnkDetails_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

PartialNetworkDialog() public method

Initializes a new instance of the class for the Visual Studio designer.
Do not use this constructor. It is for use by the Visual Studio designer only.
public PartialNetworkDialog ( ) : System
return System

PartialNetworkDialog() public method

Initializes a new instance of the class with a .
public PartialNetworkDialog ( PartialNetworkException partialNetworkException, String lastUnexpectedExceptionMessage ) : System
partialNetworkException PartialNetworkException /// The that was thrown. ///
lastUnexpectedExceptionMessage String /// The most recent unexpected exception (after retries) that occurred /// while getting the network, converted to a message. ///
return System

Property Details

m_oPartialNetworkException protected property

protected PartialNetworkException,Smrf.NodeXL.GraphDataProviders m_oPartialNetworkException
return PartialNetworkException

m_sLastUnexpectedExceptionMessage protected property

protected String m_sLastUnexpectedExceptionMessage
return String