Ejemplo n.º 1
0
 private void Button_Click_2(object sender, RoutedEventArgs e)
 {
     metricWindow = new AddMetricWindow {
         Owner = this
     };
     metricWindow.ShowDialog();
 }
Ejemplo n.º 2
0
 private void Button_Click_3(object sender, RoutedEventArgs e)
 {
     metricWindow = new AddMetricWindow {
         Owner = this
     };
     metricWindow.MetricBox.SelectedValue = "Pushups";
     metricWindow.ShowDialog();
 }