private void UpdateDetails(CalendarNode calendarNode) { var cal = mScheduler.GetCalendar(calendarNode.Name); var ctrl = new TextBox { Dock = DockStyle.Fill, ReadOnly = true, Text = cal.Description }; pnlDetails.Controls.Clear(); pnlDetails.Controls.Add(ctrl); }