private void Button_Click(object sender, RoutedEventArgs e) { var app = new Component.Application(); app.Start(); }