private void textBoxID_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Return)
     {
         textBoxID.Text = textBoxID.Text.Trim();
         FindGood findGoodWindow = new FindGood();
         findGoodWindow.Owner = this;
         findGoodWindow.GetGoodById(textBoxID.Text);
         findGoodWindow.Show();
         findGoodWindow.button1.Focus();
     }
 }
 private void buttonFindGood_Click(object sender, RoutedEventArgs e)
 {
     //Найдем товар
     textBox4.Focus();
     FindGood findGoodWindow = new FindGood();
     findGoodWindow.Owner = this;
     findGoodWindow.Show();
 }