private void DiastolicBloodPressure_GotFocus(object sender, RoutedEventArgs e)
 {
     NumberPad pad = new NumberPad();
     pad.DisplayText = this.ViewModel.DiastolicBloodPressureText;
     pad.NumberPadPressed += new NumberPadPressedEventHandler(DiastolicBloodPressure_NumberPadPressed);
     pad.NumberPadClosed += new NumberPadClosedEventHandler(pad_NumberPadClosed);
     pad.ShowDialog();
 }
 private void TextBox_GotFocus(object sender, RoutedEventArgs e)
 {
     NumberPad pad = new NumberPad();
     pad.DisplayText = this.ViewModel.WeightText;
     pad.NumberPadPressed += new NumberPadPressedEventHandler(pad_NumberPadPressed);
     pad.NumberPadClosed += new NumberPadClosedEventHandler(pad_NumberPadClosed);
     pad.ShowDialog();
 }