private void btnAddSub_Click(object sender, RoutedEventArgs e) { AddSubArea addSub = new AddSubArea(this, lstSubArea); addSub.ShowDialog(); }