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

public Form1()
        {
            InitializeComponent();
            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

Recommended Answers

All 4 Replies

i need help pls~!!

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

its not do enything

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.