hello ..i tried to search for the answer using the search function but all im getting is how to pass data to new created form , my problem is this .
I have a Form where I use to enter Item Details .. Item Details includes a field of "BRAND" , I have created a lookup table form where when the user will try to enter a brand for the item , the lookup table will be showed where the user can select one of the brands ...
Brand frm1 = new Brand()
frm1.Parent = this;
frm1.ShowDialog();
the lookup form has a listbox and a command button , my problem is how to pass back the selectedvalue of the listbox to the Form which called frm1 ???
thanks in advance ..
I have a Form where I use to enter Item Details .. Item Details includes a field of "BRAND" , I have created a lookup table form where when the user will try to enter a brand for the item , the lookup table will be showed where the user can select one of the brands ...
Brand frm1 = new Brand()
frm1.Parent = this;
frm1.ShowDialog();
the lookup form has a listbox and a command button , my problem is how to pass back the selectedvalue of the listbox to the Form which called frm1 ???
thanks in advance ..