H
H?seyin
I have a project (called Project1) which contains a main form (called
mainform1) and several other forms. I would like to use mainform1 of
Project1 in another project (called Project2) as a normal form but not
as a main form. The main form (called mainform2) of Project2 is
different than mainform1. Mainform2 will simply call mainform1 with
ShowDialog.
For this purpose when adding mainform1 to Project2 I deleted the
static main function from mainform1 so it can be compiled. And then I
wrote the code in mainform2 to call mainform1.
When running the application and calling mainform1 from mainform2 I
get System.Resources.MissingManifestResourceException. "Additional
Information: Could not find any resources appropriate for the
specified culture(or the neutral culture)". I think the problem is
related to .resx and .resources files.
Could you please give me any idea about how to add a main form to
another project as a normal form?
Thanks for help.
Huseyin Ozkan.
mainform1) and several other forms. I would like to use mainform1 of
Project1 in another project (called Project2) as a normal form but not
as a main form. The main form (called mainform2) of Project2 is
different than mainform1. Mainform2 will simply call mainform1 with
ShowDialog.
For this purpose when adding mainform1 to Project2 I deleted the
static main function from mainform1 so it can be compiled. And then I
wrote the code in mainform2 to call mainform1.
When running the application and calling mainform1 from mainform2 I
get System.Resources.MissingManifestResourceException. "Additional
Information: Could not find any resources appropriate for the
specified culture(or the neutral culture)". I think the problem is
related to .resx and .resources files.
Could you please give me any idea about how to add a main form to
another project as a normal form?
Thanks for help.
Huseyin Ozkan.