Hi
Can anyone help modifiying the parent form title from a button click on the child form.
The child form creates a record in a database and returns an ID number. I wish to update the parent forms title to include the ID.
Thanks
simple in the end...
this.ParentForm.Text = "EE";
Bikesh SrivastavaPosted Jul 21, 2016, 7:17 AM
ou are creating another 'parent' window (which is not visible) and changing its text. The 'real' parent needs to be accessed by the child. You could do this via a property on the child that is set in the parents button1_click.
e.g.
in child class