private void btAddProduct_Click(object sender, RoutedEventArgs e) { ListSelectProduct search = new ListSelectProduct(_client.Id); search._new = true; search.ShowDialog(); if (search._new) { UpdateRequestedProductList(); } }