├── README.md
├── Window10 Calculator
├── obj
│ └── Debug
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ ├── Window10 Calculator.exe
│ │ ├── Window10 Calculator.pdb
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── TempPE
│ │ └── Properties.Resources.Designer.cs.dll
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── Window10 Calculator.csproj.GenerateResource.Cache
│ │ ├── Window10_Calculator.Properties.Resources.resources
│ │ ├── Window10_Calculator.Windows10_Calculator.resources
│ │ ├── Window10 Calculator.csprojResolveAssemblyReference.cache
│ │ └── Window10 Calculator.csproj.FileListAbsolute.txt
├── Resources
│ ├── rss.png
│ ├── 147279.ico
│ ├── 189664.ico
│ ├── menu.png
│ ├── Capture111.PNG
│ ├── Capture17.PNG
│ ├── Capture18.PNG
│ ├── Capture181.PNG
│ ├── icons8-delete-forever.png
│ └── Blackvariant-Shadow135-System-Calculator.ico
├── bin
│ └── Debug
│ │ ├── Window10 Calculator.exe
│ │ ├── Window10 Calculator.pdb
│ │ ├── Window10 Calculator.vshost.exe
│ │ ├── Window10 Calculator.exe.config
│ │ ├── Window10 Calculator.vshost.exe.config
│ │ └── Window10 Calculator.vshost.exe.manifest
├── App.config
├── Properties
│ ├── Settings.settings
│ ├── Settings.Designer.cs
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── Program.cs
├── Window10 Calculator.csproj
├── Windows10 Calculator.cs
└── Windows10 Calculator.Designer.cs
├── .vs
└── Window10 Calculator
│ └── v14
│ └── .suo
└── Window10 Calculator.sln
/README.md:
--------------------------------------------------------------------------------
1 | # Advance-Calculator
2 | Advance Windows 10 Calculator
3 |
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.vs/Window10 Calculator/v14/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/.vs/Window10 Calculator/v14/.suo
--------------------------------------------------------------------------------
/Window10 Calculator/Resources/rss.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/Resources/rss.png
--------------------------------------------------------------------------------
/Window10 Calculator/Resources/147279.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/Resources/147279.ico
--------------------------------------------------------------------------------
/Window10 Calculator/Resources/189664.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/Resources/189664.ico
--------------------------------------------------------------------------------
/Window10 Calculator/Resources/menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/Resources/menu.png
--------------------------------------------------------------------------------
/Window10 Calculator/Resources/Capture111.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/Resources/Capture111.PNG
--------------------------------------------------------------------------------
/Window10 Calculator/Resources/Capture17.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/Resources/Capture17.PNG
--------------------------------------------------------------------------------
/Window10 Calculator/Resources/Capture18.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/Resources/Capture18.PNG
--------------------------------------------------------------------------------
/Window10 Calculator/Resources/Capture181.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/Resources/Capture181.PNG
--------------------------------------------------------------------------------
/Window10 Calculator/Resources/icons8-delete-forever.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/Resources/icons8-delete-forever.png
--------------------------------------------------------------------------------
/Window10 Calculator/bin/Debug/Window10 Calculator.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/bin/Debug/Window10 Calculator.exe
--------------------------------------------------------------------------------
/Window10 Calculator/bin/Debug/Window10 Calculator.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/bin/Debug/Window10 Calculator.pdb
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/Window10 Calculator.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/obj/Debug/Window10 Calculator.exe
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/Window10 Calculator.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/obj/Debug/Window10 Calculator.pdb
--------------------------------------------------------------------------------
/Window10 Calculator/bin/Debug/Window10 Calculator.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/bin/Debug/Window10 Calculator.vshost.exe
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/DesignTimeResolveAssemblyReferences.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/obj/Debug/DesignTimeResolveAssemblyReferences.cache
--------------------------------------------------------------------------------
/Window10 Calculator/Resources/Blackvariant-Shadow135-System-Calculator.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/Resources/Blackvariant-Shadow135-System-Calculator.ico
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/Window10 Calculator/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/Window10 Calculator.csproj.GenerateResource.Cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/obj/Debug/Window10 Calculator.csproj.GenerateResource.Cache
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/Window10_Calculator.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/obj/Debug/Window10_Calculator.Properties.Resources.resources
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/Window10_Calculator.Windows10_Calculator.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/obj/Debug/Window10_Calculator.Windows10_Calculator.resources
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/Window10 Calculator.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nasratullah-Shafiq/Advance-Calculator/HEAD/Window10 Calculator/obj/Debug/Window10 Calculator.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/Window10 Calculator/bin/Debug/Window10 Calculator.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Window10 Calculator/bin/Debug/Window10 Calculator.vshost.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Window10 Calculator/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Window10 Calculator/bin/Debug/Window10 Calculator.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Window10 Calculator/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using System.Windows.Forms;
6 |
7 | namespace Window10_Calculator
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new Windows10_Calculator());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Window10 Calculator.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.23107.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Window10 Calculator", "Window10 Calculator\Window10 Calculator.csproj", "{5E4F0BA7-F958-4B70-8F40-E775AE9328EB}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {5E4F0BA7-F958-4B70-8F40-E775AE9328EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {5E4F0BA7-F958-4B70-8F40-E775AE9328EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {5E4F0BA7-F958-4B70-8F40-E775AE9328EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {5E4F0BA7-F958-4B70-8F40-E775AE9328EB}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/Window10 Calculator/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Window10_Calculator.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Window10 Calculator/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Window10 Calculator")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Window10 Calculator")]
13 | [assembly: AssemblyCopyright("Copyright © 2018")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("5e4f0ba7-f958-4b70-8f40-e775ae9328eb")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/Window10 Calculator/obj/Debug/Window10 Calculator.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | G:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\bin\Debug\Window10 Calculator.exe.config
2 | F:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\bin\Debug\Window10 Calculator.exe.config
3 | F:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10 Calculator.csprojResolveAssemblyReference.cache
4 | F:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10_Calculator.Properties.Resources.resources
5 | F:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10_Calculator.Windows10_Calculator.resources
6 | F:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10 Calculator.csproj.GenerateResource.Cache
7 | F:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\bin\Debug\Window10 Calculator.exe
8 | F:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\bin\Debug\Window10 Calculator.pdb
9 | F:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10 Calculator.exe
10 | F:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10 Calculator.pdb
11 | G:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10 Calculator.exe
12 | G:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10 Calculator.pdb
13 | G:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\bin\Debug\Window10 Calculator.exe
14 | G:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\bin\Debug\Window10 Calculator.pdb
15 | G:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10 Calculator.csprojResolveAssemblyReference.cache
16 | G:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10_Calculator.Properties.Resources.resources
17 | G:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10_Calculator.Windows10_Calculator.resources
18 | G:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10 Calculator.csproj.GenerateResource.Cache
19 | H:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\bin\Debug\Window10 Calculator.exe.config
20 | H:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10 Calculator.exe
21 | H:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10 Calculator.pdb
22 | H:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10 Calculator.csprojResolveAssemblyReference.cache
23 | H:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10_Calculator.Properties.Resources.resources
24 | H:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10_Calculator.Windows10_Calculator.resources
25 | H:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\obj\Debug\Window10 Calculator.csproj.GenerateResource.Cache
26 | H:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\bin\Debug\Window10 Calculator.exe
27 | H:\Stock\Stock_Management\Window10 Calculator\Window10 Calculator\bin\Debug\Window10 Calculator.pdb
28 |
--------------------------------------------------------------------------------
/Window10 Calculator/Window10 Calculator.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {5E4F0BA7-F958-4B70-8F40-E775AE9328EB}
8 | WinExe
9 | Properties
10 | Window10_Calculator
11 | Window10 Calculator
12 | v4.5.2
13 | 512
14 | true
15 |
16 |
17 | AnyCPU
18 | true
19 | full
20 | false
21 | bin\Debug\
22 | DEBUG;TRACE
23 | prompt
24 | 4
25 |
26 |
27 | AnyCPU
28 | pdbonly
29 | true
30 | bin\Release\
31 | TRACE
32 | prompt
33 | 4
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 | True
53 | True
54 | Resources.resx
55 |
56 |
57 | Form
58 |
59 |
60 | Windows10 Calculator.cs
61 |
62 |
63 | ResXFileCodeGenerator
64 | Designer
65 | Resources.Designer.cs
66 |
67 |
68 | Windows10 Calculator.cs
69 |
70 |
71 | SettingsSingleFileGenerator
72 | Settings.Designer.cs
73 |
74 |
75 | True
76 | Settings.settings
77 | True
78 |
79 |
80 |
81 |
82 |
83 |
84 |
91 |
--------------------------------------------------------------------------------
/Window10 Calculator/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Window10_Calculator.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Returns the cached ResourceManager instance used by this class.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Window10_Calculator.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 |
63 | ///
64 | /// Looks up a localized resource of type System.Drawing.Bitmap.
65 | ///
66 | internal static System.Drawing.Bitmap Capture111 {
67 | get {
68 | object obj = ResourceManager.GetObject("Capture111", resourceCulture);
69 | return ((System.Drawing.Bitmap)(obj));
70 | }
71 | }
72 |
73 | ///
74 | /// Looks up a localized resource of type System.Drawing.Bitmap.
75 | ///
76 | internal static System.Drawing.Bitmap Capture17 {
77 | get {
78 | object obj = ResourceManager.GetObject("Capture17", resourceCulture);
79 | return ((System.Drawing.Bitmap)(obj));
80 | }
81 | }
82 |
83 | ///
84 | /// Looks up a localized resource of type System.Drawing.Bitmap.
85 | ///
86 | internal static System.Drawing.Bitmap Capture18 {
87 | get {
88 | object obj = ResourceManager.GetObject("Capture18", resourceCulture);
89 | return ((System.Drawing.Bitmap)(obj));
90 | }
91 | }
92 |
93 | ///
94 | /// Looks up a localized resource of type System.Drawing.Bitmap.
95 | ///
96 | internal static System.Drawing.Bitmap Capture181 {
97 | get {
98 | object obj = ResourceManager.GetObject("Capture181", resourceCulture);
99 | return ((System.Drawing.Bitmap)(obj));
100 | }
101 | }
102 |
103 | ///
104 | /// Looks up a localized resource of type System.Drawing.Bitmap.
105 | ///
106 | internal static System.Drawing.Bitmap icons8_delete_forever {
107 | get {
108 | object obj = ResourceManager.GetObject("icons8-delete-forever", resourceCulture);
109 | return ((System.Drawing.Bitmap)(obj));
110 | }
111 | }
112 |
113 | ///
114 | /// Looks up a localized resource of type System.Drawing.Bitmap.
115 | ///
116 | internal static System.Drawing.Bitmap menu {
117 | get {
118 | object obj = ResourceManager.GetObject("menu", resourceCulture);
119 | return ((System.Drawing.Bitmap)(obj));
120 | }
121 | }
122 |
123 | ///
124 | /// Looks up a localized resource of type System.Drawing.Bitmap.
125 | ///
126 | internal static System.Drawing.Bitmap rss {
127 | get {
128 | object obj = ResourceManager.GetObject("rss", resourceCulture);
129 | return ((System.Drawing.Bitmap)(obj));
130 | }
131 | }
132 | }
133 | }
134 |
--------------------------------------------------------------------------------
/Window10 Calculator/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 | ..\Resources\rss.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
123 |
124 |
125 | ..\Resources\menu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
126 |
127 |
128 | ..\Resources\Capture181.PNG;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
129 |
130 |
131 | ..\Resources\Capture111.PNG;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
132 |
133 |
134 | ..\Resources\Capture18.PNG;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
135 |
136 |
137 | ..\Resources\Capture17.PNG;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
138 |
139 |
140 | ..\Resources\icons8-delete-forever.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
141 |
142 |
--------------------------------------------------------------------------------
/Window10 Calculator/Windows10 Calculator.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 |
11 | namespace Window10_Calculator
12 | {
13 | public partial class Windows10_Calculator : Form
14 | {
15 | Double Result = 0;
16 | String Operation = "";
17 | bool Enter_Value = false;
18 | String FirstNum,SecondNum;
19 | char Temp;
20 | public Windows10_Calculator()
21 | {
22 | InitializeComponent();
23 | }
24 |
25 | private void Windows10_Calculator_Load(object sender, EventArgs e)
26 | {
27 | txtResult.Location = new Point(16, 150);
28 | txtResult.Size = new Size(795, 39);
29 | lblResultOf.Location = new Point(16, 120);
30 | lblResultOf.Size = new Size(795, 19);
31 | TreeViewCalculator.Visible = false;
32 | btnShowTreeView.Visible = false;
33 | labelProgrammer();
34 | BtnShowOnStandard();
35 |
36 | lblNoHIstory.BringToFront();
37 | lblTextHexa.BringToFront();
38 | lblTextDecimal.BringToFront();
39 | lblTextOctal.BringToFront();
40 | lblResultBinary.BringToFront();
41 | btnHideOnTempreture();
42 | }
43 | void labelProgrammer()
44 | {
45 | txtResult.Location = new Point(302, 149);
46 | lblTextHexa.Visible = false;
47 | lblTextDecimal.Visible = false;
48 | lblTextOctal.Visible = false;
49 | lblTextBinary.Visible = false;
50 | lblResultHexa.Visible = false;
51 | lblResultDecimal.Visible = false;
52 | lblResultOctal.Visible = false;
53 | lblResultBinary.Visible = false;
54 | }
55 |
56 | private void btnShowTreeView_Click(object sender, EventArgs e)
57 | {
58 | TreeViewCalculator.Visible = false;
59 | btnShowTreeView.Visible = false;
60 | btnHideTreeView.Visible = true;
61 | TreeViewCalculator.BringToFront();
62 | TreeViewCalculator.Location = new Point(-215, 0);
63 | //TreeViewCalculator.TopNode.NodeFont = Font.Bold;
64 | }
65 |
66 | private void btnHideTreeView_Click(object sender, EventArgs e)
67 | {
68 | TreeViewCalculator.Visible = true;
69 | btnHideTreeView.Visible = false;
70 | btnShowTreeView.Visible = true;
71 | TreeViewCalculator.BringToFront();
72 | btnShowTreeView.BringToFront();
73 | TreeViewCalculator.Location = new Point(0, 0);
74 | }
75 | void ShowHideLabels()
76 | {
77 | btnShowTreeView.Visible = false;
78 | btnHideTreeView.Visible = true;
79 | }
80 | public void BtnShowOnStandard()
81 | {
82 | this.txtResult.TextAlign = HorizontalAlignment.Right;
83 | lblResultOf.Location = new Point(16, 120);
84 | lblResultOf.Size = new Size(795,19);
85 | txtResult.Location = new Point(16, 150);
86 | txtResult.Size = new Size(795, 39);
87 | btnBackSpace.Size = new Size(208, 62);
88 | btnDivide.Size = new Size(208, 62);
89 | btnMultiply.Size = new Size(208, 62);
90 | btnPlus.Size = new Size(208, 62);
91 | btnMinus.Size = new Size(208, 62);
92 | btnFirstMinus.Size = new Size(208, 62);
93 | btnThree.Size = new Size(208, 62);
94 | btnSix.Size = new Size(208, 62);
95 | btnNine.Size = new Size(208, 62);
96 | btnEqual.Size = new Size(208, 62);
97 | btnClearAll.Size = new Size(208, 62);
98 | btnTwo.Size = new Size(208, 62);
99 | btnFive.Size = new Size(208, 62);
100 | btnEight.Size = new Size(208, 62);
101 | btnDot.Size = new Size(208, 62);
102 | btnClear.Size = new Size(208, 62);
103 | btnOne.Size = new Size(208, 62);
104 | btnFour.Size = new Size(208, 62);
105 | btnSeven.Size = new Size(208, 62);
106 | btnZero.Size = new Size(208, 62);
107 |
108 | btnBackSpace.Location = new Point(623, 223);
109 | btnDivide.Location = new Point(623, 285);
110 | btnMultiply.Location = new Point(623, 347);
111 | btnPlus.Location = new Point(623, 409);
112 | btnMinus.Location = new Point(623, 471);
113 | btnFirstMinus.Location = new Point(416, 223);
114 | btnThree.Location = new Point(416, 285);
115 | btnSix.Location = new Point(416, 347);
116 | btnNine.Location = new Point(416, 409);
117 | btnEqual.Location = new Point(416, 471);
118 | btnClearAll.Location = new Point(208, 223);
119 | btnTwo.Location = new Point(208, 285);
120 | btnFive.Location = new Point(208, 347);
121 | btnEight.Location = new Point(208, 409);
122 | btnDot.Location = new Point(208, 471);
123 | btnClear.Location = new Point(0, 223);
124 | btnOne.Location = new Point(0, 285);
125 | btnFour.Location = new Point(0, 347);
126 | btnSeven.Location = new Point(0, 409);
127 | btnZero.Location = new Point(0, 471);
128 |
129 | btnRightBracket.Visible = false;
130 | btnLeftBracket.Visible = false;
131 | btnTanjant.Visible = false;
132 | btnTanjanth.Visible = false;
133 | btnCosinh.Visible = false;
134 | btnCosin.Visible = false;
135 | btnSin.Visible = false;
136 | btnSinh.Visible = false;
137 | btnNumberDevideByNumber.Visible = false;
138 | btnPercent.Visible = false;
139 | btnXPowerOfThree.Visible = false;
140 | btnXPowerOfTwo.Visible = false;
141 | btnSquareRoot.Visible = false;
142 | btnExp.Visible = false;
143 | btnModulas.Visible = false;
144 | btnLogarithm.Visible = false;
145 | btnFactorial.Visible = false;
146 | btnTenPowerOfNumber.Visible = false;
147 | btnNumberPowerOfNumber.Visible = false;
148 | btnPie.Visible = false;
149 |
150 | btnA.Visible = false;
151 | btnB.Visible = false;
152 | btnC.Visible = false;
153 | btnD.Visible = false;
154 | btnE.Visible = false;
155 | btnF.Visible = false;
156 |
157 | btnTwo.Enabled = true;
158 | btnThree.Enabled = true;
159 | btnFour.Enabled = true;
160 | btnFive.Enabled = true;
161 | btnSix.Enabled = true;
162 | btnSeven.Enabled = true;
163 | btnEight.Enabled = true;
164 | btnNine.Enabled = true;
165 | btnDot.Enabled = true;
166 | lblResultOf.Text = "";
167 | txtResult.Text = "0";
168 | PanelTempreture.Visible = false;
169 | cmbTempreture.Visible = false;
170 | cmbTempretureResult.Visible = false;
171 | txtTempreture.Visible = false;
172 | //txtTempretureResult.Visible = false;
173 | PanelTempreture.Visible = false;
174 | lblResultOf.Visible = true;
175 |
176 | }
177 | void BtnShowOnScientific()
178 | {
179 | //here we change location and size of txtResult and lblResult of
180 | this.txtResult.TextAlign = HorizontalAlignment.Right;
181 | lblResultOf.Location = new Point(16, 120);
182 | lblResultOf.Size = new Size(795, 19);
183 | txtResult.Location = new Point(16, 150);
184 | txtResult.Size = new Size(795, 39);
185 |
186 | btnBackSpace.Size = new Size(105, 62);
187 | btnDivide.Size = new Size(105, 62);
188 | btnMultiply.Size = new Size(105, 62);
189 | btnPlus.Size = new Size(105, 62);
190 | btnMinus.Size = new Size(105, 62);
191 | btnFirstMinus.Size = new Size(105, 62);
192 | btnThree.Size = new Size(105, 62);
193 | btnSix.Size = new Size(105, 62);
194 | btnNine.Size = new Size(105, 62);
195 | btnEqual.Size = new Size(105, 62);
196 | btnClearAll.Size = new Size(105, 62);
197 | btnTwo.Size = new Size(105, 62);
198 | btnFive.Size = new Size(105, 62);
199 | btnEight.Size = new Size(105, 62);
200 | btnDot.Size = new Size(105, 62);
201 | btnClear.Size = new Size(105, 62);
202 | btnOne.Size = new Size(105, 62);
203 | btnFour.Size = new Size(105, 62);
204 | btnSeven.Size = new Size(105, 62);
205 | btnZero.Size = new Size(105, 62);
206 | btnTanjant.Size = new Size(105, 62);
207 | btnTanjanth.Size = new Size(105, 62);
208 | btnModulas.Size = new Size(105, 62);
209 | btnPie.Size = new Size(105, 62);
210 | btnRightBracket.Size = new Size(105, 62);
211 | btnCosin.Size = new Size(105, 62);
212 | btnCosinh.Size = new Size(105, 62);
213 | btnExp.Size = new Size(105, 62);
214 | btnPercent.Size = new Size(105, 62);
215 | btnLeftBracket.Size = new Size(105, 62);
216 | btnSin.Size = new Size(105, 62);
217 | btnSinh.Size = new Size(105, 62);
218 | btnLogarithm.Size = new Size(105, 62);
219 | btnSquareRoot.Size = new Size(105, 62);
220 | btnFactorial.Size = new Size(105, 62);
221 | btnXPowerOfTwo.Size = new Size(105, 62);
222 | btnXPowerOfThree.Size = new Size(105, 62);
223 | btnTenPowerOfNumber.Size = new Size(105, 62);
224 | btnNumberPowerOfNumber.Size = new Size(105, 62);
225 | btnNumberDevideByNumber.Size = new Size(105, 62);
226 |
227 | btnBackSpace.Location = new Point(725, 223);
228 | btnDivide.Location = new Point(725, 285);
229 | btnMultiply.Location = new Point(725, 347);
230 | btnPlus.Location = new Point(725, 409);
231 | btnMinus.Location = new Point(725, 471);
232 | btnFirstMinus.Location = new Point(621, 223);
233 | btnThree.Location = new Point(621, 285);
234 | btnSix.Location = new Point(621, 347);
235 | btnNine.Location = new Point(621, 409);
236 | btnEqual.Location = new Point(621, 471);
237 | btnClearAll.Location = new Point(517, 223);
238 | btnTwo.Location = new Point(517, 285);
239 | btnFive.Location = new Point(517, 347);
240 | btnEight.Location = new Point(517, 409);
241 | btnDot.Location = new Point(517, 471);
242 | btnClear.Location = new Point(414, 223);
243 | btnOne.Location = new Point(414, 285);
244 | btnFour.Location = new Point(414, 347);
245 | btnSeven.Location = new Point(414, 409);
246 | btnZero.Location = new Point(414, 471);
247 | btnTanjant.Location = new Point(309, 223);
248 | btnTanjanth.Location = new Point(309, 285);
249 | btnModulas.Location = new Point(309, 347);
250 | btnPie.Location = new Point(309, 409);
251 | btnRightBracket.Location = new Point(309, 471);
252 | btnCosin.Location = new Point(205, 223);
253 | btnCosinh.Location = new Point(205, 285);
254 | btnExp.Location = new Point(205, 347);
255 | btnPercent.Location = new Point(205, 409);
256 | btnLeftBracket.Location = new Point(205, 471);
257 | btnSin.Location = new Point(101, 223);
258 | btnSinh.Location = new Point(101, 285);
259 | btnLogarithm.Location = new Point(101, 347);
260 | btnSquareRoot.Location = new Point(101, 409);
261 | btnFactorial.Location = new Point(101, 471);
262 | btnXPowerOfTwo.Location = new Point(0, 223);
263 | btnXPowerOfThree.Location = new Point(0, 285);
264 | btnTenPowerOfNumber.Location = new Point(0, 347);
265 | btnNumberPowerOfNumber.Location = new Point(0, 409);
266 | btnNumberDevideByNumber.Location = new Point(0, 471);
267 |
268 | btnRightBracket.Visible = true;
269 | btnLeftBracket.Visible = true;
270 | btnTanjant.Visible = true;
271 | btnTanjanth.Visible = true;
272 | btnCosinh.Visible = true;
273 | btnCosin.Visible = true;
274 | btnSin.Visible = true;
275 | btnSinh.Visible = true;
276 | btnNumberDevideByNumber.Visible = true;
277 | btnPercent.Visible = true;
278 | btnXPowerOfThree.Visible = true;
279 | btnXPowerOfTwo.Visible = true;
280 | btnSquareRoot.Visible = true;
281 | btnExp.Visible = true;
282 | btnModulas.Visible = true;
283 | btnLogarithm.Visible = true;
284 | btnFactorial.Visible = true;
285 | btnTenPowerOfNumber.Visible = true;
286 | btnNumberPowerOfNumber.Visible = true;
287 | btnPie.Visible = true;
288 |
289 | btnA.Visible = false;
290 | btnB.Visible = false;
291 | btnC.Visible = false;
292 | btnD.Visible = false;
293 | btnE.Visible = false;
294 | btnF.Visible = false;
295 |
296 | btnTwo.Enabled = true;
297 | btnThree.Enabled = true;
298 | btnFour.Enabled = true;
299 | btnFive.Enabled = true;
300 | btnSix.Enabled = true;
301 | btnSeven.Enabled = true;
302 | btnEight.Enabled = true;
303 | btnNine.Enabled = true;
304 | btnDot.Enabled = true;
305 | lblResultOf.Text = "";
306 | txtResult.Text = "0";
307 | PanelTempreture.Visible = false;
308 | lblResultOf.Visible = true;
309 | }
310 |
311 | void btnShowOnProgrammer()
312 | {
313 | btnBackSpace.Size = new Size(138, 50);
314 | btnDivide.Size = new Size(138, 50);
315 | btnMultiply.Size = new Size(138, 50);
316 | btnPlus.Size = new Size(138, 50);
317 | btnMinus.Size = new Size(138, 50);
318 | btnFirstMinus.Size = new Size(138, 50);
319 | btnThree.Size = new Size(138, 50);
320 | btnSix.Size = new Size(138, 50);
321 | btnNine.Size = new Size(138, 50);
322 | btnEqual.Size = new Size(138, 50);
323 | btnClearAll.Size = new Size(138, 50);
324 | btnTwo.Size = new Size(138, 50);
325 | btnFive.Size = new Size(138, 50);
326 | btnEight.Size = new Size(138, 50);
327 | btnDot.Size = new Size(138, 50);
328 | btnClear.Size = new Size(138, 50);
329 | btnOne.Size = new Size(138, 50);
330 | btnFour.Size = new Size(138, 50);
331 | btnSeven.Size = new Size(138, 50);
332 | btnZero.Size = new Size(138, 50);
333 | btnModulas.Size = new Size(138, 50);
334 | btnB.Size = new Size(138, 50);
335 | btnD.Size = new Size(138, 50);
336 | btnF.Size = new Size(138, 50);
337 | btnRightBracket.Size = new Size(138, 50);
338 | btnExp.Size = new Size(138, 50);
339 | btnA.Size = new Size(138, 50);
340 | btnC.Size = new Size(138, 50);
341 | btnE.Size = new Size(138, 50);
342 | btnLeftBracket.Size = new Size(138, 50);
343 |
344 | btnBackSpace.Location = new Point(690, 283);
345 | btnDivide.Location = new Point(690, 333);
346 | btnMultiply.Location = new Point(690, 383);
347 | btnPlus.Location = new Point(690, 433);
348 | btnMinus.Location = new Point(690, 483);
349 | btnFirstMinus.Location = new Point(552, 283);
350 | btnThree.Location = new Point(552, 333);
351 | btnSix.Location = new Point(552, 383);
352 | btnNine.Location = new Point(552, 433);
353 | btnEqual.Location = new Point(551, 483);
354 | btnClearAll.Location = new Point(414, 283);
355 | btnTwo.Location = new Point(414, 333);
356 | btnFive.Location = new Point(414, 383);
357 | btnEight.Location = new Point(414, 433);
358 | btnDot.Location = new Point(414, 483);
359 | btnClear.Location = new Point(276, 283);
360 | btnOne.Location = new Point(276, 333);
361 | btnFour.Location = new Point(276, 383);
362 | btnSeven.Location = new Point(276, 433);
363 | btnZero.Location = new Point(276, 483);
364 | btnModulas.Location = new Point(138, 283);
365 | btnB.Location = new Point(138, 333);
366 | btnD.Location = new Point(138, 383);
367 | btnF.Location = new Point(138, 433);
368 | btnRightBracket.Location = new Point(138, 483);
369 | btnExp.Location = new Point(0, 283);
370 | btnA.Location = new Point(0, 333);
371 | btnC.Location = new Point(0, 383);
372 | btnE.Location = new Point(0, 433);
373 | btnLeftBracket.Location = new Point(0, 483);
374 |
375 | btnTanjant.Visible = false;
376 | btnTanjanth.Visible = false;
377 | btnCosin.Visible = false;
378 | btnCosinh.Visible = false;
379 | btnSin.Visible = false;
380 | btnSinh.Visible = false;
381 | btnFactorial.Visible = false;
382 | btnLogarithm.Visible = false;
383 | btnPercent.Visible = false;
384 | btnXPowerOfThree.Visible = false;
385 | btnXPowerOfTwo.Visible = false;
386 | btnNumberDevideByNumber.Visible = false;
387 | btnNumberPowerOfNumber.Visible = false;
388 | btnSquareRoot.Visible = false;
389 | btnTenPowerOfNumber.Visible = false;
390 | btnPie.Visible = false;
391 |
392 | btnA.Visible = true;
393 | btnB.Visible = true;
394 | btnC.Visible = true;
395 | btnD.Visible = true;
396 | btnE.Visible = true;
397 | btnF.Visible = true;
398 |
399 | btnA.Enabled = false;
400 | btnB.Enabled = false;
401 | btnC.Enabled = false;
402 | btnD.Enabled = false;
403 | btnE.Enabled = false;
404 | btnF.Enabled = false;
405 |
406 | btnExp.Visible = true;
407 | btnModulas.Visible = true;
408 | btnRightBracket.Visible = true;
409 | btnLeftBracket.Visible = true;
410 | lblTextHexa.Visible = true;
411 | lblTextDecimal.Visible = true;
412 | lblTextOctal.Visible = true;
413 | lblTextBinary.Visible = true;
414 | lblResultHexa.Visible = true;
415 | lblResultDecimal.Visible = true;
416 | lblResultOctal.Visible = true;
417 | lblResultBinary.Visible = true;
418 | txtResult.Location = new Point(302, 44);
419 | lblTextHexa.BringToFront();
420 | lblTextDecimal.BringToFront();
421 | lblTextOctal.BringToFront();
422 | lblResultBinary.BringToFront();
423 | btnDot.Enabled = false;
424 | txtResult.Location = new Point(12,117);
425 | txtResult.Size = new Size(808, 39);
426 | lblResultOf.Location = new Point(16,90);
427 | lblResultOf.Size = new Size(795,19);
428 |
429 | lblResultHexa.Location = new Point(57,175);
430 | lblResultDecimal.Location = new Point(57,203);
431 | lblResultOctal.Location = new Point(57,230);
432 | lblResultBinary.Location = new Point(57,225);
433 |
434 | lblTextHexa.Location = new Point(12,173);
435 | lblTextDecimal.Location = new Point(12,201);
436 | lblTextOctal.Location = new Point(12,228);
437 | lblTextBinary.Location = new Point(12,253);
438 |
439 | lblResultHexa.Size = new Size(767,19);
440 | lblResultDecimal.Size = new Size(767,19);
441 | lblResultOctal.Size = new Size(767,19);
442 | lblResultBinary.Size = new Size(767,19);
443 |
444 | lblTextHexa.Size = new Size(36,19);
445 | lblTextDecimal.Size = new Size(36,19);
446 | lblTextOctal.Size = new Size(36,19);
447 | lblTextBinary.Size = new Size(36,19);
448 | lblResultBinary.BringToFront();
449 | lblResultOf.Text = "";
450 | txtResult.Text = "0";
451 | PanelTempreture.Visible = false;
452 | this.txtResult.TextAlign = HorizontalAlignment.Right;
453 | cmbTempreture.Visible = false;
454 | cmbTempretureResult.Visible = false;
455 | txtTempreture.Visible = false;
456 |
457 | }
458 | void btnHideOnTempreture()
459 | {
460 | RichTextBox.Location = new Point(834, -2);
461 | RichTextBoxHistory.Location = new Point(837, 97);
462 | lblMemory.Location = new Point(942, 48);
463 | lblHistory.Location = new Point(851, 48);
464 | lblNoHIstory.Location = new Point(851, 91);
465 |
466 | lblMemory.Size = new Size(67, 19);
467 | lblHistory.Size = new Size(58, 19);
468 | lblNoHIstory.Size = new Size(158, 19);
469 |
470 | RichTextBoxHistory.Size = new Size(317, 391);
471 | RichTextBox.Size = new Size(320, 536);
472 | btnDivide.Visible = true;
473 | btnMultiply.Visible = true;
474 | btnPlus.Visible = true;
475 | btnMinus.Visible = true;
476 | btnEqual.Visible = true;
477 | RichTextBox.Visible = true;
478 | RichTextBoxHistory.Visible = true;
479 | lblMemory.Visible = true;
480 | lblNoHIstory.Visible = true;
481 | lblHistory.Visible = true;
482 |
483 | }
484 | void btnShowOnTempreture()
485 | {
486 | btnBackSpace.Location = new Point(953, 172);
487 | btnThree.Location = new Point(953, 237);
488 | btnSix.Location = new Point(953, 302);
489 | btnNine.Location = new Point(953, 367);
490 | btnDot.Location = new Point(953, 432);
491 | btnClearAll.Location = new Point(783, 172);
492 | btnTwo.Location = new Point(783, 237);
493 | btnFive.Location = new Point(783, 302);
494 | btnEight.Location = new Point(783, 367);
495 | btnZero.Location = new Point(783, 432);
496 | btnClear.Location = new Point(613, 172);
497 | btnOne.Location = new Point(613, 237);
498 | btnFour.Location = new Point(613, 302);
499 | btnSeven.Location = new Point(613, 367);
500 | btnFirstMinus.Location = new Point(613, 432);
501 |
502 | btnBackSpace.Size = new Size(170,65);
503 | btnThree.Size = new Size(170, 65);
504 | btnSix.Size = new Size(170, 65);
505 | btnNine.Size = new Size(170, 65);
506 | btnDot.Size = new Size(170, 65);
507 | btnClearAll.Size = new Size(170, 65);
508 | btnTwo.Size = new Size(170, 65);
509 | btnFive.Size = new Size(170, 65);
510 | btnEight.Size = new Size(170, 65);
511 | btnZero.Size = new Size(170, 65);
512 | btnClear.Size = new Size(170, 65);
513 | btnOne.Size = new Size(170, 65);
514 | btnFour.Size = new Size(170, 65);
515 | btnSeven.Size = new Size(170, 65);
516 | btnFirstMinus.Size = new Size(170, 65);
517 |
518 | lblHistory.Visible = false;
519 | lblNoHIstory.Visible = false;
520 | lblMemory.Visible = false;
521 |
522 | RichTextBox.Visible = false;
523 | RichTextBoxHistory.Visible = false;
524 | lblResultOf.Visible = false;
525 | txtTempreture.Visible = true;
526 | cmbTempreture.Visible = true;
527 | cmbTempretureResult.Visible = true;
528 | PanelTempreture.Size = new Size(575, 534);
529 | PanelTempreture.Location = new Point(579, -1);
530 | PanelTempreture.Visible = true;
531 | btnDivide.Visible = false;
532 | btnMultiply.Visible = false;
533 | btnPlus.Visible = false;
534 | btnMinus.Visible = false;
535 | btnEqual.Visible = false;
536 | lblHistory.Visible = false;
537 | lblNoHIstory.Visible = false;
538 | lblMemory.Visible = false;
539 |
540 | RichTextBox.Visible = false;
541 | RichTextBoxHistory.Visible = false;
542 | PanelTempreture.SendToBack();
543 | btnExp.Visible = false;
544 | btnModulas.Visible = false;
545 | btnA.Visible = false;
546 | btnB.Visible = false;
547 | btnC.Visible = false;
548 | btnD.Visible = false;
549 | btnE.Visible = false;
550 | btnF.Visible = false;
551 | btnRightBracket.Visible = false;
552 | btnLeftBracket.Visible = false;
553 | btnDot.Visible = true;
554 | btnSin.Visible = false;
555 | btnSinh.Visible = false;
556 | btnLogarithm.Visible = false;
557 | btnExp.Visible = false;
558 | btnTanjant.Visible = false;
559 | btnTanjanth.Visible = false;
560 | btnCosin.Visible = false;
561 | btnCosinh.Visible = false;
562 | btnXPowerOfThree.Visible = false;
563 | btnXPowerOfTwo.Visible = false;
564 | btnPercent.Visible = false;
565 | btnNumberDevideByNumber.Visible = false;
566 | btnFactorial.Visible = false;
567 | btnPie.Visible = false;
568 | btnSquareRoot.Visible = false;
569 | btnNumberPowerOfNumber.Visible = false;
570 | btnTenPowerOfNumber.Visible = false;
571 |
572 | txtResult.Location = new Point(33, 155);
573 | cmbTempretureResult.Location = new Point(33, 223);
574 | txtTempreture.Location = new Point(33, 336);
575 | cmbTempreture.Location = new Point(33, 396);
576 |
577 | txtResult.Size = new Size(325, 54);
578 | cmbTempretureResult.Size = new Size(325, 21);
579 | txtTempreture.Size = new Size(325, 54);
580 | cmbTempreture.Size = new Size(325, 21);
581 | this.txtResult.TextAlign = HorizontalAlignment.Left;
582 | txtResult.Text = "0";
583 |
584 | }
585 | private void TreeViewCalculator_AfterSelect(object sender, TreeViewEventArgs e)
586 | {
587 | if (e.Node.Name == "NodeCalculator")
588 | {
589 | lblHeading.Text = "STANDARD";
590 | TreeViewCalculator.Visible = false;
591 | ShowHideLabels();
592 | labelProgrammer();
593 | //e.Node.NodeFont = ("bold");
594 | // NodeCalculator.ForeColor = Color.red;
595 |
596 | }
597 | if (e.Node.Name == "NodeConverter")
598 | {
599 | lblHeading.Text = "STANDARD";
600 | TreeViewCalculator.Visible = false;
601 | ShowHideLabels();
602 | labelProgrammer();
603 | }
604 | if (e.Node.Name == "NodeStandard")
605 | {
606 | lblHeading.Text = "STANDARD";
607 | TreeViewCalculator.Visible = false;
608 | ShowHideLabels();
609 | labelProgrammer();
610 | BtnShowOnStandard();
611 | btnHideOnTempreture();
612 | }
613 | if (e.Node.Name == "NodeScientific")
614 | {
615 | lblHeading.Text = "SCIECTIFIC";
616 | TreeViewCalculator.Visible = false;
617 | ShowHideLabels();
618 | labelProgrammer();
619 | BtnShowOnScientific();
620 | btnHideOnTempreture();
621 |
622 | }
623 | if (e.Node.Name == "NodeProgrammer")
624 | {
625 | lblHeading.Text = "PROGRAMMER";
626 | TreeViewCalculator.Visible = false;
627 | ShowHideLabels();
628 | btnShowOnProgrammer();
629 | btnHideOnTempreture();
630 | }
631 | if (e.Node.Name == "NodeVolume")
632 | {
633 | lblHeading.Text = "VOLUME";
634 | TreeViewCalculator.Visible = false;
635 | ShowHideLabels();
636 | labelProgrammer();
637 | btnShowOnTempreture();
638 | }
639 | if (e.Node.Name == "NodeLength")
640 | {
641 | lblHeading.Text = "LENGTH";
642 | TreeViewCalculator.Visible = false;
643 | ShowHideLabels();
644 | labelProgrammer();
645 | btnShowOnTempreture();
646 | }
647 | if (e.Node.Name == "NodeWeight and Mass")
648 | {
649 | lblHeading.Text = "WEIGHT AND MASS";
650 | TreeViewCalculator.Visible = false;
651 | ShowHideLabels();
652 | labelProgrammer();
653 | btnShowOnTempreture();
654 | }
655 | if (e.Node.Name == "NodeTempreture")
656 | {
657 | lblHeading.Text = "TEMPRETURE";
658 | TreeViewCalculator.Visible = false;
659 | ShowHideLabels();
660 | labelProgrammer();
661 | btnShowOnTempreture();
662 | }
663 | if (e.Node.Name == "NodeEnergy")
664 | {
665 | lblHeading.Text = "ENERGY";
666 | TreeViewCalculator.Visible = false;
667 | ShowHideLabels();
668 | labelProgrammer();
669 | btnShowOnTempreture();
670 | }
671 | if (e.Node.Name == "NodeArea")
672 | {
673 | lblHeading.Text = "AREA";
674 | TreeViewCalculator.Visible = false;
675 | ShowHideLabels();
676 | labelProgrammer();
677 | btnShowOnTempreture();
678 | }
679 | if (e.Node.Name == "NodeSpeed")
680 | {
681 | lblHeading.Text = "SPEED";
682 | TreeViewCalculator.Visible = false;
683 | ShowHideLabels();
684 | labelProgrammer();
685 | btnShowOnTempreture();
686 | }
687 | if (e.Node.Name == "NodeTime")
688 | {
689 | lblHeading.Text = "TIME";
690 | TreeViewCalculator.Visible = false;
691 | ShowHideLabels();
692 | labelProgrammer();
693 | btnShowOnTempreture();
694 | }
695 | if (e.Node.Name == "NodePower")
696 | {
697 | lblHeading.Text = "POWER";
698 | TreeViewCalculator.Visible = false;
699 | ShowHideLabels();
700 | labelProgrammer();
701 | btnShowOnTempreture();
702 | }
703 | if (e.Node.Name == "NodeData")
704 | {
705 | lblHeading.Text = "DATA";
706 | TreeViewCalculator.Visible = false;
707 | ShowHideLabels();
708 | labelProgrammer();
709 | btnShowOnTempreture();
710 | }
711 | if (e.Node.Name == "NodePressure")
712 | {
713 | lblHeading.Text = "PRESSURE";
714 | TreeViewCalculator.Visible = false;
715 | ShowHideLabels();
716 | labelProgrammer();
717 | btnShowOnTempreture();
718 | }
719 | if (e.Node.Name == "NodeAngle")
720 | {
721 | lblHeading.Text = "ANGLE";
722 | TreeViewCalculator.Visible = false;
723 | ShowHideLabels();
724 | labelProgrammer();
725 | btnShowOnTempreture();
726 | }
727 | }
728 |
729 | private void TreeViewCalculator_MouseHover(object sender, EventArgs e)
730 | {
731 | }
732 |
733 | private void Numbers_Click(object sender, EventArgs e)
734 | {
735 | Button button = (Button)sender;
736 |
737 | if ((txtResult.Text == "0") || (Enter_Value))
738 | txtResult.Text = "";
739 | Enter_Value = false;
740 | if (button.Text == ".")
741 | {
742 | if (!txtResult.Text.Contains("."))
743 | txtResult.Text = txtResult.Text + button.Text;
744 | }
745 | else
746 | {
747 | txtResult.Text = txtResult.Text + button.Text;
748 | }
749 |
750 | try
751 | {
752 | long a = long.Parse(txtResult.Text);
753 | lblResultHexa.Text = System.Convert.ToString(a, 16);
754 |
755 | long b = long.Parse(txtResult.Text);
756 | lblResultDecimal.Text = System.Convert.ToString(b, 10);
757 |
758 | long c = long.Parse(txtResult.Text);
759 | lblResultOctal.Text = System.Convert.ToString(c, 8);
760 |
761 | long d = long.Parse(txtResult.Text);
762 | lblResultBinary.Text = System.Convert.ToString(d, 2);
763 | }
764 | catch (Exception)
765 | {
766 | //MessageBox.Show(ex.Message);
767 | }
768 |
769 | }
770 |
771 | private void Arithematic_Operation(object sender, EventArgs e)
772 | {
773 | Button button = (Button)sender;
774 | if (Result != 0)
775 | {
776 | btnEqual.PerformClick();
777 | Enter_Value = true;
778 | Operation = button.Text;
779 | lblResultOf.Text = System.Convert.ToString(Result) + " " + Operation;
780 | }
781 | else
782 | {
783 | Operation = button.Text;
784 | Result = Double.Parse(txtResult.Text);
785 | Enter_Value = true;
786 | lblResultOf.Text = System.Convert.ToString(Result) + " " + Operation;
787 | }
788 | FirstNum = lblResultOf.Text;
789 | }
790 | void OverWriteNumbers(object sender)
791 | {
792 | Button button = (Button)sender;
793 | Operation = button.Text;
794 | Result = Double.Parse(txtResult.Text);
795 | Enter_Value = true;
796 | lblResultOf.Text = System.Convert.ToString(Result) + " " + Operation;
797 | // After Every clicks of Equals we should clear the label Result
798 | lblResultOf.Text = "";
799 | }
800 |
801 | private void btnClear_Click(object sender, EventArgs e)
802 | {
803 | txtResult.Text = "0";
804 | Result = 0;
805 | }
806 |
807 | private void btnClearAll_Click(object sender, EventArgs e)
808 | {
809 | txtResult.Text = "0";
810 | lblResultOf.Text = "";
811 | lblResultBinary.Text = "";
812 | lblResultDecimal.Text = "";
813 | lblResultOctal.Text = "";
814 | lblResultHexa.Text = "";
815 | }
816 |
817 | private void btnEquals_Click(object sender, EventArgs e)
818 | {
819 | SecondNum = txtResult.Text;
820 | lblResultOf.Text = "";
821 |
822 | switch (Operation)
823 | {
824 | case "+":
825 | txtResult.Text = (Result + Double.Parse(txtResult.Text)).ToString();
826 | break;
827 | case "-":
828 | txtResult.Text = (Result - Double.Parse(txtResult.Text)).ToString();
829 | break;
830 | case "✕":
831 | txtResult.Text = (Result * Double.Parse(txtResult.Text)).ToString();
832 | break;
833 | case "➗":
834 | txtResult.Text = (Result / Double.Parse(txtResult.Text)).ToString();
835 | break;
836 | case "Mod":
837 | txtResult.Text = (Result % Double.Parse(txtResult.Text)).ToString();
838 | break;
839 |
840 | case "Exp":
841 | double i = Double.Parse(txtResult.Text);
842 | double q;
843 | q = (Result);
844 | txtResult.Text = Math.Exp(i * Math.Log(q * 4)).ToString();
845 | break;
846 | }
847 | Result = Double.Parse(txtResult.Text);
848 | Operation = "";
849 | OverWriteNumbers(sender);
850 |
851 | /////////////////////////////////////////////////////////////
852 | RichTextBoxHistory.AppendText(FirstNum + " " + SecondNum + " = " + "\n");
853 | RichTextBoxHistory.AppendText("\n\t" + txtResult.Text + "\n\n");
854 | lblNoHIstory.Text = "";
855 | }
856 |
857 | private void btnBackSpace_Click(object sender, EventArgs e)
858 | {
859 | if (txtResult.Text.Length > 0)
860 | {
861 | txtResult.Text = txtResult.Text.Remove(txtResult.Text.Length - 1, 1);
862 | }
863 | if (txtResult.Text == "")
864 | {
865 | txtResult.Text = "0";
866 | }
867 | }
868 |
869 | private void btnPie_Click(object sender, EventArgs e)
870 | {
871 | txtResult.Text = "3.141592653589976323";
872 | }
873 |
874 | private void btnLogarithm_Click(object sender, EventArgs e)
875 | {
876 | double ilog = Double.Parse(txtResult.Text);
877 | lblResultOf.Text = System.Convert.ToString("Log" + "(" + (txtResult.Text) + ")");
878 | ilog = Math.Log10(ilog);
879 | txtResult.Text = System.Convert.ToString(ilog);
880 | }
881 |
882 | private void btnSquareRoot_Click(object sender, EventArgs e)
883 | {
884 | double sq = double.Parse(txtResult.Text);
885 | lblResultOf.Text = System.Convert.ToString("√" + "(" + (txtResult.Text) + ")");
886 | sq = Math.Sqrt(sq);
887 | txtResult.Text = System.Convert.ToString(sq);
888 | }
889 |
890 | private void btnSin_Click(object sender, EventArgs e)
891 | {
892 | double Sine = double.Parse(txtResult.Text);
893 | lblResultOf.Text = System.Convert.ToString("Sin" + "(" + (txtResult.Text) + ")");
894 | Sine = Math.Sin(Sine);
895 | txtResult.Text = System.Convert.ToString(Sine);
896 | }
897 |
898 | private void btnSinh_Click(object sender, EventArgs e)
899 | {
900 | double Sineh = double.Parse(txtResult.Text);
901 | lblResultOf.Text = System.Convert.ToString("Sin h" + "(" + (txtResult.Text) + ")");
902 | Sineh = Math.Sinh(Sineh);
903 | txtResult.Text = System.Convert.ToString(Sineh);
904 | }
905 |
906 | private void btnCosin_Click(object sender, EventArgs e)
907 | {
908 | double Cosin = double.Parse(txtResult.Text);
909 | lblResultOf.Text = System.Convert.ToString("Cosin" + "(" + (txtResult.Text) + ")");
910 | Cosin = Math.Cos(Cosin);
911 | txtResult.Text = System.Convert.ToString(Cosin);
912 | }
913 |
914 | private void btnCosinh_Click(object sender, EventArgs e)
915 | {
916 | double Cosinh = double.Parse(txtResult.Text);
917 | lblResultOf.Text = System.Convert.ToString("Cosin h" + "(" + (txtResult.Text) + ")");
918 | Cosinh = Math.Cosh(Cosinh);
919 | txtResult.Text = System.Convert.ToString(Cosinh);
920 | }
921 |
922 | private void btnTanjant_Click(object sender, EventArgs e)
923 | {
924 | double Tanjant = double.Parse(txtResult.Text);
925 | lblResultOf.Text = System.Convert.ToString("Tanjant" + "(" + (txtResult.Text) + ")");
926 | Tanjant = Math.Tan(Tanjant);
927 | txtResult.Text = System.Convert.ToString(Tanjant);
928 | }
929 |
930 | private void btnTanjanth_Click(object sender, EventArgs e)
931 | {
932 | double Tanjanth = double.Parse(txtResult.Text);
933 | lblResultOf.Text = System.Convert.ToString("Tanjant h" + "(" + (txtResult.Text) + ")");
934 | Tanjanth = Math.Tanh(Tanjanth);
935 | txtResult.Text = System.Convert.ToString(Tanjanth);
936 | }
937 |
938 | private void btnXPowerOfTwo_Click(object sender, EventArgs e)
939 | {
940 | double a;
941 | a = Convert.ToDouble(txtResult.Text) * Convert.ToDouble(txtResult.Text);
942 | txtResult.Text = System.Convert.ToString(a);
943 | }
944 |
945 | private void btnXPowerOfThree_Click(object sender, EventArgs e)
946 | {
947 | double a;
948 | a = Convert.ToDouble(txtResult.Text) * Convert.ToDouble(txtResult.Text) * Convert.ToDouble(txtResult.Text);
949 | txtResult.Text = System.Convert.ToString(a);
950 | }
951 |
952 | private void btnNumberDevideByNumber_Click(object sender, EventArgs e)
953 | {
954 | double a;
955 | a = Convert.ToDouble(1.0/ Convert.ToDouble(txtResult.Text));
956 | txtResult.Text = System.Convert.ToString(a);
957 | }
958 |
959 | private void lblTextHexa_Click(object sender, EventArgs e)
960 | {
961 | btnZero.Enabled = true;
962 | btnOne.Enabled = true;
963 | btnDot.Enabled = false;
964 | btnTwo.Enabled = true;
965 | btnThree.Enabled = true;
966 | btnFour.Enabled = true;
967 | btnFive.Enabled = true;
968 | btnSix.Enabled = true;
969 | btnSeven.Enabled = true;
970 | btnEight.Enabled = true;
971 | btnNine.Enabled = true;
972 | btnA.Enabled = true;
973 | btnB.Enabled = true;
974 | btnC.Enabled = true;
975 | btnD.Enabled = true;
976 | btnE.Enabled = true;
977 | btnF.Enabled = true;
978 | lblTextDecimal.ForeColor = Color.Black;
979 | lblTextBinary.ForeColor = Color.Black;
980 | lblTextHexa.ForeColor = Color.Blue;
981 | lblTextOctal.ForeColor = Color.Black;
982 | }
983 |
984 | private void lblTextBinary_Click(object sender, EventArgs e)
985 | {
986 | btnZero.Enabled = true;
987 | btnOne.Enabled = true;
988 | btnDot.Enabled = false;
989 | btnTwo.Enabled = false;
990 | btnThree.Enabled = false;
991 | btnFour.Enabled = false;
992 | btnFive.Enabled = false;
993 | btnSix.Enabled = false;
994 | btnSeven.Enabled = false;
995 | btnEight.Enabled = false;
996 | btnNine.Enabled = false;
997 | btnA.Enabled = false;
998 | btnB.Enabled = false;
999 | btnC.Enabled = false;
1000 | btnD.Enabled = false;
1001 | btnE.Enabled = false;
1002 | btnF.Enabled = false;
1003 | lblTextDecimal.ForeColor = Color.Black;
1004 | lblTextBinary.ForeColor = Color.Blue;
1005 | lblTextHexa.ForeColor = Color.Black;
1006 | lblTextOctal.ForeColor = Color.Black;
1007 |
1008 | }
1009 |
1010 | private void lblTextDecimal_Click(object sender, EventArgs e)
1011 | {
1012 | btnZero.Enabled = true;
1013 | btnOne.Enabled = true;
1014 | btnDot.Enabled = false;
1015 | btnTwo.Enabled = true;
1016 | btnThree.Enabled = true;
1017 | btnFour.Enabled = true;
1018 | btnFive.Enabled = true;
1019 | btnSix.Enabled = true;
1020 | btnSeven.Enabled = true;
1021 | btnEight.Enabled = true;
1022 | btnNine.Enabled = true;
1023 | btnA.Enabled = false;
1024 | btnB.Enabled = false;
1025 | btnC.Enabled = false;
1026 | btnD.Enabled = false;
1027 | btnE.Enabled = false;
1028 | btnF.Enabled = false;
1029 | lblTextDecimal.ForeColor = Color.Blue;
1030 | lblTextBinary.ForeColor = Color.Black;
1031 | lblTextHexa.ForeColor = Color.Black;
1032 | lblTextOctal.ForeColor = Color.Black;
1033 | }
1034 |
1035 | private void lblTextOctal_Click(object sender, EventArgs e)
1036 | {
1037 | btnZero.Enabled = true;
1038 | btnOne.Enabled = true;
1039 | btnDot.Enabled = false;
1040 | btnTwo.Enabled = true;
1041 | btnThree.Enabled = true;
1042 | btnFour.Enabled = true;
1043 | btnFive.Enabled = true;
1044 | btnSix.Enabled = true;
1045 | btnSeven.Enabled = true;
1046 | btnEight.Enabled = false;
1047 | btnNine.Enabled = false;
1048 | btnA.Enabled = false;
1049 | btnB.Enabled = false;
1050 | btnC.Enabled = false;
1051 | btnD.Enabled = false;
1052 | btnE.Enabled = false;
1053 | btnF.Enabled = false;
1054 | lblTextDecimal.ForeColor = Color.Black;
1055 | lblTextBinary.ForeColor = Color.Black;
1056 | lblTextHexa.ForeColor = Color.Black;
1057 | lblTextOctal.ForeColor = Color.Blue;
1058 | }
1059 |
1060 | private void lblTextHexa_MouseHover(object sender, EventArgs e)
1061 | {
1062 | lblTextHexa.BackColor = Color.Gray;
1063 | }
1064 |
1065 | private void lblTextHexa_MouseLeave(object sender, EventArgs e)
1066 | {
1067 | lblTextHexa.BackColor = Color.White;
1068 | }
1069 |
1070 | private void btnEquals_MouseHover(object sender, EventArgs e)
1071 | {
1072 | btnEqual.ForeColor = Color.White;
1073 | btnEqual.BackColor = Color.LightBlue;
1074 | }
1075 |
1076 | private void btnEquals_MouseLeave(object sender, EventArgs e)
1077 | {
1078 | btnEqual.ForeColor = Color.Black;
1079 | btnEqual.BackColor = Color.Gainsboro;
1080 | }
1081 |
1082 | private void txtBinary_MouseHover(object sender, EventArgs e)
1083 | {
1084 | //txtBinary.BackColor = Color.Green;
1085 | }
1086 |
1087 | private void btnEquals_KeyPress(object sender, KeyPressEventArgs e)
1088 | {
1089 | btnEqual.BackColor = Color.Blue;
1090 | }
1091 |
1092 | private void btnEquals_KeyUp(object sender, KeyEventArgs e)
1093 | {
1094 | btnEqual.BackColor = Color.Snow;
1095 | }
1096 |
1097 | private void btnEquals_MouseClick(object sender, MouseEventArgs e)
1098 | {
1099 | btnEqual.BackColor = Color.Blue;
1100 | }
1101 |
1102 | private void btnEquals_MouseDown(object sender, MouseEventArgs e)
1103 | {
1104 | btnEqual.BackColor = Color.Silver;
1105 | }
1106 |
1107 | private void Alphabet_Clicks(object sender, EventArgs e)
1108 | {
1109 | Button button = (Button)sender;
1110 |
1111 | if (txtResult.Text == "0")
1112 | txtResult.Text = "";
1113 | txtResult.Text = txtResult.Text + button.Text;
1114 | try
1115 | {
1116 | //char a = char.Parse(txtResult.Text);
1117 | // lblResultHexa.Text = System.Convert.ToString(a, 16);
1118 | lblResultHexa.Text = txtResult.Text;
1119 |
1120 | int b = int.Parse(txtResult.Text);
1121 | lblResultDecimal.Text = System.Convert.ToString(b, 10);
1122 | //lblResultDecimal.Text = txtResult.Text;
1123 |
1124 | int c = int.Parse(txtResult.Text);
1125 | lblResultOctal.Text = System.Convert.ToString(c, 8);
1126 |
1127 | int d = int.Parse(txtResult.Text);
1128 | lblResultBinary.Text = System.Convert.ToString(2, d);
1129 | }
1130 | catch (Exception ex)
1131 | {
1132 | MessageBox.Show(ex.Message);
1133 | }
1134 | }
1135 | private void btnFirstMinus_Click(object sender, EventArgs e)
1136 | {
1137 | // double Sine = double.Parse(txtResult.Text);
1138 | //Result = Double.Parse(txtResult.Text);
1139 | //Enter_Value = true;
1140 | //txtResult.Text = System.Convert.ToString("-") + txtResult.Text;
1141 |
1142 | // txtResult.Text = txtResult.Text+"-";
1143 | }
1144 |
1145 | private void btnFirstMinus_Click_1(object sender, EventArgs e)
1146 | {
1147 | if (txtResult.Text == "0")
1148 | {
1149 | txtResult.Text = "0";
1150 | }
1151 | else
1152 | {
1153 | txtResult.Text = System.Convert.ToString("-") + txtResult.Text;
1154 | }
1155 | }
1156 | private void cmbTempretureResult_SelectedIndexChanged(object sender, EventArgs e)
1157 | {
1158 | if (cmbTempretureResult.SelectedIndex == 0)
1159 | {
1160 | if (cmbTempreture.SelectedIndex == 0)
1161 | {
1162 | double iCelsius = float.Parse(txtResult.Text);
1163 | txtTempreture.Text = ((((9 * iCelsius) / 5) + 32).ToString());
1164 | }
1165 |
1166 | }
1167 | if (cmbTempretureResult.SelectedIndex==1)
1168 | {
1169 | double iFahrenheit = float.Parse(txtResult.Text);
1170 | txtTempreture.Text = ((((iFahrenheit-32) * 5) / 9).ToString());
1171 | }
1172 | if (cmbTempretureResult.SelectedIndex==2)
1173 | {
1174 | double iKelvin = float.Parse(txtResult.Text);
1175 | txtTempreture.Text = (((((9 * iKelvin) / 5) + 32) + 273.15).ToString());
1176 | }
1177 | }
1178 | private void lblClearHistory_Click(object sender, EventArgs e)
1179 | {
1180 | RichTextBoxHistory.Clear();
1181 | if (lblNoHIstory.Text == "")
1182 | {
1183 | lblNoHIstory.Text = "There's no history yet";
1184 | }
1185 |
1186 | }
1187 | }
1188 | }
1189 |
--------------------------------------------------------------------------------
/Window10 Calculator/Windows10 Calculator.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Window10_Calculator
2 | {
3 | partial class Windows10_Calculator
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows10_Calculator));
32 | System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Calculator");
33 | System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Standard");
34 | System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Scientific");
35 | System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Programmer");
36 | System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Converter");
37 | System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Volume");
38 | System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("Length");
39 | System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("Weight and Mass");
40 | System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("Tempreture");
41 | System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("Energy");
42 | System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("Area");
43 | System.Windows.Forms.TreeNode treeNode12 = new System.Windows.Forms.TreeNode("Speed");
44 | System.Windows.Forms.TreeNode treeNode13 = new System.Windows.Forms.TreeNode("Time");
45 | System.Windows.Forms.TreeNode treeNode14 = new System.Windows.Forms.TreeNode("Power");
46 | System.Windows.Forms.TreeNode treeNode15 = new System.Windows.Forms.TreeNode("Data");
47 | System.Windows.Forms.TreeNode treeNode16 = new System.Windows.Forms.TreeNode("Pressure");
48 | System.Windows.Forms.TreeNode treeNode17 = new System.Windows.Forms.TreeNode("Angle");
49 | this.btnClear = new System.Windows.Forms.Button();
50 | this.btnFour = new System.Windows.Forms.Button();
51 | this.btnOne = new System.Windows.Forms.Button();
52 | this.btnSeven = new System.Windows.Forms.Button();
53 | this.btnPlus = new System.Windows.Forms.Button();
54 | this.btnDivide = new System.Windows.Forms.Button();
55 | this.btnMultiply = new System.Windows.Forms.Button();
56 | this.btnBackSpace = new System.Windows.Forms.Button();
57 | this.btnNine = new System.Windows.Forms.Button();
58 | this.btnFirstMinus = new System.Windows.Forms.Button();
59 | this.btnEight = new System.Windows.Forms.Button();
60 | this.btnTwo = new System.Windows.Forms.Button();
61 | this.btnFive = new System.Windows.Forms.Button();
62 | this.btnClearAll = new System.Windows.Forms.Button();
63 | this.btnMinus = new System.Windows.Forms.Button();
64 | this.btnDot = new System.Windows.Forms.Button();
65 | this.btnEqual = new System.Windows.Forms.Button();
66 | this.btnZero = new System.Windows.Forms.Button();
67 | this.btnRightBracket = new System.Windows.Forms.Button();
68 | this.btnExp = new System.Windows.Forms.Button();
69 | this.btnCosin = new System.Windows.Forms.Button();
70 | this.btnSin = new System.Windows.Forms.Button();
71 | this.btnTanjant = new System.Windows.Forms.Button();
72 | this.btnNumberDevideByNumber = new System.Windows.Forms.Button();
73 | this.btnXPowerOfThree = new System.Windows.Forms.Button();
74 | this.btnSquareRoot = new System.Windows.Forms.Button();
75 | this.btnXPowerOfTwo = new System.Windows.Forms.Button();
76 | this.btnPercent = new System.Windows.Forms.Button();
77 | this.btnLeftBracket = new System.Windows.Forms.Button();
78 | this.btnModulas = new System.Windows.Forms.Button();
79 | this.btnCosinh = new System.Windows.Forms.Button();
80 | this.btnSinh = new System.Windows.Forms.Button();
81 | this.btnTanjanth = new System.Windows.Forms.Button();
82 | this.RichTextBox = new System.Windows.Forms.RichTextBox();
83 | this.txtResult = new System.Windows.Forms.TextBox();
84 | this.lblHistory = new System.Windows.Forms.Label();
85 | this.lblMemory = new System.Windows.Forms.Label();
86 | this.lblNoHIstory = new System.Windows.Forms.Label();
87 | this.TreeViewCalculator = new System.Windows.Forms.TreeView();
88 | this.lblHeading = new System.Windows.Forms.Label();
89 | this.lblTextOctal = new System.Windows.Forms.Label();
90 | this.lblTextHexa = new System.Windows.Forms.Label();
91 | this.lblTextDecimal = new System.Windows.Forms.Label();
92 | this.lblTextBinary = new System.Windows.Forms.Label();
93 | this.lblResultDecimal = new System.Windows.Forms.Label();
94 | this.lblResultOctal = new System.Windows.Forms.Label();
95 | this.lblResultBinary = new System.Windows.Forms.Label();
96 | this.lblResultHexa = new System.Windows.Forms.Label();
97 | this.btnLogarithm = new System.Windows.Forms.Button();
98 | this.btnNumberPowerOfNumber = new System.Windows.Forms.Button();
99 | this.btnFactorial = new System.Windows.Forms.Button();
100 | this.btnTenPowerOfNumber = new System.Windows.Forms.Button();
101 | this.btnPie = new System.Windows.Forms.Button();
102 | this.btnC = new System.Windows.Forms.Button();
103 | this.btnD = new System.Windows.Forms.Button();
104 | this.btnB = new System.Windows.Forms.Button();
105 | this.btnA = new System.Windows.Forms.Button();
106 | this.btnF = new System.Windows.Forms.Button();
107 | this.btnE = new System.Windows.Forms.Button();
108 | this.RichTextBoxHistory = new System.Windows.Forms.RichTextBox();
109 | this.lblResultOf = new System.Windows.Forms.TextBox();
110 | this.btnThree = new System.Windows.Forms.Button();
111 | this.btnSix = new System.Windows.Forms.Button();
112 | this.PanelTempreture = new System.Windows.Forms.Panel();
113 | this.cmbTempreture = new System.Windows.Forms.ComboBox();
114 | this.cmbTempretureResult = new System.Windows.Forms.ComboBox();
115 | this.txtTempreture = new System.Windows.Forms.TextBox();
116 | this.btnShowTreeView = new System.Windows.Forms.Button();
117 | this.btnHideTreeView = new System.Windows.Forms.Button();
118 | this.lblClearHistory = new System.Windows.Forms.Label();
119 | this.SuspendLayout();
120 | //
121 | // btnClear
122 | //
123 | this.btnClear.BackColor = System.Drawing.SystemColors.ControlLight;
124 | this.btnClear.FlatAppearance.BorderSize = 0;
125 | this.btnClear.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
126 | this.btnClear.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
127 | this.btnClear.Location = new System.Drawing.Point(658, 150);
128 | this.btnClear.Name = "btnClear";
129 | this.btnClear.Size = new System.Drawing.Size(170, 65);
130 | this.btnClear.TabIndex = 0;
131 | this.btnClear.Text = "CE";
132 | this.btnClear.UseVisualStyleBackColor = false;
133 | this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
134 | //
135 | // btnFour
136 | //
137 | this.btnFour.BackColor = System.Drawing.SystemColors.ControlLight;
138 | this.btnFour.FlatAppearance.BorderSize = 0;
139 | this.btnFour.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
140 | this.btnFour.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
141 | this.btnFour.Location = new System.Drawing.Point(613, 302);
142 | this.btnFour.Name = "btnFour";
143 | this.btnFour.Size = new System.Drawing.Size(170, 65);
144 | this.btnFour.TabIndex = 1;
145 | this.btnFour.Text = "4";
146 | this.btnFour.UseVisualStyleBackColor = false;
147 | this.btnFour.Click += new System.EventHandler(this.Numbers_Click);
148 | //
149 | // btnOne
150 | //
151 | this.btnOne.BackColor = System.Drawing.SystemColors.ControlLight;
152 | this.btnOne.FlatAppearance.BorderSize = 0;
153 | this.btnOne.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
154 | this.btnOne.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
155 | this.btnOne.Location = new System.Drawing.Point(613, 237);
156 | this.btnOne.Name = "btnOne";
157 | this.btnOne.Size = new System.Drawing.Size(170, 65);
158 | this.btnOne.TabIndex = 2;
159 | this.btnOne.Text = "1";
160 | this.btnOne.UseVisualStyleBackColor = false;
161 | this.btnOne.Click += new System.EventHandler(this.Numbers_Click);
162 | //
163 | // btnSeven
164 | //
165 | this.btnSeven.BackColor = System.Drawing.SystemColors.ControlLight;
166 | this.btnSeven.FlatAppearance.BorderSize = 0;
167 | this.btnSeven.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
168 | this.btnSeven.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
169 | this.btnSeven.Location = new System.Drawing.Point(613, 367);
170 | this.btnSeven.Name = "btnSeven";
171 | this.btnSeven.Size = new System.Drawing.Size(170, 65);
172 | this.btnSeven.TabIndex = 3;
173 | this.btnSeven.Text = "7";
174 | this.btnSeven.UseVisualStyleBackColor = false;
175 | this.btnSeven.Click += new System.EventHandler(this.Numbers_Click);
176 | //
177 | // btnPlus
178 | //
179 | this.btnPlus.BackColor = System.Drawing.SystemColors.ControlLight;
180 | this.btnPlus.FlatAppearance.BorderSize = 0;
181 | this.btnPlus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
182 | this.btnPlus.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
183 | this.btnPlus.Location = new System.Drawing.Point(690, 433);
184 | this.btnPlus.Name = "btnPlus";
185 | this.btnPlus.Size = new System.Drawing.Size(138, 50);
186 | this.btnPlus.TabIndex = 7;
187 | this.btnPlus.Text = "+";
188 | this.btnPlus.UseVisualStyleBackColor = false;
189 | this.btnPlus.Click += new System.EventHandler(this.Arithematic_Operation);
190 | //
191 | // btnDivide
192 | //
193 | this.btnDivide.BackColor = System.Drawing.SystemColors.ControlLight;
194 | this.btnDivide.FlatAppearance.BorderSize = 0;
195 | this.btnDivide.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
196 | this.btnDivide.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
197 | this.btnDivide.Location = new System.Drawing.Point(690, 333);
198 | this.btnDivide.Name = "btnDivide";
199 | this.btnDivide.Size = new System.Drawing.Size(138, 50);
200 | this.btnDivide.TabIndex = 6;
201 | this.btnDivide.Text = "➗";
202 | this.btnDivide.UseVisualStyleBackColor = false;
203 | this.btnDivide.Click += new System.EventHandler(this.Arithematic_Operation);
204 | //
205 | // btnMultiply
206 | //
207 | this.btnMultiply.BackColor = System.Drawing.SystemColors.ControlLight;
208 | this.btnMultiply.FlatAppearance.BorderSize = 0;
209 | this.btnMultiply.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
210 | this.btnMultiply.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
211 | this.btnMultiply.Location = new System.Drawing.Point(690, 383);
212 | this.btnMultiply.Name = "btnMultiply";
213 | this.btnMultiply.Size = new System.Drawing.Size(138, 50);
214 | this.btnMultiply.TabIndex = 5;
215 | this.btnMultiply.Text = "✕";
216 | this.btnMultiply.UseVisualStyleBackColor = false;
217 | this.btnMultiply.Click += new System.EventHandler(this.Arithematic_Operation);
218 | //
219 | // btnBackSpace
220 | //
221 | this.btnBackSpace.BackColor = System.Drawing.SystemColors.ControlLight;
222 | this.btnBackSpace.FlatAppearance.BorderSize = 0;
223 | this.btnBackSpace.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
224 | this.btnBackSpace.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
225 | this.btnBackSpace.Image = ((System.Drawing.Image)(resources.GetObject("btnBackSpace.Image")));
226 | this.btnBackSpace.Location = new System.Drawing.Point(953, 172);
227 | this.btnBackSpace.Name = "btnBackSpace";
228 | this.btnBackSpace.Size = new System.Drawing.Size(170, 65);
229 | this.btnBackSpace.TabIndex = 4;
230 | this.btnBackSpace.Text = "";
231 | this.btnBackSpace.UseVisualStyleBackColor = false;
232 | this.btnBackSpace.Click += new System.EventHandler(this.btnBackSpace_Click);
233 | //
234 | // btnNine
235 | //
236 | this.btnNine.BackColor = System.Drawing.SystemColors.ControlLight;
237 | this.btnNine.FlatAppearance.BorderSize = 0;
238 | this.btnNine.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
239 | this.btnNine.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
240 | this.btnNine.Location = new System.Drawing.Point(953, 367);
241 | this.btnNine.Name = "btnNine";
242 | this.btnNine.Size = new System.Drawing.Size(170, 65);
243 | this.btnNine.TabIndex = 11;
244 | this.btnNine.Text = "9";
245 | this.btnNine.UseVisualStyleBackColor = false;
246 | this.btnNine.Click += new System.EventHandler(this.Numbers_Click);
247 | //
248 | // btnFirstMinus
249 | //
250 | this.btnFirstMinus.BackColor = System.Drawing.SystemColors.ControlLight;
251 | this.btnFirstMinus.FlatAppearance.BorderSize = 0;
252 | this.btnFirstMinus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
253 | this.btnFirstMinus.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
254 | this.btnFirstMinus.Location = new System.Drawing.Point(613, 432);
255 | this.btnFirstMinus.Name = "btnFirstMinus";
256 | this.btnFirstMinus.Size = new System.Drawing.Size(170, 65);
257 | this.btnFirstMinus.TabIndex = 8;
258 | this.btnFirstMinus.Text = "±";
259 | this.btnFirstMinus.UseVisualStyleBackColor = false;
260 | this.btnFirstMinus.Click += new System.EventHandler(this.btnFirstMinus_Click_1);
261 | //
262 | // btnEight
263 | //
264 | this.btnEight.BackColor = System.Drawing.SystemColors.ControlLight;
265 | this.btnEight.FlatAppearance.BorderSize = 0;
266 | this.btnEight.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
267 | this.btnEight.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
268 | this.btnEight.Location = new System.Drawing.Point(783, 367);
269 | this.btnEight.Name = "btnEight";
270 | this.btnEight.Size = new System.Drawing.Size(170, 65);
271 | this.btnEight.TabIndex = 15;
272 | this.btnEight.Text = "8";
273 | this.btnEight.UseVisualStyleBackColor = false;
274 | this.btnEight.Click += new System.EventHandler(this.Numbers_Click);
275 | //
276 | // btnTwo
277 | //
278 | this.btnTwo.BackColor = System.Drawing.SystemColors.ControlLight;
279 | this.btnTwo.FlatAppearance.BorderSize = 0;
280 | this.btnTwo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
281 | this.btnTwo.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
282 | this.btnTwo.Location = new System.Drawing.Point(839, 172);
283 | this.btnTwo.Name = "btnTwo";
284 | this.btnTwo.Size = new System.Drawing.Size(170, 65);
285 | this.btnTwo.TabIndex = 14;
286 | this.btnTwo.Text = "2";
287 | this.btnTwo.UseVisualStyleBackColor = false;
288 | this.btnTwo.Click += new System.EventHandler(this.Numbers_Click);
289 | //
290 | // btnFive
291 | //
292 | this.btnFive.BackColor = System.Drawing.SystemColors.ControlLight;
293 | this.btnFive.FlatAppearance.BorderSize = 0;
294 | this.btnFive.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
295 | this.btnFive.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
296 | this.btnFive.Location = new System.Drawing.Point(783, 302);
297 | this.btnFive.Name = "btnFive";
298 | this.btnFive.Size = new System.Drawing.Size(170, 65);
299 | this.btnFive.TabIndex = 13;
300 | this.btnFive.Text = "5";
301 | this.btnFive.UseVisualStyleBackColor = false;
302 | this.btnFive.Click += new System.EventHandler(this.Numbers_Click);
303 | //
304 | // btnClearAll
305 | //
306 | this.btnClearAll.BackColor = System.Drawing.SystemColors.ControlLight;
307 | this.btnClearAll.FlatAppearance.BorderSize = 0;
308 | this.btnClearAll.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
309 | this.btnClearAll.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
310 | this.btnClearAll.Location = new System.Drawing.Point(707, 253);
311 | this.btnClearAll.Name = "btnClearAll";
312 | this.btnClearAll.Size = new System.Drawing.Size(170, 65);
313 | this.btnClearAll.TabIndex = 12;
314 | this.btnClearAll.Text = "C";
315 | this.btnClearAll.UseVisualStyleBackColor = false;
316 | this.btnClearAll.Click += new System.EventHandler(this.btnClearAll_Click);
317 | //
318 | // btnMinus
319 | //
320 | this.btnMinus.BackColor = System.Drawing.SystemColors.ControlLight;
321 | this.btnMinus.FlatAppearance.BorderSize = 0;
322 | this.btnMinus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
323 | this.btnMinus.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
324 | this.btnMinus.Location = new System.Drawing.Point(690, 483);
325 | this.btnMinus.Name = "btnMinus";
326 | this.btnMinus.Size = new System.Drawing.Size(138, 50);
327 | this.btnMinus.TabIndex = 19;
328 | this.btnMinus.Text = "ꟷ";
329 | this.btnMinus.UseVisualStyleBackColor = false;
330 | this.btnMinus.Click += new System.EventHandler(this.Arithematic_Operation);
331 | //
332 | // btnDot
333 | //
334 | this.btnDot.BackColor = System.Drawing.SystemColors.ControlLight;
335 | this.btnDot.FlatAppearance.BorderSize = 0;
336 | this.btnDot.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
337 | this.btnDot.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
338 | this.btnDot.Location = new System.Drawing.Point(953, 432);
339 | this.btnDot.Name = "btnDot";
340 | this.btnDot.Size = new System.Drawing.Size(170, 65);
341 | this.btnDot.TabIndex = 18;
342 | this.btnDot.Text = ".";
343 | this.btnDot.UseVisualStyleBackColor = false;
344 | this.btnDot.Click += new System.EventHandler(this.Numbers_Click);
345 | //
346 | // btnEqual
347 | //
348 | this.btnEqual.BackColor = System.Drawing.SystemColors.ControlLight;
349 | this.btnEqual.FlatAppearance.BorderSize = 0;
350 | this.btnEqual.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
351 | this.btnEqual.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
352 | this.btnEqual.ForeColor = System.Drawing.SystemColors.ControlText;
353 | this.btnEqual.Location = new System.Drawing.Point(385, 367);
354 | this.btnEqual.Name = "btnEqual";
355 | this.btnEqual.Size = new System.Drawing.Size(138, 50);
356 | this.btnEqual.TabIndex = 17;
357 | this.btnEqual.Text = "=";
358 | this.btnEqual.UseVisualStyleBackColor = false;
359 | this.btnEqual.Click += new System.EventHandler(this.btnEquals_Click);
360 | this.btnEqual.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.btnEquals_KeyPress);
361 | this.btnEqual.KeyUp += new System.Windows.Forms.KeyEventHandler(this.btnEquals_KeyUp);
362 | this.btnEqual.MouseClick += new System.Windows.Forms.MouseEventHandler(this.btnEquals_MouseClick);
363 | this.btnEqual.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnEquals_MouseDown);
364 | this.btnEqual.MouseLeave += new System.EventHandler(this.btnEquals_MouseLeave);
365 | this.btnEqual.MouseHover += new System.EventHandler(this.btnEquals_MouseHover);
366 | //
367 | // btnZero
368 | //
369 | this.btnZero.BackColor = System.Drawing.SystemColors.ControlLight;
370 | this.btnZero.FlatAppearance.BorderSize = 0;
371 | this.btnZero.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
372 | this.btnZero.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
373 | this.btnZero.Location = new System.Drawing.Point(783, 432);
374 | this.btnZero.Name = "btnZero";
375 | this.btnZero.Size = new System.Drawing.Size(170, 65);
376 | this.btnZero.TabIndex = 16;
377 | this.btnZero.Text = "0";
378 | this.btnZero.UseVisualStyleBackColor = false;
379 | this.btnZero.Click += new System.EventHandler(this.Numbers_Click);
380 | //
381 | // btnRightBracket
382 | //
383 | this.btnRightBracket.BackColor = System.Drawing.SystemColors.ControlLight;
384 | this.btnRightBracket.FlatAppearance.BorderSize = 0;
385 | this.btnRightBracket.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
386 | this.btnRightBracket.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
387 | this.btnRightBracket.Location = new System.Drawing.Point(241, 61);
388 | this.btnRightBracket.Name = "btnRightBracket";
389 | this.btnRightBracket.Size = new System.Drawing.Size(138, 50);
390 | this.btnRightBracket.TabIndex = 24;
391 | this.btnRightBracket.Text = ")";
392 | this.btnRightBracket.UseVisualStyleBackColor = false;
393 | //
394 | // btnExp
395 | //
396 | this.btnExp.BackColor = System.Drawing.SystemColors.ControlLight;
397 | this.btnExp.FlatAppearance.BorderSize = 0;
398 | this.btnExp.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
399 | this.btnExp.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
400 | this.btnExp.Location = new System.Drawing.Point(241, 62);
401 | this.btnExp.Name = "btnExp";
402 | this.btnExp.Size = new System.Drawing.Size(138, 50);
403 | this.btnExp.TabIndex = 23;
404 | this.btnExp.Text = "Exp";
405 | this.btnExp.UseVisualStyleBackColor = false;
406 | this.btnExp.Click += new System.EventHandler(this.Arithematic_Operation);
407 | //
408 | // btnCosin
409 | //
410 | this.btnCosin.BackColor = System.Drawing.SystemColors.ControlLight;
411 | this.btnCosin.FlatAppearance.BorderSize = 0;
412 | this.btnCosin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
413 | this.btnCosin.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
414 | this.btnCosin.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
415 | this.btnCosin.Location = new System.Drawing.Point(254, 60);
416 | this.btnCosin.Name = "btnCosin";
417 | this.btnCosin.Size = new System.Drawing.Size(104, 62);
418 | this.btnCosin.TabIndex = 22;
419 | this.btnCosin.Text = "cos";
420 | this.btnCosin.UseVisualStyleBackColor = false;
421 | this.btnCosin.Click += new System.EventHandler(this.btnCosin_Click);
422 | //
423 | // btnSin
424 | //
425 | this.btnSin.BackColor = System.Drawing.SystemColors.ControlLight;
426 | this.btnSin.FlatAppearance.BorderSize = 0;
427 | this.btnSin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
428 | this.btnSin.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
429 | this.btnSin.Location = new System.Drawing.Point(254, 62);
430 | this.btnSin.Name = "btnSin";
431 | this.btnSin.Size = new System.Drawing.Size(104, 62);
432 | this.btnSin.TabIndex = 21;
433 | this.btnSin.Text = "sin";
434 | this.btnSin.UseVisualStyleBackColor = false;
435 | this.btnSin.Click += new System.EventHandler(this.btnSin_Click);
436 | //
437 | // btnTanjant
438 | //
439 | this.btnTanjant.BackColor = System.Drawing.SystemColors.ControlLight;
440 | this.btnTanjant.FlatAppearance.BorderSize = 0;
441 | this.btnTanjant.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
442 | this.btnTanjant.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
443 | this.btnTanjant.Location = new System.Drawing.Point(254, 60);
444 | this.btnTanjant.Name = "btnTanjant";
445 | this.btnTanjant.Size = new System.Drawing.Size(104, 62);
446 | this.btnTanjant.TabIndex = 20;
447 | this.btnTanjant.Text = "tan";
448 | this.btnTanjant.UseVisualStyleBackColor = false;
449 | this.btnTanjant.Click += new System.EventHandler(this.btnTanjant_Click);
450 | //
451 | // btnNumberDevideByNumber
452 | //
453 | this.btnNumberDevideByNumber.BackColor = System.Drawing.SystemColors.ControlLight;
454 | this.btnNumberDevideByNumber.FlatAppearance.BorderSize = 0;
455 | this.btnNumberDevideByNumber.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
456 | this.btnNumberDevideByNumber.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
457 | this.btnNumberDevideByNumber.Location = new System.Drawing.Point(254, 62);
458 | this.btnNumberDevideByNumber.Name = "btnNumberDevideByNumber";
459 | this.btnNumberDevideByNumber.Size = new System.Drawing.Size(104, 62);
460 | this.btnNumberDevideByNumber.TabIndex = 30;
461 | this.btnNumberDevideByNumber.Text = "1/X";
462 | this.btnNumberDevideByNumber.UseVisualStyleBackColor = false;
463 | this.btnNumberDevideByNumber.Click += new System.EventHandler(this.btnNumberDevideByNumber_Click);
464 | //
465 | // btnXPowerOfThree
466 | //
467 | this.btnXPowerOfThree.BackColor = System.Drawing.SystemColors.ControlLight;
468 | this.btnXPowerOfThree.FlatAppearance.BorderSize = 0;
469 | this.btnXPowerOfThree.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
470 | this.btnXPowerOfThree.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
471 | this.btnXPowerOfThree.Location = new System.Drawing.Point(254, 62);
472 | this.btnXPowerOfThree.Name = "btnXPowerOfThree";
473 | this.btnXPowerOfThree.Size = new System.Drawing.Size(104, 62);
474 | this.btnXPowerOfThree.TabIndex = 29;
475 | this.btnXPowerOfThree.Text = "X^3";
476 | this.btnXPowerOfThree.UseVisualStyleBackColor = false;
477 | this.btnXPowerOfThree.Click += new System.EventHandler(this.btnXPowerOfThree_Click);
478 | //
479 | // btnSquareRoot
480 | //
481 | this.btnSquareRoot.BackColor = System.Drawing.SystemColors.ControlLight;
482 | this.btnSquareRoot.FlatAppearance.BorderSize = 0;
483 | this.btnSquareRoot.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
484 | this.btnSquareRoot.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
485 | this.btnSquareRoot.Location = new System.Drawing.Point(254, 60);
486 | this.btnSquareRoot.Name = "btnSquareRoot";
487 | this.btnSquareRoot.Size = new System.Drawing.Size(104, 62);
488 | this.btnSquareRoot.TabIndex = 28;
489 | this.btnSquareRoot.Text = "√";
490 | this.btnSquareRoot.UseVisualStyleBackColor = false;
491 | this.btnSquareRoot.Click += new System.EventHandler(this.btnSquareRoot_Click);
492 | //
493 | // btnXPowerOfTwo
494 | //
495 | this.btnXPowerOfTwo.BackColor = System.Drawing.SystemColors.ControlLight;
496 | this.btnXPowerOfTwo.FlatAppearance.BorderSize = 0;
497 | this.btnXPowerOfTwo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
498 | this.btnXPowerOfTwo.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
499 | this.btnXPowerOfTwo.Location = new System.Drawing.Point(254, 61);
500 | this.btnXPowerOfTwo.Name = "btnXPowerOfTwo";
501 | this.btnXPowerOfTwo.Size = new System.Drawing.Size(104, 62);
502 | this.btnXPowerOfTwo.TabIndex = 27;
503 | this.btnXPowerOfTwo.Text = "X^2";
504 | this.btnXPowerOfTwo.UseVisualStyleBackColor = false;
505 | this.btnXPowerOfTwo.Click += new System.EventHandler(this.btnXPowerOfTwo_Click);
506 | //
507 | // btnPercent
508 | //
509 | this.btnPercent.BackColor = System.Drawing.SystemColors.ControlLight;
510 | this.btnPercent.FlatAppearance.BorderSize = 0;
511 | this.btnPercent.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
512 | this.btnPercent.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
513 | this.btnPercent.Location = new System.Drawing.Point(254, 62);
514 | this.btnPercent.Name = "btnPercent";
515 | this.btnPercent.Size = new System.Drawing.Size(104, 62);
516 | this.btnPercent.TabIndex = 26;
517 | this.btnPercent.Text = "%";
518 | this.btnPercent.UseVisualStyleBackColor = false;
519 | //
520 | // btnLeftBracket
521 | //
522 | this.btnLeftBracket.BackColor = System.Drawing.SystemColors.ControlLight;
523 | this.btnLeftBracket.FlatAppearance.BorderSize = 0;
524 | this.btnLeftBracket.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
525 | this.btnLeftBracket.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
526 | this.btnLeftBracket.Location = new System.Drawing.Point(254, 65);
527 | this.btnLeftBracket.Name = "btnLeftBracket";
528 | this.btnLeftBracket.Size = new System.Drawing.Size(138, 50);
529 | this.btnLeftBracket.TabIndex = 37;
530 | this.btnLeftBracket.Text = "(";
531 | this.btnLeftBracket.UseVisualStyleBackColor = false;
532 | //
533 | // btnModulas
534 | //
535 | this.btnModulas.BackColor = System.Drawing.SystemColors.ControlLight;
536 | this.btnModulas.FlatAppearance.BorderSize = 0;
537 | this.btnModulas.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
538 | this.btnModulas.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
539 | this.btnModulas.Location = new System.Drawing.Point(241, 67);
540 | this.btnModulas.Name = "btnModulas";
541 | this.btnModulas.Size = new System.Drawing.Size(138, 50);
542 | this.btnModulas.TabIndex = 36;
543 | this.btnModulas.Text = "Mod";
544 | this.btnModulas.UseVisualStyleBackColor = false;
545 | this.btnModulas.Click += new System.EventHandler(this.Arithematic_Operation);
546 | //
547 | // btnCosinh
548 | //
549 | this.btnCosinh.BackColor = System.Drawing.SystemColors.ControlLight;
550 | this.btnCosinh.FlatAppearance.BorderSize = 0;
551 | this.btnCosinh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
552 | this.btnCosinh.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
553 | this.btnCosinh.Location = new System.Drawing.Point(254, 62);
554 | this.btnCosinh.Name = "btnCosinh";
555 | this.btnCosinh.Size = new System.Drawing.Size(104, 62);
556 | this.btnCosinh.TabIndex = 35;
557 | this.btnCosinh.Text = "cosh";
558 | this.btnCosinh.UseVisualStyleBackColor = false;
559 | this.btnCosinh.Click += new System.EventHandler(this.btnCosinh_Click);
560 | //
561 | // btnSinh
562 | //
563 | this.btnSinh.BackColor = System.Drawing.SystemColors.ControlLight;
564 | this.btnSinh.FlatAppearance.BorderSize = 0;
565 | this.btnSinh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
566 | this.btnSinh.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
567 | this.btnSinh.Location = new System.Drawing.Point(254, 61);
568 | this.btnSinh.Name = "btnSinh";
569 | this.btnSinh.Size = new System.Drawing.Size(104, 62);
570 | this.btnSinh.TabIndex = 34;
571 | this.btnSinh.Text = "sinh";
572 | this.btnSinh.UseVisualStyleBackColor = false;
573 | this.btnSinh.Click += new System.EventHandler(this.btnSinh_Click);
574 | //
575 | // btnTanjanth
576 | //
577 | this.btnTanjanth.BackColor = System.Drawing.SystemColors.ControlLight;
578 | this.btnTanjanth.FlatAppearance.BorderSize = 0;
579 | this.btnTanjanth.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
580 | this.btnTanjanth.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
581 | this.btnTanjanth.Location = new System.Drawing.Point(254, 60);
582 | this.btnTanjanth.Name = "btnTanjanth";
583 | this.btnTanjanth.Size = new System.Drawing.Size(104, 62);
584 | this.btnTanjanth.TabIndex = 33;
585 | this.btnTanjanth.Text = "tanh";
586 | this.btnTanjanth.UseVisualStyleBackColor = false;
587 | this.btnTanjanth.Click += new System.EventHandler(this.btnTanjanth_Click);
588 | //
589 | // RichTextBox
590 | //
591 | this.RichTextBox.BackColor = System.Drawing.SystemColors.Control;
592 | this.RichTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
593 | this.RichTextBox.BulletIndent = 20;
594 | this.RichTextBox.Enabled = false;
595 | this.RichTextBox.Location = new System.Drawing.Point(1015, 0);
596 | this.RichTextBox.Name = "RichTextBox";
597 | this.RichTextBox.ReadOnly = true;
598 | this.RichTextBox.Size = new System.Drawing.Size(139, 534);
599 | this.RichTextBox.TabIndex = 38;
600 | this.RichTextBox.Text = "";
601 | //
602 | // txtResult
603 | //
604 | this.txtResult.BackColor = System.Drawing.SystemColors.Control;
605 | this.txtResult.BorderStyle = System.Windows.Forms.BorderStyle.None;
606 | this.txtResult.Font = new System.Drawing.Font("Segoe UI Semibold", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
607 | this.txtResult.Location = new System.Drawing.Point(16, 117);
608 | this.txtResult.Name = "txtResult";
609 | this.txtResult.Size = new System.Drawing.Size(795, 39);
610 | this.txtResult.TabIndex = 41;
611 | this.txtResult.Text = "0";
612 | this.txtResult.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
613 | //
614 | // lblHistory
615 | //
616 | this.lblHistory.AutoSize = true;
617 | this.lblHistory.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
618 | this.lblHistory.Location = new System.Drawing.Point(851, 48);
619 | this.lblHistory.Name = "lblHistory";
620 | this.lblHistory.Size = new System.Drawing.Size(58, 19);
621 | this.lblHistory.TabIndex = 42;
622 | this.lblHistory.Text = "History";
623 | //
624 | // lblMemory
625 | //
626 | this.lblMemory.AutoSize = true;
627 | this.lblMemory.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
628 | this.lblMemory.Location = new System.Drawing.Point(942, 48);
629 | this.lblMemory.Name = "lblMemory";
630 | this.lblMemory.Size = new System.Drawing.Size(67, 19);
631 | this.lblMemory.TabIndex = 43;
632 | this.lblMemory.Text = "Memory";
633 | //
634 | // lblNoHIstory
635 | //
636 | this.lblNoHIstory.AutoSize = true;
637 | this.lblNoHIstory.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
638 | this.lblNoHIstory.ForeColor = System.Drawing.SystemColors.AppWorkspace;
639 | this.lblNoHIstory.Location = new System.Drawing.Point(851, 91);
640 | this.lblNoHIstory.Name = "lblNoHIstory";
641 | this.lblNoHIstory.Size = new System.Drawing.Size(158, 19);
642 | this.lblNoHIstory.TabIndex = 44;
643 | this.lblNoHIstory.Text = "There\'s no history yet";
644 | //
645 | // TreeViewCalculator
646 | //
647 | this.TreeViewCalculator.AccessibleRole = System.Windows.Forms.AccessibleRole.Dialog;
648 | this.TreeViewCalculator.BackColor = System.Drawing.Color.Gainsboro;
649 | this.TreeViewCalculator.BorderStyle = System.Windows.Forms.BorderStyle.None;
650 | this.TreeViewCalculator.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
651 | this.TreeViewCalculator.FullRowSelect = true;
652 | this.TreeViewCalculator.HideSelection = false;
653 | this.TreeViewCalculator.ImeMode = System.Windows.Forms.ImeMode.HangulFull;
654 | this.TreeViewCalculator.Indent = 50;
655 | this.TreeViewCalculator.ItemHeight = 40;
656 | this.TreeViewCalculator.Location = new System.Drawing.Point(-53, 0);
657 | this.TreeViewCalculator.Name = "TreeViewCalculator";
658 | treeNode1.Name = "NodeCalculator";
659 | treeNode1.NodeFont = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
660 | treeNode1.Text = "Calculator";
661 | treeNode2.Checked = true;
662 | treeNode2.Name = "NodeStandard";
663 | treeNode2.Text = "Standard";
664 | treeNode3.Checked = true;
665 | treeNode3.Name = "NodeScientific";
666 | treeNode3.Text = "Scientific";
667 | treeNode4.Name = "NodeProgrammer";
668 | treeNode4.Text = "Programmer";
669 | treeNode5.Name = "NodeConverter";
670 | treeNode5.NodeFont = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
671 | treeNode5.Text = "Converter";
672 | treeNode6.Name = "NodeVolume";
673 | treeNode6.Text = "Volume";
674 | treeNode7.Name = "NodeLength";
675 | treeNode7.Text = "Length";
676 | treeNode8.Name = "NodeWeight and Mass";
677 | treeNode8.Text = "Weight and Mass";
678 | treeNode9.Name = "NodeTempreture";
679 | treeNode9.Text = "Tempreture";
680 | treeNode10.Name = "NodeEnergy";
681 | treeNode10.Text = "Energy";
682 | treeNode11.Name = "NodeArea";
683 | treeNode11.Text = "Area";
684 | treeNode12.Name = "NodeSpeed";
685 | treeNode12.Text = "Speed";
686 | treeNode13.Name = "NodeTime";
687 | treeNode13.Text = "Time";
688 | treeNode14.Name = "NodePower";
689 | treeNode14.Text = "Power";
690 | treeNode15.Name = "NodeData";
691 | treeNode15.Text = "Data";
692 | treeNode16.Name = "NodePressure";
693 | treeNode16.Text = "Pressure";
694 | treeNode17.Name = "NodeAngle";
695 | treeNode17.Text = "Angle";
696 | this.TreeViewCalculator.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
697 | treeNode1,
698 | treeNode2,
699 | treeNode3,
700 | treeNode4,
701 | treeNode5,
702 | treeNode6,
703 | treeNode7,
704 | treeNode8,
705 | treeNode9,
706 | treeNode10,
707 | treeNode11,
708 | treeNode12,
709 | treeNode13,
710 | treeNode14,
711 | treeNode15,
712 | treeNode16,
713 | treeNode17});
714 | this.TreeViewCalculator.ShowLines = false;
715 | this.TreeViewCalculator.Size = new System.Drawing.Size(213, 537);
716 | this.TreeViewCalculator.TabIndex = 46;
717 | this.TreeViewCalculator.TabStop = false;
718 | this.TreeViewCalculator.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.TreeViewCalculator_AfterSelect);
719 | this.TreeViewCalculator.MouseHover += new System.EventHandler(this.TreeViewCalculator_MouseHover);
720 | //
721 | // lblHeading
722 | //
723 | this.lblHeading.AutoSize = true;
724 | this.lblHeading.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
725 | this.lblHeading.Location = new System.Drawing.Point(49, 10);
726 | this.lblHeading.Name = "lblHeading";
727 | this.lblHeading.Size = new System.Drawing.Size(84, 19);
728 | this.lblHeading.TabIndex = 47;
729 | this.lblHeading.Text = "STANDARD";
730 | //
731 | // lblTextOctal
732 | //
733 | this.lblTextOctal.AutoSize = true;
734 | this.lblTextOctal.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
735 | this.lblTextOctal.Location = new System.Drawing.Point(12, 228);
736 | this.lblTextOctal.Name = "lblTextOctal";
737 | this.lblTextOctal.Size = new System.Drawing.Size(36, 19);
738 | this.lblTextOctal.TabIndex = 49;
739 | this.lblTextOctal.Text = "OCT";
740 | this.lblTextOctal.Click += new System.EventHandler(this.lblTextOctal_Click);
741 | //
742 | // lblTextHexa
743 | //
744 | this.lblTextHexa.AutoSize = true;
745 | this.lblTextHexa.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
746 | this.lblTextHexa.Location = new System.Drawing.Point(12, 173);
747 | this.lblTextHexa.Name = "lblTextHexa";
748 | this.lblTextHexa.Size = new System.Drawing.Size(36, 19);
749 | this.lblTextHexa.TabIndex = 49;
750 | this.lblTextHexa.Text = "HEX";
751 | this.lblTextHexa.Click += new System.EventHandler(this.lblTextHexa_Click);
752 | this.lblTextHexa.MouseLeave += new System.EventHandler(this.lblTextHexa_MouseLeave);
753 | this.lblTextHexa.MouseHover += new System.EventHandler(this.lblTextHexa_MouseHover);
754 | //
755 | // lblTextDecimal
756 | //
757 | this.lblTextDecimal.AutoSize = true;
758 | this.lblTextDecimal.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
759 | this.lblTextDecimal.Location = new System.Drawing.Point(12, 201);
760 | this.lblTextDecimal.Name = "lblTextDecimal";
761 | this.lblTextDecimal.Size = new System.Drawing.Size(35, 19);
762 | this.lblTextDecimal.TabIndex = 49;
763 | this.lblTextDecimal.Text = "DEC";
764 | this.lblTextDecimal.Click += new System.EventHandler(this.lblTextDecimal_Click);
765 | //
766 | // lblTextBinary
767 | //
768 | this.lblTextBinary.AutoSize = true;
769 | this.lblTextBinary.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
770 | this.lblTextBinary.Location = new System.Drawing.Point(12, 253);
771 | this.lblTextBinary.Name = "lblTextBinary";
772 | this.lblTextBinary.Size = new System.Drawing.Size(33, 19);
773 | this.lblTextBinary.TabIndex = 49;
774 | this.lblTextBinary.Text = "BIN";
775 | this.lblTextBinary.Click += new System.EventHandler(this.lblTextBinary_Click);
776 | //
777 | // lblResultDecimal
778 | //
779 | this.lblResultDecimal.AutoSize = true;
780 | this.lblResultDecimal.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
781 | this.lblResultDecimal.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
782 | this.lblResultDecimal.Location = new System.Drawing.Point(57, 203);
783 | this.lblResultDecimal.Name = "lblResultDecimal";
784 | this.lblResultDecimal.Size = new System.Drawing.Size(0, 19);
785 | this.lblResultDecimal.TabIndex = 50;
786 | //
787 | // lblResultOctal
788 | //
789 | this.lblResultOctal.AutoSize = true;
790 | this.lblResultOctal.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
791 | this.lblResultOctal.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
792 | this.lblResultOctal.Location = new System.Drawing.Point(57, 230);
793 | this.lblResultOctal.Name = "lblResultOctal";
794 | this.lblResultOctal.Size = new System.Drawing.Size(0, 19);
795 | this.lblResultOctal.TabIndex = 50;
796 | //
797 | // lblResultBinary
798 | //
799 | this.lblResultBinary.AutoSize = true;
800 | this.lblResultBinary.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
801 | this.lblResultBinary.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
802 | this.lblResultBinary.Location = new System.Drawing.Point(57, 255);
803 | this.lblResultBinary.Name = "lblResultBinary";
804 | this.lblResultBinary.Size = new System.Drawing.Size(0, 19);
805 | this.lblResultBinary.TabIndex = 50;
806 | //
807 | // lblResultHexa
808 | //
809 | this.lblResultHexa.AutoSize = true;
810 | this.lblResultHexa.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
811 | this.lblResultHexa.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
812 | this.lblResultHexa.Location = new System.Drawing.Point(57, 175);
813 | this.lblResultHexa.Name = "lblResultHexa";
814 | this.lblResultHexa.Size = new System.Drawing.Size(0, 19);
815 | this.lblResultHexa.TabIndex = 50;
816 | //
817 | // btnLogarithm
818 | //
819 | this.btnLogarithm.BackColor = System.Drawing.SystemColors.ControlLight;
820 | this.btnLogarithm.FlatAppearance.BorderSize = 0;
821 | this.btnLogarithm.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
822 | this.btnLogarithm.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
823 | this.btnLogarithm.Location = new System.Drawing.Point(254, 62);
824 | this.btnLogarithm.Name = "btnLogarithm";
825 | this.btnLogarithm.Size = new System.Drawing.Size(104, 62);
826 | this.btnLogarithm.TabIndex = 55;
827 | this.btnLogarithm.Text = "Log";
828 | this.btnLogarithm.UseVisualStyleBackColor = false;
829 | this.btnLogarithm.Click += new System.EventHandler(this.btnLogarithm_Click);
830 | //
831 | // btnNumberPowerOfNumber
832 | //
833 | this.btnNumberPowerOfNumber.BackColor = System.Drawing.SystemColors.ControlLight;
834 | this.btnNumberPowerOfNumber.FlatAppearance.BorderSize = 0;
835 | this.btnNumberPowerOfNumber.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
836 | this.btnNumberPowerOfNumber.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
837 | this.btnNumberPowerOfNumber.Location = new System.Drawing.Point(254, 60);
838 | this.btnNumberPowerOfNumber.Name = "btnNumberPowerOfNumber";
839 | this.btnNumberPowerOfNumber.Size = new System.Drawing.Size(104, 62);
840 | this.btnNumberPowerOfNumber.TabIndex = 54;
841 | this.btnNumberPowerOfNumber.Text = "X^y";
842 | this.btnNumberPowerOfNumber.UseVisualStyleBackColor = false;
843 | //
844 | // btnFactorial
845 | //
846 | this.btnFactorial.BackColor = System.Drawing.SystemColors.ControlLight;
847 | this.btnFactorial.FlatAppearance.BorderSize = 0;
848 | this.btnFactorial.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
849 | this.btnFactorial.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
850 | this.btnFactorial.Location = new System.Drawing.Point(254, 60);
851 | this.btnFactorial.Name = "btnFactorial";
852 | this.btnFactorial.Size = new System.Drawing.Size(104, 62);
853 | this.btnFactorial.TabIndex = 53;
854 | this.btnFactorial.Text = "n!";
855 | this.btnFactorial.UseVisualStyleBackColor = false;
856 | //
857 | // btnTenPowerOfNumber
858 | //
859 | this.btnTenPowerOfNumber.BackColor = System.Drawing.SystemColors.ControlLight;
860 | this.btnTenPowerOfNumber.FlatAppearance.BorderSize = 0;
861 | this.btnTenPowerOfNumber.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
862 | this.btnTenPowerOfNumber.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
863 | this.btnTenPowerOfNumber.Location = new System.Drawing.Point(254, 60);
864 | this.btnTenPowerOfNumber.Name = "btnTenPowerOfNumber";
865 | this.btnTenPowerOfNumber.Size = new System.Drawing.Size(104, 62);
866 | this.btnTenPowerOfNumber.TabIndex = 52;
867 | this.btnTenPowerOfNumber.Text = "10^x";
868 | this.btnTenPowerOfNumber.UseVisualStyleBackColor = false;
869 | //
870 | // btnPie
871 | //
872 | this.btnPie.BackColor = System.Drawing.SystemColors.ControlLight;
873 | this.btnPie.FlatAppearance.BorderSize = 0;
874 | this.btnPie.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
875 | this.btnPie.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
876 | this.btnPie.Location = new System.Drawing.Point(254, 62);
877 | this.btnPie.Name = "btnPie";
878 | this.btnPie.Size = new System.Drawing.Size(104, 62);
879 | this.btnPie.TabIndex = 51;
880 | this.btnPie.Text = "Pie";
881 | this.btnPie.UseVisualStyleBackColor = false;
882 | this.btnPie.Click += new System.EventHandler(this.btnPie_Click);
883 | //
884 | // btnC
885 | //
886 | this.btnC.BackColor = System.Drawing.SystemColors.ControlLight;
887 | this.btnC.FlatAppearance.BorderSize = 0;
888 | this.btnC.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
889 | this.btnC.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
890 | this.btnC.Location = new System.Drawing.Point(254, 62);
891 | this.btnC.Name = "btnC";
892 | this.btnC.Size = new System.Drawing.Size(138, 50);
893 | this.btnC.TabIndex = 56;
894 | this.btnC.Text = "C";
895 | this.btnC.UseVisualStyleBackColor = false;
896 | this.btnC.Click += new System.EventHandler(this.Alphabet_Clicks);
897 | //
898 | // btnD
899 | //
900 | this.btnD.BackColor = System.Drawing.SystemColors.ControlLight;
901 | this.btnD.FlatAppearance.BorderSize = 0;
902 | this.btnD.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
903 | this.btnD.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
904 | this.btnD.Location = new System.Drawing.Point(254, 68);
905 | this.btnD.Name = "btnD";
906 | this.btnD.Size = new System.Drawing.Size(138, 50);
907 | this.btnD.TabIndex = 57;
908 | this.btnD.Text = "D";
909 | this.btnD.UseVisualStyleBackColor = false;
910 | this.btnD.Click += new System.EventHandler(this.Alphabet_Clicks);
911 | //
912 | // btnB
913 | //
914 | this.btnB.BackColor = System.Drawing.SystemColors.ControlLight;
915 | this.btnB.FlatAppearance.BorderSize = 0;
916 | this.btnB.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
917 | this.btnB.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
918 | this.btnB.Location = new System.Drawing.Point(241, 59);
919 | this.btnB.Name = "btnB";
920 | this.btnB.Size = new System.Drawing.Size(138, 50);
921 | this.btnB.TabIndex = 58;
922 | this.btnB.Text = "B";
923 | this.btnB.UseVisualStyleBackColor = false;
924 | this.btnB.Click += new System.EventHandler(this.Alphabet_Clicks);
925 | //
926 | // btnA
927 | //
928 | this.btnA.BackColor = System.Drawing.SystemColors.ControlLight;
929 | this.btnA.FlatAppearance.BorderSize = 0;
930 | this.btnA.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
931 | this.btnA.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
932 | this.btnA.Location = new System.Drawing.Point(241, 66);
933 | this.btnA.Name = "btnA";
934 | this.btnA.Size = new System.Drawing.Size(138, 50);
935 | this.btnA.TabIndex = 59;
936 | this.btnA.Text = "A";
937 | this.btnA.UseVisualStyleBackColor = false;
938 | this.btnA.Click += new System.EventHandler(this.Alphabet_Clicks);
939 | //
940 | // btnF
941 | //
942 | this.btnF.BackColor = System.Drawing.SystemColors.ControlLight;
943 | this.btnF.FlatAppearance.BorderSize = 0;
944 | this.btnF.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
945 | this.btnF.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
946 | this.btnF.Location = new System.Drawing.Point(241, 59);
947 | this.btnF.Name = "btnF";
948 | this.btnF.Size = new System.Drawing.Size(138, 50);
949 | this.btnF.TabIndex = 61;
950 | this.btnF.Text = "F";
951 | this.btnF.UseVisualStyleBackColor = false;
952 | this.btnF.Click += new System.EventHandler(this.Alphabet_Clicks);
953 | //
954 | // btnE
955 | //
956 | this.btnE.BackColor = System.Drawing.SystemColors.ControlLight;
957 | this.btnE.FlatAppearance.BorderSize = 0;
958 | this.btnE.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
959 | this.btnE.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
960 | this.btnE.Location = new System.Drawing.Point(254, 62);
961 | this.btnE.Name = "btnE";
962 | this.btnE.Size = new System.Drawing.Size(138, 50);
963 | this.btnE.TabIndex = 60;
964 | this.btnE.Text = "E";
965 | this.btnE.UseVisualStyleBackColor = false;
966 | this.btnE.Click += new System.EventHandler(this.Alphabet_Clicks);
967 | //
968 | // RichTextBoxHistory
969 | //
970 | this.RichTextBoxHistory.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
971 | | System.Windows.Forms.AnchorStyles.Left)
972 | | System.Windows.Forms.AnchorStyles.Right)));
973 | this.RichTextBoxHistory.BackColor = System.Drawing.SystemColors.Control;
974 | this.RichTextBoxHistory.BorderStyle = System.Windows.Forms.BorderStyle.None;
975 | this.RichTextBoxHistory.Enabled = false;
976 | this.RichTextBoxHistory.Font = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
977 | this.RichTextBoxHistory.Location = new System.Drawing.Point(1129, 97);
978 | this.RichTextBoxHistory.Name = "RichTextBoxHistory";
979 | this.RichTextBoxHistory.ReadOnly = true;
980 | this.RichTextBoxHistory.Size = new System.Drawing.Size(25, 391);
981 | this.RichTextBoxHistory.TabIndex = 88;
982 | this.RichTextBoxHistory.Text = "";
983 | //
984 | // lblResultOf
985 | //
986 | this.lblResultOf.BackColor = System.Drawing.SystemColors.Control;
987 | this.lblResultOf.BorderStyle = System.Windows.Forms.BorderStyle.None;
988 | this.lblResultOf.Enabled = false;
989 | this.lblResultOf.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
990 | this.lblResultOf.ImeMode = System.Windows.Forms.ImeMode.Off;
991 | this.lblResultOf.Location = new System.Drawing.Point(33, 162);
992 | this.lblResultOf.Name = "lblResultOf";
993 | this.lblResultOf.ReadOnly = true;
994 | this.lblResultOf.Size = new System.Drawing.Size(795, 19);
995 | this.lblResultOf.TabIndex = 89;
996 | this.lblResultOf.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
997 | //
998 | // btnThree
999 | //
1000 | this.btnThree.BackColor = System.Drawing.SystemColors.ControlLight;
1001 | this.btnThree.FlatAppearance.BorderSize = 0;
1002 | this.btnThree.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
1003 | this.btnThree.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
1004 | this.btnThree.Location = new System.Drawing.Point(953, 237);
1005 | this.btnThree.Name = "btnThree";
1006 | this.btnThree.Size = new System.Drawing.Size(170, 65);
1007 | this.btnThree.TabIndex = 10;
1008 | this.btnThree.Text = "3";
1009 | this.btnThree.UseVisualStyleBackColor = false;
1010 | this.btnThree.Click += new System.EventHandler(this.Numbers_Click);
1011 | //
1012 | // btnSix
1013 | //
1014 | this.btnSix.BackColor = System.Drawing.SystemColors.ControlLight;
1015 | this.btnSix.FlatAppearance.BorderSize = 0;
1016 | this.btnSix.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
1017 | this.btnSix.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
1018 | this.btnSix.Location = new System.Drawing.Point(953, 302);
1019 | this.btnSix.Name = "btnSix";
1020 | this.btnSix.Size = new System.Drawing.Size(170, 65);
1021 | this.btnSix.TabIndex = 9;
1022 | this.btnSix.Text = "6";
1023 | this.btnSix.UseVisualStyleBackColor = false;
1024 | this.btnSix.Click += new System.EventHandler(this.Numbers_Click);
1025 | //
1026 | // PanelTempreture
1027 | //
1028 | this.PanelTempreture.BackColor = System.Drawing.SystemColors.ControlLight;
1029 | this.PanelTempreture.Location = new System.Drawing.Point(387, 223);
1030 | this.PanelTempreture.Name = "PanelTempreture";
1031 | this.PanelTempreture.Size = new System.Drawing.Size(299, 37);
1032 | this.PanelTempreture.TabIndex = 90;
1033 | //
1034 | // cmbTempreture
1035 | //
1036 | this.cmbTempreture.BackColor = System.Drawing.SystemColors.Control;
1037 | this.cmbTempreture.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
1038 | this.cmbTempreture.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
1039 | this.cmbTempreture.FormattingEnabled = true;
1040 | this.cmbTempreture.Items.AddRange(new object[] {
1041 | "Fahrenheit",
1042 | "Celsius",
1043 | "Kelvin"});
1044 | this.cmbTempreture.Location = new System.Drawing.Point(33, 396);
1045 | this.cmbTempreture.Name = "cmbTempreture";
1046 | this.cmbTempreture.Size = new System.Drawing.Size(325, 21);
1047 | this.cmbTempreture.TabIndex = 91;
1048 | //
1049 | // cmbTempretureResult
1050 | //
1051 | this.cmbTempretureResult.BackColor = System.Drawing.SystemColors.Control;
1052 | this.cmbTempretureResult.FormattingEnabled = true;
1053 | this.cmbTempretureResult.Items.AddRange(new object[] {
1054 | "Fahrenheit",
1055 | "Celsius",
1056 | "Kelvin"});
1057 | this.cmbTempretureResult.Location = new System.Drawing.Point(33, 223);
1058 | this.cmbTempretureResult.Name = "cmbTempretureResult";
1059 | this.cmbTempretureResult.Size = new System.Drawing.Size(325, 21);
1060 | this.cmbTempretureResult.TabIndex = 92;
1061 | this.cmbTempretureResult.SelectedIndexChanged += new System.EventHandler(this.cmbTempretureResult_SelectedIndexChanged);
1062 | //
1063 | // txtTempreture
1064 | //
1065 | this.txtTempreture.BackColor = System.Drawing.SystemColors.Control;
1066 | this.txtTempreture.BorderStyle = System.Windows.Forms.BorderStyle.None;
1067 | this.txtTempreture.Font = new System.Drawing.Font("Segoe UI Semibold", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
1068 | this.txtTempreture.Location = new System.Drawing.Point(33, 336);
1069 | this.txtTempreture.Name = "txtTempreture";
1070 | this.txtTempreture.Size = new System.Drawing.Size(325, 47);
1071 | this.txtTempreture.TabIndex = 94;
1072 | //
1073 | // btnShowTreeView
1074 | //
1075 | this.btnShowTreeView.BackColor = System.Drawing.Color.Transparent;
1076 | this.btnShowTreeView.FlatAppearance.BorderSize = 0;
1077 | this.btnShowTreeView.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver;
1078 | this.btnShowTreeView.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
1079 | this.btnShowTreeView.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
1080 | this.btnShowTreeView.Image = global::Window10_Calculator.Properties.Resources.Capture111;
1081 | this.btnShowTreeView.Location = new System.Drawing.Point(0, 0);
1082 | this.btnShowTreeView.Name = "btnShowTreeView";
1083 | this.btnShowTreeView.Size = new System.Drawing.Size(46, 37);
1084 | this.btnShowTreeView.TabIndex = 48;
1085 | this.btnShowTreeView.UseVisualStyleBackColor = false;
1086 | this.btnShowTreeView.Click += new System.EventHandler(this.btnShowTreeView_Click);
1087 | //
1088 | // btnHideTreeView
1089 | //
1090 | this.btnHideTreeView.BackColor = System.Drawing.Color.Transparent;
1091 | this.btnHideTreeView.FlatAppearance.BorderSize = 0;
1092 | this.btnHideTreeView.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Silver;
1093 | this.btnHideTreeView.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
1094 | this.btnHideTreeView.Font = new System.Drawing.Font("Segoe UI Semibold", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
1095 | this.btnHideTreeView.Image = global::Window10_Calculator.Properties.Resources.Capture17;
1096 | this.btnHideTreeView.Location = new System.Drawing.Point(0, 0);
1097 | this.btnHideTreeView.Name = "btnHideTreeView";
1098 | this.btnHideTreeView.Size = new System.Drawing.Size(45, 37);
1099 | this.btnHideTreeView.TabIndex = 31;
1100 | this.btnHideTreeView.UseVisualStyleBackColor = false;
1101 | this.btnHideTreeView.Click += new System.EventHandler(this.btnHideTreeView_Click);
1102 | //
1103 | // lblClearHistory
1104 | //
1105 | this.lblClearHistory.AutoSize = true;
1106 | this.lblClearHistory.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
1107 | this.lblClearHistory.Image = global::Window10_Calculator.Properties.Resources.Capture181;
1108 | this.lblClearHistory.Location = new System.Drawing.Point(1125, 491);
1109 | this.lblClearHistory.Name = "lblClearHistory";
1110 | this.lblClearHistory.Size = new System.Drawing.Size(17, 37);
1111 | this.lblClearHistory.TabIndex = 45;
1112 | this.lblClearHistory.Text = "";
1113 | this.lblClearHistory.Click += new System.EventHandler(this.lblClearHistory_Click);
1114 | //
1115 | // Windows10_Calculator
1116 | //
1117 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
1118 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
1119 | this.BackColor = System.Drawing.SystemColors.Control;
1120 | this.ClientSize = new System.Drawing.Size(1153, 533);
1121 | this.Controls.Add(this.btnOne);
1122 | this.Controls.Add(this.txtTempreture);
1123 | this.Controls.Add(this.btnTwo);
1124 | this.Controls.Add(this.btnFour);
1125 | this.Controls.Add(this.cmbTempretureResult);
1126 | this.Controls.Add(this.btnSeven);
1127 | this.Controls.Add(this.cmbTempreture);
1128 | this.Controls.Add(this.btnZero);
1129 | this.Controls.Add(this.PanelTempreture);
1130 | this.Controls.Add(this.btnFive);
1131 | this.Controls.Add(this.lblResultOf);
1132 | this.Controls.Add(this.btnEight);
1133 | this.Controls.Add(this.RichTextBoxHistory);
1134 | this.Controls.Add(this.btnDot);
1135 | this.Controls.Add(this.btnF);
1136 | this.Controls.Add(this.btnClear);
1137 | this.Controls.Add(this.btnClearAll);
1138 | this.Controls.Add(this.btnE);
1139 | this.Controls.Add(this.btnFirstMinus);
1140 | this.Controls.Add(this.btnA);
1141 | this.Controls.Add(this.btnSix);
1142 | this.Controls.Add(this.btnB);
1143 | this.Controls.Add(this.btnThree);
1144 | this.Controls.Add(this.btnD);
1145 | this.Controls.Add(this.btnNine);
1146 | this.Controls.Add(this.btnC);
1147 | this.Controls.Add(this.btnBackSpace);
1148 | this.Controls.Add(this.btnLogarithm);
1149 | this.Controls.Add(this.btnNumberPowerOfNumber);
1150 | this.Controls.Add(this.btnFactorial);
1151 | this.Controls.Add(this.btnTenPowerOfNumber);
1152 | this.Controls.Add(this.btnPie);
1153 | this.Controls.Add(this.btnEqual);
1154 | this.Controls.Add(this.lblResultHexa);
1155 | this.Controls.Add(this.lblResultBinary);
1156 | this.Controls.Add(this.lblResultOctal);
1157 | this.Controls.Add(this.lblResultDecimal);
1158 | this.Controls.Add(this.lblTextBinary);
1159 | this.Controls.Add(this.lblTextDecimal);
1160 | this.Controls.Add(this.lblTextHexa);
1161 | this.Controls.Add(this.lblTextOctal);
1162 | this.Controls.Add(this.btnShowTreeView);
1163 | this.Controls.Add(this.lblHeading);
1164 | this.Controls.Add(this.TreeViewCalculator);
1165 | this.Controls.Add(this.lblClearHistory);
1166 | this.Controls.Add(this.lblNoHIstory);
1167 | this.Controls.Add(this.lblMemory);
1168 | this.Controls.Add(this.lblHistory);
1169 | this.Controls.Add(this.txtResult);
1170 | this.Controls.Add(this.RichTextBox);
1171 | this.Controls.Add(this.btnLeftBracket);
1172 | this.Controls.Add(this.btnModulas);
1173 | this.Controls.Add(this.btnCosinh);
1174 | this.Controls.Add(this.btnSinh);
1175 | this.Controls.Add(this.btnTanjanth);
1176 | this.Controls.Add(this.btnHideTreeView);
1177 | this.Controls.Add(this.btnNumberDevideByNumber);
1178 | this.Controls.Add(this.btnXPowerOfThree);
1179 | this.Controls.Add(this.btnSquareRoot);
1180 | this.Controls.Add(this.btnXPowerOfTwo);
1181 | this.Controls.Add(this.btnPercent);
1182 | this.Controls.Add(this.btnRightBracket);
1183 | this.Controls.Add(this.btnExp);
1184 | this.Controls.Add(this.btnCosin);
1185 | this.Controls.Add(this.btnSin);
1186 | this.Controls.Add(this.btnTanjant);
1187 | this.Controls.Add(this.btnMinus);
1188 | this.Controls.Add(this.btnPlus);
1189 | this.Controls.Add(this.btnDivide);
1190 | this.Controls.Add(this.btnMultiply);
1191 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
1192 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
1193 | this.Name = "Windows10_Calculator";
1194 | this.ShowIcon = false;
1195 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
1196 | this.Text = "Calculator";
1197 | this.Load += new System.EventHandler(this.Windows10_Calculator_Load);
1198 | this.ResumeLayout(false);
1199 | this.PerformLayout();
1200 |
1201 | }
1202 |
1203 | #endregion
1204 | private System.Windows.Forms.Button btnHideTreeView;
1205 | private System.Windows.Forms.RichTextBox RichTextBox;
1206 | private System.Windows.Forms.TextBox txtResult;
1207 | private System.Windows.Forms.Label lblHistory;
1208 | private System.Windows.Forms.Label lblMemory;
1209 | private System.Windows.Forms.Label lblNoHIstory;
1210 | private System.Windows.Forms.Label lblHeading;
1211 | private System.Windows.Forms.Button btnShowTreeView;
1212 | private System.Windows.Forms.Label lblTextOctal;
1213 | private System.Windows.Forms.Label lblTextHexa;
1214 | private System.Windows.Forms.Label lblTextDecimal;
1215 | private System.Windows.Forms.Label lblTextBinary;
1216 | private System.Windows.Forms.Label lblResultDecimal;
1217 | private System.Windows.Forms.Label lblResultOctal;
1218 | private System.Windows.Forms.Label lblResultBinary;
1219 | private System.Windows.Forms.Label lblResultHexa;
1220 | private System.Windows.Forms.TreeView TreeViewCalculator;
1221 | private System.Windows.Forms.RichTextBox RichTextBoxHistory;
1222 | public System.Windows.Forms.Button btnClear;
1223 | public System.Windows.Forms.Button btnFour;
1224 | public System.Windows.Forms.Button btnOne;
1225 | public System.Windows.Forms.Button btnSeven;
1226 | public System.Windows.Forms.Button btnPlus;
1227 | public System.Windows.Forms.Button btnDivide;
1228 | public System.Windows.Forms.Button btnMultiply;
1229 | public System.Windows.Forms.Button btnBackSpace;
1230 | public System.Windows.Forms.Button btnNine;
1231 | public System.Windows.Forms.Button btnThree;
1232 | public System.Windows.Forms.Button btnSix;
1233 | public System.Windows.Forms.Button btnFirstMinus;
1234 | public System.Windows.Forms.Button btnEight;
1235 | public System.Windows.Forms.Button btnTwo;
1236 | public System.Windows.Forms.Button btnFive;
1237 | public System.Windows.Forms.Button btnClearAll;
1238 | public System.Windows.Forms.Button btnMinus;
1239 | public System.Windows.Forms.Button btnDot;
1240 | public System.Windows.Forms.Button btnEqual;
1241 | public System.Windows.Forms.Button btnZero;
1242 | public System.Windows.Forms.Button btnRightBracket;
1243 | public System.Windows.Forms.Button btnExp;
1244 | public System.Windows.Forms.Button btnLeftBracket;
1245 | public System.Windows.Forms.Button btnModulas;
1246 | public System.Windows.Forms.Button btnLogarithm;
1247 | public System.Windows.Forms.Button btnC;
1248 | public System.Windows.Forms.Button btnD;
1249 | public System.Windows.Forms.Button btnB;
1250 | public System.Windows.Forms.Button btnA;
1251 | public System.Windows.Forms.Button btnF;
1252 | public System.Windows.Forms.Button btnE;
1253 | public System.Windows.Forms.Button btnCosin;
1254 | public System.Windows.Forms.Button btnSin;
1255 | public System.Windows.Forms.Button btnTanjant;
1256 | public System.Windows.Forms.Button btnNumberDevideByNumber;
1257 | public System.Windows.Forms.Button btnXPowerOfThree;
1258 | public System.Windows.Forms.Button btnSquareRoot;
1259 | public System.Windows.Forms.Button btnXPowerOfTwo;
1260 | public System.Windows.Forms.Button btnPercent;
1261 | public System.Windows.Forms.Button btnCosinh;
1262 | public System.Windows.Forms.Button btnSinh;
1263 | public System.Windows.Forms.Button btnTanjanth;
1264 | public System.Windows.Forms.Button btnNumberPowerOfNumber;
1265 | public System.Windows.Forms.Button btnFactorial;
1266 | public System.Windows.Forms.Button btnTenPowerOfNumber;
1267 | public System.Windows.Forms.Button btnPie;
1268 | private System.Windows.Forms.TextBox lblResultOf;
1269 | private System.Windows.Forms.Panel PanelTempreture;
1270 | private System.Windows.Forms.ComboBox cmbTempreture;
1271 | private System.Windows.Forms.ComboBox cmbTempretureResult;
1272 | private System.Windows.Forms.TextBox txtTempreture;
1273 | private System.Windows.Forms.Label lblClearHistory;
1274 | }
1275 | }
--------------------------------------------------------------------------------