Smrf.NodeXL.ExcelTemplate.AutomatedGraphImageUserSettingsDialog.AutomatedGraphImageUserSettingsDialog C# (CSharp) Method

AutomatedGraphImageUserSettingsDialog() public method

Initializes a new instance of the class.
public AutomatedGraphImageUserSettingsDialog ( AutomatedGraphImageUserSettings automatedGraphImageUserSettingsUserSettings ) : System
automatedGraphImageUserSettingsUserSettings AutomatedGraphImageUserSettings /// The object being edited. ///
return System
    public AutomatedGraphImageUserSettingsDialog
    (
        AutomatedGraphImageUserSettings
            automatedGraphImageUserSettingsUserSettings
    )
    {
        Debug.Assert(automatedGraphImageUserSettingsUserSettings != null);
        automatedGraphImageUserSettingsUserSettings.AssertValid();

        m_oAutomatedGraphImageUserSettings =
            automatedGraphImageUserSettingsUserSettings;

        // Instantiate an object that saves and retrieves the position of this
        // dialog.  Note that the object automatically saves the settings when
        // the form closes.

        m_oAutomatedGraphImageUserSettingsDialogUserSettings =
            new AutomatedGraphImageUserSettingsDialogUserSettings(this);

        m_oHeaderFooterFont =
            m_oAutomatedGraphImageUserSettings.HeaderFooterFont;

        InitializeComponent();
        DoDataExchange(false);

        AssertValid();
    }