Form Resize doesn't fire in C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have worked on VB .NEt ,I am new to C#.,I have a form name Form1.cs,when I use the below code for resiz
the below line of doesn't get executed at any point of time.Is the syntax wirte
private void Form1_Resize(object sender, System.EventArgs e

MessageBox("Resize")

thanks for your hel
 
* =?Utf-8?B?R1By?= said:
I have worked on VB .NEt ,I am new to C#.,I have a form name Form1.cs,when I use the below code for resize
the below line of doesn't get executed at any point of time.Is the syntax wirte.
private void Form1_Resize(object sender, System.EventArgs e)
{
MessageBox("Resize");
}

Did you connect the handler to the event? Have a look at the form's
'InitializeComponent' to see how this is done.
 
Back
Top