private void btn1_Click(object sender, RoutedEventArgs e) { ControlInfo ci = new ControlInfo(); ci.ShowDialog(); }