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);
}