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 namespace TestClient
{ {
partial class Form1 partial class ClientForm
{ {
/// <summary> /// <summary>
/// Required designer variable. /// Required designer variable.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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