I have the following code in C# WPF and when I choose no image it shows me the error message "System.ArgumentNullException: Pathe can\'t be null"