Hi Neokil,<o:p></o:p>
You are in the German MSDN Forum, therefore please ask your question in German or use the English site. Maybe a moderator with the needed permission moves the thread to the English
one.<o:p></o:p>
I tried to reproduce your Problem, but my Visual Studio 2013 Ultimate recognize the 2 files automatically as a Form component.
Which Version do you use?<o:p></o:p>
You can try to open the .cs-file with the context menu command 'open with...'. In the appearing window, choose the formular-Editor for C#.<o:p></o:p>
If this does not work, it is possible to edit the .csproj-file manually. If you look at an existing one, the forms are included in this structure:
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
Normal code files use the
Compile-Tag without child-nodes:
<Compile Include="Program.cs" />
If you change the syntax, VS should use the designer automatically.
Tom Lambert - .NET (C#) MVP
Wozu
Antworten markieren und für Beiträge abstimmen? Klicke hier.
Nützliche Links: .NET Quellcode |
C# ↔ VB.NET Konverter |
Account bestätigen (Verify Your Account)
Ich: Webseite |
Code Beispiele | Facebook |
Twitter | Snippets