private void buttonDelete_Click(object sender, EventArgs e) { apiControlForm2 delete = new apiControlForm2(); delete.deleteImage(textBoxPath2.Text); label6.Text = "Photo Deleted !"; }
void InterfaceImages.deleteImage(string Path) { api2.deleteImage(Path); }