private void Add_Item_Click(object sender, RoutedEventArgs e) { var add = new AddItem(); add.ShowDialog(); }