14
Answers

how can i locate a webbrowser control

david seinfeild

david seinfeild

11y
1.3k
1
im using this code here

to find a webbroswer newly created
but it wont find any of my broswer
not even my static one called
webbroswer1

on the other end it will find any other control
and dispose of it properly

how can i find a webbroswer by its name and remove it

heres my code

                foreach (var c in this.Controls)                {                    if (c is Control)                    {                        var x = (Control)c;                        if (x.Name == dispose)                        {
                            MessageBox.Show("this works");
                            x.Dispose();                            break;                        }
                        else                        {                         bobby, this doesnt work );                            break;                        }

                    }                }
Answers (14)
0
x _sanctus
NA 10 0 17y
yes i mean the point is dragged with a mouse. thanks for the fast reply.
0
Mike Gold
NA 32k 21.3m 17y
Check out ZedGraph.  Not sure what you mean by interactively moved.  Do you mean the point is dragged with a mouse?

-Mike
Next Recommended Forum