I am showing the windows form inside a panel named panel1 using the below code
directionform dr = new directionform();
dr.TopLevel = false;
my requirement is that there is also a panel name panel4 inside the panel1 and inside panel 4 there is a label name label 1 . I want to first set the value of the label1 whenever the directionform loads inside the panel4 and when it shows , i want to access the value and use it further in my mode.