public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void txt2_TextChanged(object sender, TextChangedEventArgs e)
{
int num1, num2, num3;
num1 = int.Parse(txt1.Text);
num2 = int.Parse(txt2.Text);
num3 = num1 * num2;
txt3.Text = num3.ToString();
}
}