private void btnAdd_Click(object sender, RoutedEventArgs e) { TimerItem timerForm = new TimerItem(m_items); timerForm.Show(); Imported.ItemsSource = m_items; this.UpdateLayout(); }