private void SetCredentials()
{
username = txtfromEmail.Text;
password = txtpassword.Text;
pictureLogin.Source = @"C:\Users\Sergio\Documents\Visual Studio 2008\Projects\emailwpf\emailwpf\ok.png";
}
I get an error: "Cannot convert string to ImageSource".
What can I do?