here is the solution of your problem
private void button1_Click(object sender, EventArgs e)
{
if (btnChoosePhoto.Text == "Fotoğraf Seç")
{
openFileDialogPhoto.Title = "Lütfen Fotoğraf Seçiniz";
openFileDialogPhoto.Filter = " (*.jpg)|*.jpg|(*.png)|*.png";
DialogResult res = openFileDialogPhoto.ShowDialog();
if (res == DialogResult.OK)
{
pictureBox1.Image = Image.FromFile(openFileDialogPhoto.FileName);
string[] sss = openFileDialogPhoto.FileName.Split('\\');
string s = sss[sss.Length - 1];
label1.Text = s;
pictureBox1.Image.Save(Environment.CurrentDirectory + "\\Image\\" + s, ImageFormat.Jpeg);
string ss = Environment.CurrentDirectory + "\\Image\\" + s;
label7.Text = ss;
btnChoosePhoto.Text = "Yukle";
}
}
}