Return value from childform


Author
Message
kkchan
kkchan
StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)StrataFrame Novice (96 reputation)
Group: Forum Members
Posts: 48, Visits: 97
Hi,

How could I return value from childform?



I have code as below. But, .NET unable to detect my property RegionID defined in my child form.





private void lnkRegion_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

{

if (this.childFormDialog.ShowDialog() == DialogResult.OK)

{

this.cboRegion.Requery();

//this.cboRegion.SelectedValue = this.childFormDialog.childForm.RegionID;

}



}




Thank you
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search