Exemplo n.º 1
0
		public MainWindow()
		{
			InitializeComponent();

			this.currentApp = ((App)Application.Current);
			// Export print menu via MEF so that all views can subscribe to click event.
			((App)Application.Current).Container.ComposeExportedValue<MenuItem>("PrintMenuItem", this.PrintMenuItem);
		}
Exemplo n.º 2
0
 public static void Main()
 {
     WpfApplication19.App app = new WpfApplication19.App();
     app.InitializeComponent();
     app.Run();
 }