Wait till user click C# WPF
问题 The bounty expires in 7 days . Answers to this question are eligible for a +100 reputation bounty. Vahid wants to reward an existing answer . I want when the user clicks the Button , the program to wait for the user to click on the Window and would not proceed to the next line of code unless a Point is acquired by clicking on the Window . and then if it is acquired the next line will be processed and the Point will be displayed. <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas