Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////Proses simpan gambar
- //if (pb5.Image != null )
- //{
- // pb5.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- // pb4.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- // pb3.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- // pb2.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- // pb1.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- //}
- //else if (pb5.Image == null)
- //{
- // pb4.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- // pb3.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- // pb2.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- // pb1.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- //}
- //else if (pb4.Image == null)
- //{
- // pb3.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- // pb2.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- // pb1.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- //}
- //else if (pb3.Image == null)
- //{
- // pb2.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- // pb1.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- //}
- //else if (pb2.Image == null)
- //{
- // pb1.Image.Save(Application.StartupPath + "/TrainedFaces/" + facename);
- //}
- //else
- if (pb1.Image == null)
- {
- MessageBox.Show("belum ada gambar");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement