Bloom.CollectionTab.HistoryAndNotesDialog.HistoryAndNotesDialog C# (CSharp) Method

HistoryAndNotesDialog() public method

public HistoryAndNotesDialog ( Chorus.ChorusSystem chorusSystem ) : System.Windows.Forms
chorusSystem Chorus.ChorusSystem
return System.Windows.Forms
        public HistoryAndNotesDialog(ChorusSystem chorusSystem)
        {
            InitializeComponent();

            #if notes
            var notes = chorusSystem.WinForms.CreateNotesBrowser();
            notes.Dock = DockStyle.Fill;
            _notesPage.Controls.Add(notes);
            #else
            tabControl1.Controls.Remove(_notesPage);
            #endif
            var history = chorusSystem.WinForms.CreateHistoryPage();
            history.Dock = DockStyle.Fill;
            _historyPage.Controls.Add(history);
        }