public FilteredTopicsViewerForm(HelpComponents helpComponents) { InitializeComponent(); _helpComponents = helpComponents; _initialWindowTitle = this.Text; _topicCompilerSettings = new TextEditFormTopicCompilerSettings(); }
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(); }
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(); }