private void btnEdit_Click(object sender, EventArgs e) { apiControlForm2 edit = new apiControlForm2(); //edit.UpdateImage2(textBoxPlace2.Text); edit.UpdateImage1(textBoxName2.Text, textBoxPath2.Text, textBoxAbout2.Text, textBoxPlace2.Text, textBoxPeople2.Text); labelSaved.Text = "Saved !!!"; }
void InterfaceImages.UpdateImage1(string Name, string Path, string About, string Place, string People) { //apiControlForm2 api = new apiControlForm2(); api2.UpdateImage1(Name, Path, About, Place, People); }