public FilteredTopicsViewerForm(HelpComponents helpComponents)
        {
            InitializeComponent();

            _helpComponents        = helpComponents;
            _initialWindowTitle    = this.Text;
            _topicCompilerSettings = new TextEditFormTopicCompilerSettings();
        }
示例#2
0
        public TextEditForm(TextEditableInterface textEditableInterface,HelpComponents helpComponents)
        {
            InitializeComponent();

            _textEditableInterface = textEditableInterface;
            _helpComponents = helpComponents;
            _filename = textEditableInterface.Filename;

            _modified = false;
            _baseWindowTitle = this.Text;
            UpdateWindowTitle();

            editControl.SetTextModifiedHandler(this);

            linkLabelFilename.Text = _filename;

            if( _textEditableInterface is Topic )
                _topicCompilerSettings = new TextEditFormTopicCompilerSettings();

            LoadFile();
        }
示例#3
0
        public TextEditForm(TextEditableInterface textEditableInterface, HelpComponents helpComponents)
        {
            InitializeComponent();

            _textEditableInterface = textEditableInterface;
            _helpComponents        = helpComponents;
            _filename = textEditableInterface.Filename;

            _modified        = false;
            _baseWindowTitle = this.Text;
            UpdateWindowTitle();

            editControl.SetTextModifiedHandler(this);

            linkLabelFilename.Text = _filename;

            if (_textEditableInterface is Topic)
            {
                _topicCompilerSettings = new TextEditFormTopicCompilerSettings();
            }

            LoadFile();
        }