From 691052c718a6f62296f2c812f301bdd44a48ba95 Mon Sep 17 00:00:00 2001 From: Owner Date: Fri, 22 Sep 2023 00:58:49 -0500 Subject: [PATCH] Add project files. --- num-converter.sln | 25 +++++ num-converter/Properties/AssemblyInfo.cs | 35 ++++++ num-converter/Web.Debug.config | 30 ++++++ num-converter/Web.Release.config | 31 ++++++ num-converter/Web.config | 17 +++ num-converter/WebForm1.aspx | 78 ++++++++++++++ num-converter/WebForm1.aspx.cs | 31 ++++++ num-converter/WebForm1.aspx.designer.cs | 89 ++++++++++++++++ num-converter/num-converter.csproj | 130 +++++++++++++++++++++++ num-converter/packages.config | 4 + 10 files changed, 470 insertions(+) create mode 100644 num-converter.sln create mode 100644 num-converter/Properties/AssemblyInfo.cs create mode 100644 num-converter/Web.Debug.config create mode 100644 num-converter/Web.Release.config create mode 100644 num-converter/Web.config create mode 100644 num-converter/WebForm1.aspx create mode 100644 num-converter/WebForm1.aspx.cs create mode 100644 num-converter/WebForm1.aspx.designer.cs create mode 100644 num-converter/num-converter.csproj create mode 100644 num-converter/packages.config diff --git a/num-converter.sln b/num-converter.sln new file mode 100644 index 0000000..7e67b22 --- /dev/null +++ b/num-converter.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.34031.81 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "num-converter", "num-converter\num-converter.csproj", "{5170A32E-7191-4087-84D8-D6F514FD1D14}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5170A32E-7191-4087-84D8-D6F514FD1D14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5170A32E-7191-4087-84D8-D6F514FD1D14}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5170A32E-7191-4087-84D8-D6F514FD1D14}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5170A32E-7191-4087-84D8-D6F514FD1D14}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A3065EB5-A5AF-485B-8EBE-C3C04951A9B5} + EndGlobalSection +EndGlobal diff --git a/num-converter/Properties/AssemblyInfo.cs b/num-converter/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..54b0d31 --- /dev/null +++ b/num-converter/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("num_converter")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("num_converter")] +[assembly: AssemblyCopyright("Copyright © 2023")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5170a32e-7191-4087-84d8-d6f514fd1d14")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/num-converter/Web.Debug.config b/num-converter/Web.Debug.config new file mode 100644 index 0000000..fae9cfe --- /dev/null +++ b/num-converter/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/num-converter/Web.Release.config b/num-converter/Web.Release.config new file mode 100644 index 0000000..da6e960 --- /dev/null +++ b/num-converter/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/num-converter/Web.config b/num-converter/Web.config new file mode 100644 index 0000000..0668d11 --- /dev/null +++ b/num-converter/Web.config @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/num-converter/WebForm1.aspx b/num-converter/WebForm1.aspx new file mode 100644 index 0000000..5b037e9 --- /dev/null +++ b/num-converter/WebForm1.aspx @@ -0,0 +1,78 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="num_converter.WebForm1" %> + + + + + + + + + +
+
+
+
+
+         +
+
+        +
+
+                          +
+ + + + + + + + + + + + + + + + + + + + + +
+ + Select An Option + Decimal + Binary + Octal + Hexadecimal + + + + + + Select An Option + Decimal + Binary + Octal + Hexadecimal + +
+ +   + +
+ +   + +
   
+
+ + diff --git a/num-converter/WebForm1.aspx.cs b/num-converter/WebForm1.aspx.cs new file mode 100644 index 0000000..4e06ed8 --- /dev/null +++ b/num-converter/WebForm1.aspx.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace num_converter +{ + public partial class WebForm1 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + + protected void btnConvert_Click(object sender, EventArgs e) + { + + } + + protected void btnClear_Click(object sender, EventArgs e) + { + ddlSourcePosNum.SelectedIndex = 0; + ddlTargetPosNum.SelectedIndex = 0; + txtInput.Text = ""; + lblResult.Text = ""; + + } + } +} \ No newline at end of file diff --git a/num-converter/WebForm1.aspx.designer.cs b/num-converter/WebForm1.aspx.designer.cs new file mode 100644 index 0000000..8e0c7a7 --- /dev/null +++ b/num-converter/WebForm1.aspx.designer.cs @@ -0,0 +1,89 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace num_converter +{ + + + public partial class WebForm1 + { + + /// + /// form1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// ddlSourcePosNum control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlSourcePosNum; + + /// + /// Label1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label1; + + /// + /// ddlTargetPosNum control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlTargetPosNum; + + /// + /// txtInput control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtInput; + + /// + /// lblResult control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblResult; + + /// + /// btnConvert control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnConvert; + + /// + /// btnClear control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Button btnClear; + } +} diff --git a/num-converter/num-converter.csproj b/num-converter/num-converter.csproj new file mode 100644 index 0000000..f170087 --- /dev/null +++ b/num-converter/num-converter.csproj @@ -0,0 +1,130 @@ + + + + + Debug + AnyCPU + + + 2.0 + {5170A32E-7191-4087-84D8-D6F514FD1D14} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + num_converter + num-converter + v4.7.2 + true + + + + + + + + + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + true + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll + + + + + + + + + + WebForm1.aspx + ASPXCodeBehind + + + WebForm1.aspx + + + + + + Web.config + + + Web.config + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + True + True + 64068 + / + http://localhost:64068/ + False + False + + + False + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/num-converter/packages.config b/num-converter/packages.config new file mode 100644 index 0000000..55d586f --- /dev/null +++ b/num-converter/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file