I want to open a Text box on this button click (create it in runtime, when user clicks the button), and store a string.
private void button5_Click(object sender, RoutedEventArgs e)
{
TextBox dynamicTextBox = new TextBox();
dynamicTextBox.Text = "Type Partnumber";
}