M
Miks
Hi Friends,
I'm new to Windows forms learning it.
In VS2005 Windows Apps the code is
public Form1()
{
InitializeComponent();
Test();
}
I just pasted code to write InitializeComponent() as
private void InitializeComponent()
{
this.btnProcess = new System.Windows.Forms.Button();
this.btnClose = new System.Windows.Forms.Button();
}
I'm getting error
Error 1 Type 'WindowsApplication1.Form1' already defines a member
called 'InitializeComponent' with the same parameter types C:\Documents
and Settings\sivarama\My Documents\Visual Studio
2005\Projects\WindowsApplication1\WindowsApplication1\Form1.cs 16 21 WindowsApplication1
Pls help
I'm new to Windows forms learning it.
In VS2005 Windows Apps the code is
public Form1()
{
InitializeComponent();
Test();
}
I just pasted code to write InitializeComponent() as
private void InitializeComponent()
{
this.btnProcess = new System.Windows.Forms.Button();
this.btnClose = new System.Windows.Forms.Button();
}
I'm getting error
Error 1 Type 'WindowsApplication1.Form1' already defines a member
called 'InitializeComponent' with the same parameter types C:\Documents
and Settings\sivarama\My Documents\Visual Studio
2005\Projects\WindowsApplication1\WindowsApplication1\Form1.cs 16 21 WindowsApplication1
Pls help