From f91402ef4b15894519180a3381385315da026bfd Mon Sep 17 00:00:00 2001 From: antiduh Date: Thu, 26 Jun 2014 20:59:32 +0000 Subject: [PATCH] Renamed the client and server forms to have their role in the name. --- ...orm1.Designer.cs => ClientForm.Designer.cs} | 2 +- TestClient/{Form1.cs => ClientForm.cs} | 4 ++-- TestClient/{Form1.resx => ClientForm.resx} | 0 TestClient/Program.cs | 2 +- TestClient/TestClient.csproj | 10 +++++----- TestServer/Program.cs | 2 +- ...orm1.Designer.cs => ServerForm.Designer.cs} | 2 +- TestServer/{Form1.cs => ServerForm.cs} | 4 ++-- TestServer/{Form1.resx => ServerForm.resx} | 0 TestServer/TestServer.csproj | 18 +++++++++--------- 10 files changed, 22 insertions(+), 22 deletions(-) rename TestClient/{Form1.Designer.cs => ClientForm.Designer.cs} (97%) rename TestClient/{Form1.cs => ClientForm.cs} (95%) rename TestClient/{Form1.resx => ClientForm.resx} (100%) rename TestServer/{Form1.Designer.cs => ServerForm.Designer.cs} (97%) rename TestServer/{Form1.cs => ServerForm.cs} (95%) rename TestServer/{Form1.resx => ServerForm.resx} (100%) diff --git a/TestClient/Form1.Designer.cs b/TestClient/ClientForm.Designer.cs similarity index 97% rename from TestClient/Form1.Designer.cs rename to TestClient/ClientForm.Designer.cs index 5648f8d..3e462cc 100644 --- a/TestClient/Form1.Designer.cs +++ b/TestClient/ClientForm.Designer.cs @@ -1,6 +1,6 @@ namespace TestClient { - partial class Form1 + partial class ClientForm { /// /// Required designer variable. diff --git a/TestClient/Form1.cs b/TestClient/ClientForm.cs similarity index 95% rename from TestClient/Form1.cs rename to TestClient/ClientForm.cs index d93486a..4d7c021 100644 --- a/TestClient/Form1.cs +++ b/TestClient/ClientForm.cs @@ -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; diff --git a/TestClient/Form1.resx b/TestClient/ClientForm.resx similarity index 100% rename from TestClient/Form1.resx rename to TestClient/ClientForm.resx diff --git a/TestClient/Program.cs b/TestClient/Program.cs index 3990eb0..f442f12 100644 --- a/TestClient/Program.cs +++ b/TestClient/Program.cs @@ -16,7 +16,7 @@ namespace TestClient { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault( false ); - Application.Run( new Form1() ); + Application.Run( new ClientForm() ); } } } diff --git a/TestClient/TestClient.csproj b/TestClient/TestClient.csproj index 94b038d..3c69eaf 100644 --- a/TestClient/TestClient.csproj +++ b/TestClient/TestClient.csproj @@ -44,18 +44,18 @@ - + Form - - Form1.cs + + ClientForm.cs Code - - Form1.cs + + ClientForm.cs ResXFileCodeGenerator diff --git a/TestServer/Program.cs b/TestServer/Program.cs index efafb34..95339bf 100644 --- a/TestServer/Program.cs +++ b/TestServer/Program.cs @@ -16,7 +16,7 @@ namespace TestServer { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault( false ); - Application.Run( new Form1() ); + Application.Run( new ServerForm() ); } } } diff --git a/TestServer/Form1.Designer.cs b/TestServer/ServerForm.Designer.cs similarity index 97% rename from TestServer/Form1.Designer.cs rename to TestServer/ServerForm.Designer.cs index 98759ee..739f608 100644 --- a/TestServer/Form1.Designer.cs +++ b/TestServer/ServerForm.Designer.cs @@ -1,6 +1,6 @@ namespace TestServer { - partial class Form1 + partial class ServerForm { /// /// Required designer variable. diff --git a/TestServer/Form1.cs b/TestServer/ServerForm.cs similarity index 95% rename from TestServer/Form1.cs rename to TestServer/ServerForm.cs index 6f8dee4..0213fa6 100644 --- a/TestServer/Form1.cs +++ b/TestServer/ServerForm.cs @@ -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(); diff --git a/TestServer/Form1.resx b/TestServer/ServerForm.resx similarity index 100% rename from TestServer/Form1.resx rename to TestServer/ServerForm.resx diff --git a/TestServer/TestServer.csproj b/TestServer/TestServer.csproj index ac5f941..bd1ba83 100644 --- a/TestServer/TestServer.csproj +++ b/TestServer/TestServer.csproj @@ -44,17 +44,14 @@ - - Form - - - Form1.cs - - - Form1.cs - + + Form + + + ServerForm.cs + ResXFileCodeGenerator Resources.Designer.cs @@ -64,6 +61,9 @@ True Resources.resx + + ServerForm.cs + SettingsSingleFileGenerator Settings.Designer.cs