Пример #1
0
        //*************************************************************************
        //  Constructor: OpenUcinetFileDialog()
        //
        /// <summary>
        /// Initializes a new instance of the <see cref="OpenUcinetFileDialog" />
        /// class.
        /// </summary>
        //*************************************************************************

        public OpenUcinetFileDialog()
        {
            InitializeComponent();

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

            m_oOpenUcinetFileDialogUserSettings =
                new OpenUcinetFileDialogUserSettings(this);

            m_oOpenFileDialog = null;
            m_oGraph          = null;

            lnkHelp.Tag = FormatMessage;

            DoDataExchange(false);

            AssertValid();
        }
    //*************************************************************************
    //  Constructor: OpenUcinetFileDialog()
    //
    /// <summary>
    /// Initializes a new instance of the <see cref="OpenUcinetFileDialog" />
    /// class.
    /// </summary>
    //*************************************************************************

    public OpenUcinetFileDialog()
    {
        InitializeComponent();

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

        m_oOpenUcinetFileDialogUserSettings =
            new OpenUcinetFileDialogUserSettings(this);

        m_oOpenFileDialog = null;
        m_oGraph = null;

        lnkHelp.Tag = FormatMessage;

        DoDataExchange(false);

        AssertValid();
    }