I have Two WPF window Window1.xaml and window2.xaml. In window2.xaml.cs i have one function which does some complex calculation and display intermediate resuls on a TextBlock.
Now What i want. by clicking on button of Window1.xaml i want to open Window2.xaml as a dialog box and want to execute complex function of windows2.xaml.
如果在温得和2.xaml负荷活动上称为复杂纽子,那么在执行复杂职能后会分 di盒。
如何做到这一点。