J
Jaydeep
Hi,
I am getting this error when I wrote MessageBox.Show("message") in my
Form_Load event.
'System.NullReferenceException' occurred in system.windows.forms.dll'
I am developing windows based C# application
My solution structure is like this.
1. Test Application(TestApp) Startup project
References MyComponent.dll
TestForm-->has--> ShowForm button-->onClick--> calls method ShowForm
2. Class Library Application(MyComponent.dll)
Form1 -->implements interface-->IMyInterface
IMyInterface-->exposes method-->ShowForm--has code-->this.Show()
So when I clicked on Show Form button on Test Application, I am getting the
above error...
Can anybody help me in this regard ?
TIA
Jaydeep
I am getting this error when I wrote MessageBox.Show("message") in my
Form_Load event.
'System.NullReferenceException' occurred in system.windows.forms.dll'
I am developing windows based C# application
My solution structure is like this.
1. Test Application(TestApp) Startup project
References MyComponent.dll
TestForm-->has--> ShowForm button-->onClick--> calls method ShowForm
2. Class Library Application(MyComponent.dll)
Form1 -->implements interface-->IMyInterface
IMyInterface-->exposes method-->ShowForm--has code-->this.Show()
So when I clicked on Show Form button on Test Application, I am getting the
above error...
Can anybody help me in this regard ?
TIA
Jaydeep