Renamed the client and server forms to have their role in the name.

This commit is contained in:
antiduh
2014-06-26 20:59:32 +00:00
parent 8b032cb871
commit f91402ef4b
10 changed files with 22 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
namespace TestClient
{
partial class Form1
partial class ClientForm
{
/// <summary>
/// Required designer variable.

View File

@@ -17,7 +17,7 @@ namespace TestClient
{
using Message = TestProtocol.Message;
public partial class Form1 : Form
public partial class ClientForm : Form
{
private ClientContext context;
private ClientCredential cred;
@@ -30,7 +30,7 @@ namespace TestClient
private byte[] lastServerToken;
public Form1()
public ClientForm()
{
this.connected = false;
this.initializing = false;

View File

@@ -16,7 +16,7 @@ namespace TestClient
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault( false );
Application.Run( new Form1() );
Application.Run( new ClientForm() );
}
}
}

View File

@@ -44,18 +44,18 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<Compile Include="ClientForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
<Compile Include="ClientForm.Designer.cs">
<DependentUpon>ClientForm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
<EmbeddedResource Include="ClientForm.resx">
<DependentUpon>ClientForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>

View File

@@ -16,7 +16,7 @@ namespace TestServer
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault( false );
Application.Run( new Form1() );
Application.Run( new ServerForm() );
}
}
}

View File

@@ -1,6 +1,6 @@
namespace TestServer
{
partial class Form1
partial class ServerForm
{
/// <summary>
/// Required designer variable.

View File

@@ -16,7 +16,7 @@ namespace TestServer
using NSspi.Credentials;
using Message = TestProtocol.Message;
public partial class Form1 : Form
public partial class ServerForm : Form
{
private ServerCredential serverCred;
@@ -30,7 +30,7 @@ namespace TestServer
private bool connected;
public Form1()
public ServerForm()
{
InitializeComponent();

View File

@@ -44,17 +44,14 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<Compile Include="ServerForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ServerForm.Designer.cs">
<DependentUpon>ServerForm.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
@@ -64,6 +61,9 @@
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<EmbeddedResource Include="ServerForm.resx">
<DependentUpon>ServerForm.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>