Пример #1
0
        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();
        }