i did this beacuse i want that when i will make the window bigger he will grow as it shuld be:

public Form1()
            new Form1(ref webBrowser3, new Size(50, 50));

        private void Form1_Resize(object sender, EventArgs e)
           UpdatewebBrowser3(new Size(256 + (this.Width - this.MinimumSize.Width), 256 + (this.Height - this.MinimumSize.Height)));

some one can tell me whats wrong with it?? cus its not working

Is the event not doing as you expect or is it not firing?

That still doesnt really help. Have you put a breakpoint at the start of the event handler. Does the event handler execute when the form is resized?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.