Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi, i have a wpf user control wich allow me to show print window . how can i show wpf user control when i click on button in another window??
Place it in a window and display it on button click.
private void myButton_Click(object sender, EventArgs e) { Window myWindow = new Window { Content = new myUserControl() }; window.ShowDialog(); }