└── Projects Source Codes
├── CountingApp
└── CountingApp-master
│ ├── .gitattributes
│ ├── .gitignore
│ ├── CountingApp.sln
│ └── counting2
│ ├── App.config
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── counting2.csproj
├── MathUsing
└── MathUsing-master
│ ├── .gitattributes
│ ├── .gitignore
│ ├── MathUsing.sln
│ └── MathUsing
│ ├── App.config
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── MathUsing.csproj
│ ├── Program.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── RandomUsing
└── RandomUsing-master
│ ├── .gitattributes
│ ├── .gitignore
│ ├── random.sln
│ └── random
│ ├── App.config
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ └── RandomUsing.csproj
└── TimerUsing
└── TimerUsing-master
├── .gitattributes
├── .gitignore
├── TimerUsingg.sln
└── TimerUsingg
├── App.config
├── Form1.Designer.cs
├── Form1.cs
├── Form1.resx
├── Program.cs
├── Properties
├── AssemblyInfo.cs
├── Resources.Designer.cs
├── Resources.resx
├── Settings.Designer.cs
└── Settings.settings
└── TimerUsingg.csproj
/Projects Source Codes/CountingApp/CountingApp-master/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Build results
17 | [Dd]ebug/
18 | [Dd]ebugPublic/
19 | [Rr]elease/
20 | [Rr]eleases/
21 | x64/
22 | x86/
23 | [Aa][Rr][Mm]/
24 | [Aa][Rr][Mm]64/
25 | bld/
26 | [Bb]in/
27 | [Oo]bj/
28 | [Ll]og/
29 |
30 | # Visual Studio 2015/2017 cache/options directory
31 | .vs/
32 | # Uncomment if you have tasks that create the project's static files in wwwroot
33 | #wwwroot/
34 |
35 | # Visual Studio 2017 auto generated files
36 | Generated\ Files/
37 |
38 | # MSTest test Results
39 | [Tt]est[Rr]esult*/
40 | [Bb]uild[Ll]og.*
41 |
42 | # NUNIT
43 | *.VisualState.xml
44 | TestResult.xml
45 |
46 | # Build Results of an ATL Project
47 | [Dd]ebugPS/
48 | [Rr]eleasePS/
49 | dlldata.c
50 |
51 | # Benchmark Results
52 | BenchmarkDotNet.Artifacts/
53 |
54 | # .NET Core
55 | project.lock.json
56 | project.fragment.lock.json
57 | artifacts/
58 |
59 | # StyleCop
60 | StyleCopReport.xml
61 |
62 | # Files built by Visual Studio
63 | *_i.c
64 | *_p.c
65 | *_h.h
66 | *.ilk
67 | *.meta
68 | *.obj
69 | *.iobj
70 | *.pch
71 | *.pdb
72 | *.ipdb
73 | *.pgc
74 | *.pgd
75 | *.rsp
76 | *.sbr
77 | *.tlb
78 | *.tli
79 | *.tlh
80 | *.tmp
81 | *.tmp_proj
82 | *_wpftmp.csproj
83 | *.log
84 | *.vspscc
85 | *.vssscc
86 | .builds
87 | *.pidb
88 | *.svclog
89 | *.scc
90 |
91 | # Chutzpah Test files
92 | _Chutzpah*
93 |
94 | # Visual C++ cache files
95 | ipch/
96 | *.aps
97 | *.ncb
98 | *.opendb
99 | *.opensdf
100 | *.sdf
101 | *.cachefile
102 | *.VC.db
103 | *.VC.VC.opendb
104 |
105 | # Visual Studio profiler
106 | *.psess
107 | *.vsp
108 | *.vspx
109 | *.sap
110 |
111 | # Visual Studio Trace Files
112 | *.e2e
113 |
114 | # TFS 2012 Local Workspace
115 | $tf/
116 |
117 | # Guidance Automation Toolkit
118 | *.gpState
119 |
120 | # ReSharper is a .NET coding add-in
121 | _ReSharper*/
122 | *.[Rr]e[Ss]harper
123 | *.DotSettings.user
124 |
125 | # JustCode is a .NET coding add-in
126 | .JustCode
127 |
128 | # TeamCity is a build add-in
129 | _TeamCity*
130 |
131 | # DotCover is a Code Coverage Tool
132 | *.dotCover
133 |
134 | # AxoCover is a Code Coverage Tool
135 | .axoCover/*
136 | !.axoCover/settings.json
137 |
138 | # Visual Studio code coverage results
139 | *.coverage
140 | *.coveragexml
141 |
142 | # NCrunch
143 | _NCrunch_*
144 | .*crunch*.local.xml
145 | nCrunchTemp_*
146 |
147 | # MightyMoose
148 | *.mm.*
149 | AutoTest.Net/
150 |
151 | # Web workbench (sass)
152 | .sass-cache/
153 |
154 | # Installshield output folder
155 | [Ee]xpress/
156 |
157 | # DocProject is a documentation generator add-in
158 | DocProject/buildhelp/
159 | DocProject/Help/*.HxT
160 | DocProject/Help/*.HxC
161 | DocProject/Help/*.hhc
162 | DocProject/Help/*.hhk
163 | DocProject/Help/*.hhp
164 | DocProject/Help/Html2
165 | DocProject/Help/html
166 |
167 | # Click-Once directory
168 | publish/
169 |
170 | # Publish Web Output
171 | *.[Pp]ublish.xml
172 | *.azurePubxml
173 | # Note: Comment the next line if you want to checkin your web deploy settings,
174 | # but database connection strings (with potential passwords) will be unencrypted
175 | *.pubxml
176 | *.publishproj
177 |
178 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
179 | # checkin your Azure Web App publish settings, but sensitive information contained
180 | # in these scripts will be unencrypted
181 | PublishScripts/
182 |
183 | # NuGet Packages
184 | *.nupkg
185 | # The packages folder can be ignored because of Package Restore
186 | **/[Pp]ackages/*
187 | # except build/, which is used as an MSBuild target.
188 | !**/[Pp]ackages/build/
189 | # Uncomment if necessary however generally it will be regenerated when needed
190 | #!**/[Pp]ackages/repositories.config
191 | # NuGet v3's project.json files produces more ignorable files
192 | *.nuget.props
193 | *.nuget.targets
194 |
195 | # Microsoft Azure Build Output
196 | csx/
197 | *.build.csdef
198 |
199 | # Microsoft Azure Emulator
200 | ecf/
201 | rcf/
202 |
203 | # Windows Store app package directories and files
204 | AppPackages/
205 | BundleArtifacts/
206 | Package.StoreAssociation.xml
207 | _pkginfo.txt
208 | *.appx
209 |
210 | # Visual Studio cache files
211 | # files ending in .cache can be ignored
212 | *.[Cc]ache
213 | # but keep track of directories ending in .cache
214 | !?*.[Cc]ache/
215 |
216 | # Others
217 | ClientBin/
218 | ~$*
219 | *~
220 | *.dbmdl
221 | *.dbproj.schemaview
222 | *.jfm
223 | *.pfx
224 | *.publishsettings
225 | orleans.codegen.cs
226 |
227 | # Including strong name files can present a security risk
228 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
229 | #*.snk
230 |
231 | # Since there are multiple workflows, uncomment next line to ignore bower_components
232 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
233 | #bower_components/
234 |
235 | # RIA/Silverlight projects
236 | Generated_Code/
237 |
238 | # Backup & report files from converting an old project file
239 | # to a newer Visual Studio version. Backup files are not needed,
240 | # because we have git ;-)
241 | _UpgradeReport_Files/
242 | Backup*/
243 | UpgradeLog*.XML
244 | UpgradeLog*.htm
245 | ServiceFabricBackup/
246 | *.rptproj.bak
247 |
248 | # SQL Server files
249 | *.mdf
250 | *.ldf
251 | *.ndf
252 |
253 | # Business Intelligence projects
254 | *.rdl.data
255 | *.bim.layout
256 | *.bim_*.settings
257 | *.rptproj.rsuser
258 | *- Backup*.rdl
259 |
260 | # Microsoft Fakes
261 | FakesAssemblies/
262 |
263 | # GhostDoc plugin setting file
264 | *.GhostDoc.xml
265 |
266 | # Node.js Tools for Visual Studio
267 | .ntvs_analysis.dat
268 | node_modules/
269 |
270 | # Visual Studio 6 build log
271 | *.plg
272 |
273 | # Visual Studio 6 workspace options file
274 | *.opt
275 |
276 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
277 | *.vbw
278 |
279 | # Visual Studio LightSwitch build output
280 | **/*.HTMLClient/GeneratedArtifacts
281 | **/*.DesktopClient/GeneratedArtifacts
282 | **/*.DesktopClient/ModelManifest.xml
283 | **/*.Server/GeneratedArtifacts
284 | **/*.Server/ModelManifest.xml
285 | _Pvt_Extensions
286 |
287 | # Paket dependency manager
288 | .paket/paket.exe
289 | paket-files/
290 |
291 | # FAKE - F# Make
292 | .fake/
293 |
294 | # JetBrains Rider
295 | .idea/
296 | *.sln.iml
297 |
298 | # CodeRush personal settings
299 | .cr/personal
300 |
301 | # Python Tools for Visual Studio (PTVS)
302 | __pycache__/
303 | *.pyc
304 |
305 | # Cake - Uncomment if you are using it
306 | # tools/**
307 | # !tools/packages.config
308 |
309 | # Tabs Studio
310 | *.tss
311 |
312 | # Telerik's JustMock configuration file
313 | *.jmconfig
314 |
315 | # BizTalk build output
316 | *.btp.cs
317 | *.btm.cs
318 | *.odx.cs
319 | *.xsd.cs
320 |
321 | # OpenCover UI analysis results
322 | OpenCover/
323 |
324 | # Azure Stream Analytics local run output
325 | ASALocalRun/
326 |
327 | # MSBuild Binary and Structured Log
328 | *.binlog
329 |
330 | # NVidia Nsight GPU debugger configuration file
331 | *.nvuser
332 |
333 | # MFractors (Xamarin productivity tool) working folder
334 | .mfractor/
335 |
336 | # Local History for Visual Studio
337 | .localhistory/
338 |
339 | # BeatPulse healthcheck temp database
340 | healthchecksdb
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/CountingApp.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29009.5
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "counting2", "counting2\counting2.csproj", "{D8BC3C11-9C48-4891-848F-A38DA66906AF}"
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 | {D8BC3C11-9C48-4891-848F-A38DA66906AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {D8BC3C11-9C48-4891-848F-A38DA66906AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {D8BC3C11-9C48-4891-848F-A38DA66906AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {D8BC3C11-9C48-4891-848F-A38DA66906AF}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {47ED9FE6-708A-4E51-9A86-B426334E3833}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/counting2/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/counting2/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace counting2
2 | {
3 | partial class Form1
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 | this.label1 = new System.Windows.Forms.Label();
32 | this.label2 = new System.Windows.Forms.Label();
33 | this.txtStartFrom = new System.Windows.Forms.TextBox();
34 | this.txtTo = new System.Windows.Forms.TextBox();
35 | this.cmbDivisibleTerm = new System.Windows.Forms.ComboBox();
36 | this.label3 = new System.Windows.Forms.Label();
37 | this.btnExit = new System.Windows.Forms.Button();
38 | this.btnCount = new System.Windows.Forms.Button();
39 | this.txtDivisibleNumber = new System.Windows.Forms.TextBox();
40 | this.label4 = new System.Windows.Forms.Label();
41 | this.groupBox1 = new System.Windows.Forms.GroupBox();
42 | this.rbGreen = new System.Windows.Forms.RadioButton();
43 | this.rbBlue = new System.Windows.Forms.RadioButton();
44 | this.rbRed = new System.Windows.Forms.RadioButton();
45 | this.rbBlack = new System.Windows.Forms.RadioButton();
46 | this.chBold = new System.Windows.Forms.CheckBox();
47 | this.chItalic = new System.Windows.Forms.CheckBox();
48 | this.groupBox1.SuspendLayout();
49 | this.SuspendLayout();
50 | //
51 | // label1
52 | //
53 | this.label1.AutoSize = true;
54 | this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
55 | this.label1.Location = new System.Drawing.Point(23, 22);
56 | this.label1.Name = "label1";
57 | this.label1.Size = new System.Drawing.Size(172, 20);
58 | this.label1.TabIndex = 0;
59 | this.label1.Text = "Numbers starts from";
60 | this.label1.Click += new System.EventHandler(this.Label1_Click);
61 | //
62 | // label2
63 | //
64 | this.label2.AutoSize = true;
65 | this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
66 | this.label2.Location = new System.Drawing.Point(349, 22);
67 | this.label2.Name = "label2";
68 | this.label2.Size = new System.Drawing.Size(29, 20);
69 | this.label2.TabIndex = 0;
70 | this.label2.Text = "To";
71 | //
72 | // txtStartFrom
73 | //
74 | this.txtStartFrom.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
75 | this.txtStartFrom.Location = new System.Drawing.Point(201, 19);
76 | this.txtStartFrom.Name = "txtStartFrom";
77 | this.txtStartFrom.Size = new System.Drawing.Size(120, 26);
78 | this.txtStartFrom.TabIndex = 0;
79 | this.txtStartFrom.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TxtStartFrom_KeyPress);
80 | //
81 | // txtTo
82 | //
83 | this.txtTo.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
84 | this.txtTo.Location = new System.Drawing.Point(384, 19);
85 | this.txtTo.Name = "txtTo";
86 | this.txtTo.Size = new System.Drawing.Size(100, 26);
87 | this.txtTo.TabIndex = 1;
88 | this.txtTo.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TxtTo_KeyPress);
89 | //
90 | // cmbDivisibleTerm
91 | //
92 | this.cmbDivisibleTerm.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
93 | this.cmbDivisibleTerm.FormattingEnabled = true;
94 | this.cmbDivisibleTerm.Location = new System.Drawing.Point(200, 86);
95 | this.cmbDivisibleTerm.Name = "cmbDivisibleTerm";
96 | this.cmbDivisibleTerm.Size = new System.Drawing.Size(121, 28);
97 | this.cmbDivisibleTerm.TabIndex = 2;
98 | this.cmbDivisibleTerm.SelectedIndexChanged += new System.EventHandler(this.CmbDivisibleTerm_SelectedIndexChanged);
99 | //
100 | // label3
101 | //
102 | this.label3.AutoSize = true;
103 | this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
104 | this.label3.Location = new System.Drawing.Point(12, 89);
105 | this.label3.Name = "label3";
106 | this.label3.Size = new System.Drawing.Size(172, 20);
107 | this.label3.TabIndex = 0;
108 | this.label3.Text = "Numbers starts from";
109 | this.label3.Click += new System.EventHandler(this.Label1_Click);
110 | //
111 | // btnExit
112 | //
113 | this.btnExit.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
114 | this.btnExit.Location = new System.Drawing.Point(16, 168);
115 | this.btnExit.Name = "btnExit";
116 | this.btnExit.Size = new System.Drawing.Size(114, 34);
117 | this.btnExit.TabIndex = 7;
118 | this.btnExit.Text = "Exit";
119 | this.btnExit.UseVisualStyleBackColor = true;
120 | this.btnExit.Click += new System.EventHandler(this.BtnExit_Click);
121 | //
122 | // btnCount
123 | //
124 | this.btnCount.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
125 | this.btnCount.Location = new System.Drawing.Point(157, 168);
126 | this.btnCount.Name = "btnCount";
127 | this.btnCount.Size = new System.Drawing.Size(114, 34);
128 | this.btnCount.TabIndex = 6;
129 | this.btnCount.Text = "Count";
130 | this.btnCount.UseVisualStyleBackColor = true;
131 | this.btnCount.Click += new System.EventHandler(this.BtnCount_Click);
132 | //
133 | // txtDivisibleNumber
134 | //
135 | this.txtDivisibleNumber.Dock = System.Windows.Forms.DockStyle.Bottom;
136 | this.txtDivisibleNumber.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
137 | this.txtDivisibleNumber.Location = new System.Drawing.Point(0, 208);
138 | this.txtDivisibleNumber.Multiline = true;
139 | this.txtDivisibleNumber.Name = "txtDivisibleNumber";
140 | this.txtDivisibleNumber.Size = new System.Drawing.Size(800, 242);
141 | this.txtDivisibleNumber.TabIndex = 8;
142 | //
143 | // label4
144 | //
145 | this.label4.AutoSize = true;
146 | this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
147 | this.label4.Location = new System.Drawing.Point(23, 239);
148 | this.label4.Name = "label4";
149 | this.label4.Size = new System.Drawing.Size(172, 20);
150 | this.label4.TabIndex = 0;
151 | this.label4.Text = "Numbers starts from";
152 | this.label4.Click += new System.EventHandler(this.Label1_Click);
153 | //
154 | // groupBox1
155 | //
156 | this.groupBox1.Controls.Add(this.rbGreen);
157 | this.groupBox1.Controls.Add(this.rbBlue);
158 | this.groupBox1.Controls.Add(this.rbRed);
159 | this.groupBox1.Controls.Add(this.rbBlack);
160 | this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
161 | this.groupBox1.Location = new System.Drawing.Point(369, 65);
162 | this.groupBox1.Name = "groupBox1";
163 | this.groupBox1.Size = new System.Drawing.Size(357, 137);
164 | this.groupBox1.TabIndex = 3;
165 | this.groupBox1.TabStop = false;
166 | this.groupBox1.Text = "Select Text Color ";
167 | //
168 | // rbGreen
169 | //
170 | this.rbGreen.AutoSize = true;
171 | this.rbGreen.Location = new System.Drawing.Point(17, 102);
172 | this.rbGreen.Name = "rbGreen";
173 | this.rbGreen.Size = new System.Drawing.Size(64, 19);
174 | this.rbGreen.TabIndex = 0;
175 | this.rbGreen.Text = "Green";
176 | this.rbGreen.UseVisualStyleBackColor = true;
177 | this.rbGreen.CheckedChanged += new System.EventHandler(this.RbGreen_CheckedChanged);
178 | //
179 | // rbBlue
180 | //
181 | this.rbBlue.AutoSize = true;
182 | this.rbBlue.Location = new System.Drawing.Point(17, 75);
183 | this.rbBlue.Name = "rbBlue";
184 | this.rbBlue.Size = new System.Drawing.Size(54, 19);
185 | this.rbBlue.TabIndex = 0;
186 | this.rbBlue.Text = "Blue";
187 | this.rbBlue.UseVisualStyleBackColor = true;
188 | this.rbBlue.CheckedChanged += new System.EventHandler(this.RbBlue_CheckedChanged);
189 | //
190 | // rbRed
191 | //
192 | this.rbRed.AutoSize = true;
193 | this.rbRed.Location = new System.Drawing.Point(17, 48);
194 | this.rbRed.Name = "rbRed";
195 | this.rbRed.Size = new System.Drawing.Size(51, 19);
196 | this.rbRed.TabIndex = 0;
197 | this.rbRed.Text = "Red";
198 | this.rbRed.UseVisualStyleBackColor = true;
199 | this.rbRed.CheckedChanged += new System.EventHandler(this.RbRed_CheckedChanged);
200 | //
201 | // rbBlack
202 | //
203 | this.rbBlack.AutoSize = true;
204 | this.rbBlack.Checked = true;
205 | this.rbBlack.Location = new System.Drawing.Point(17, 21);
206 | this.rbBlack.Name = "rbBlack";
207 | this.rbBlack.Size = new System.Drawing.Size(60, 19);
208 | this.rbBlack.TabIndex = 0;
209 | this.rbBlack.TabStop = true;
210 | this.rbBlack.Text = "Black";
211 | this.rbBlack.UseVisualStyleBackColor = true;
212 | this.rbBlack.CheckedChanged += new System.EventHandler(this.RbBlack_CheckedChanged);
213 | //
214 | // chBold
215 | //
216 | this.chBold.AutoSize = true;
217 | this.chBold.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
218 | this.chBold.Location = new System.Drawing.Point(39, 128);
219 | this.chBold.Name = "chBold";
220 | this.chBold.Size = new System.Drawing.Size(58, 17);
221 | this.chBold.TabIndex = 4;
222 | this.chBold.Text = "Bold?";
223 | this.chBold.UseVisualStyleBackColor = true;
224 | this.chBold.CheckedChanged += new System.EventHandler(this.ChBold_CheckedChanged);
225 | //
226 | // chItalic
227 | //
228 | this.chItalic.AutoSize = true;
229 | this.chItalic.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
230 | this.chItalic.Location = new System.Drawing.Point(126, 128);
231 | this.chItalic.Name = "chItalic";
232 | this.chItalic.Size = new System.Drawing.Size(54, 17);
233 | this.chItalic.TabIndex = 5;
234 | this.chItalic.Text = "Italic";
235 | this.chItalic.UseVisualStyleBackColor = true;
236 | this.chItalic.CheckedChanged += new System.EventHandler(this.ChItalic_CheckedChanged);
237 | //
238 | // Form1
239 | //
240 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
241 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
242 | this.ClientSize = new System.Drawing.Size(800, 450);
243 | this.Controls.Add(this.chItalic);
244 | this.Controls.Add(this.chBold);
245 | this.Controls.Add(this.groupBox1);
246 | this.Controls.Add(this.btnCount);
247 | this.Controls.Add(this.btnExit);
248 | this.Controls.Add(this.cmbDivisibleTerm);
249 | this.Controls.Add(this.txtDivisibleNumber);
250 | this.Controls.Add(this.txtTo);
251 | this.Controls.Add(this.txtStartFrom);
252 | this.Controls.Add(this.label2);
253 | this.Controls.Add(this.label4);
254 | this.Controls.Add(this.label3);
255 | this.Controls.Add(this.label1);
256 | this.Name = "Form1";
257 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
258 | this.Text = "Form1";
259 | this.Load += new System.EventHandler(this.Form1_Load);
260 | this.groupBox1.ResumeLayout(false);
261 | this.groupBox1.PerformLayout();
262 | this.ResumeLayout(false);
263 | this.PerformLayout();
264 |
265 | }
266 |
267 | #endregion
268 |
269 | private System.Windows.Forms.Label label1;
270 | private System.Windows.Forms.Label label2;
271 | private System.Windows.Forms.TextBox txtStartFrom;
272 | private System.Windows.Forms.TextBox txtTo;
273 | private System.Windows.Forms.ComboBox cmbDivisibleTerm;
274 | private System.Windows.Forms.Label label3;
275 | private System.Windows.Forms.Button btnExit;
276 | private System.Windows.Forms.Button btnCount;
277 | private System.Windows.Forms.TextBox txtDivisibleNumber;
278 | private System.Windows.Forms.Label label4;
279 | private System.Windows.Forms.GroupBox groupBox1;
280 | private System.Windows.Forms.RadioButton rbGreen;
281 | private System.Windows.Forms.RadioButton rbBlue;
282 | private System.Windows.Forms.RadioButton rbRed;
283 | private System.Windows.Forms.RadioButton rbBlack;
284 | private System.Windows.Forms.CheckBox chBold;
285 | private System.Windows.Forms.CheckBox chItalic;
286 | }
287 | }
288 |
289 |
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/counting2/Form1.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 counting2
12 | {
13 | public partial class Form1 : Form
14 | {
15 | public Form1()
16 | {
17 | InitializeComponent();
18 |
19 | }
20 |
21 | private void Label1_Click(object sender, EventArgs e)
22 | {
23 |
24 | }
25 | int divisibleTerm = 1;
26 | int firstNumber = 0, lastNumber = 0, controlNumber = 0;
27 | string divisibleNumber;
28 | private void Form1_Load(object sender, EventArgs e)
29 | {
30 | cmbDivisibleTerm.Items.Add("2");
31 | cmbDivisibleTerm.Items.Add("3");
32 | cmbDivisibleTerm.Items.Add("4");
33 | cmbDivisibleTerm.Items.Add("5");
34 | cmbDivisibleTerm.Items.Add("6");
35 | cmbDivisibleTerm.Items.Add("7");
36 | cmbDivisibleTerm.Items.Add("9");
37 | cmbDivisibleTerm.Items.Add("10");
38 |
39 |
40 | }
41 |
42 | private void BtnExit_Click(object sender, EventArgs e)
43 | {
44 | Application.Exit();
45 | }
46 |
47 | private void RbBlack_CheckedChanged(object sender, EventArgs e)
48 | {
49 | if (rbBlack.Checked)
50 | {
51 | rbRed.Checked = false;
52 | rbBlue.Checked = false;
53 | rbGreen.Checked = false;
54 | txtDivisibleNumber.ForeColor = Color.Black;
55 |
56 | }
57 | }
58 |
59 | private void RbRed_CheckedChanged(object sender, EventArgs e)
60 | {
61 | if (rbRed.Checked)
62 | {
63 | rbBlack.Checked = false;
64 | rbBlue.Checked = false;
65 | rbGreen.Checked = false;
66 | txtDivisibleNumber.ForeColor = Color.Red;
67 |
68 | }
69 | }
70 | string textcolor;
71 | private void RbBlue_CheckedChanged(object sender, EventArgs e)
72 | {
73 | if (rbBlue.Checked)
74 | {
75 | rbBlack.Checked = false;
76 | rbRed.Checked= false;
77 | rbGreen.Checked = false;
78 | txtDivisibleNumber.ForeColor = Color.Blue;
79 |
80 | }
81 | }
82 |
83 | private void RbGreen_CheckedChanged(object sender, EventArgs e)
84 | {
85 | if (rbGreen.Checked)
86 | {
87 | rbBlack.Checked = false;
88 | rbRed.Checked = false;
89 | rbBlue.Checked = false;
90 | txtDivisibleNumber.ForeColor = Color.Green;
91 |
92 | }
93 | }
94 |
95 | private void ChBold_CheckedChanged(object sender, EventArgs e)
96 | {
97 | if(chBold.Checked)
98 | txtDivisibleNumber.Font = new Font(txtDivisibleNumber.Font.FontFamily, txtDivisibleNumber.Font.Size, FontStyle.Bold);
99 | else
100 | txtDivisibleNumber.Font = new Font(txtDivisibleNumber.Font.FontFamily, txtDivisibleNumber.Font.Size, FontStyle.Regular);
101 |
102 | }
103 |
104 | private void ChItalic_CheckedChanged(object sender, EventArgs e)
105 | {
106 | if (chItalic.Checked)
107 | txtDivisibleNumber.Font = new Font(txtDivisibleNumber.Font.FontFamily, txtDivisibleNumber.Font.Size, FontStyle.Italic);
108 | else
109 | txtDivisibleNumber.Font = new Font(txtDivisibleNumber.Font.FontFamily, txtDivisibleNumber.Font.Size, FontStyle.Regular);
110 |
111 | }
112 |
113 | private void TxtStartFrom_KeyPress(object sender, KeyPressEventArgs e)
114 | {
115 | if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar) &&
116 | (e.KeyChar != '.'))
117 | {
118 | e.Handled = true;
119 | }
120 |
121 | // only allow one decimal point
122 | if ((e.KeyChar == '.') && ((sender as TextBox).Text.IndexOf('.') > -1))
123 | {
124 | e.Handled = true;
125 | }
126 | }
127 |
128 | private void TxtTo_KeyPress(object sender, KeyPressEventArgs e)
129 | {
130 | if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar) &&
131 | (e.KeyChar != '.'))
132 | {
133 | e.Handled = true;
134 | }
135 |
136 | // only allow one decimal point
137 | if ((e.KeyChar == '.') && ((sender as TextBox).Text.IndexOf('.') > -1))
138 | {
139 | e.Handled = true;
140 | }
141 | }
142 |
143 | private void BtnCount_Click(object sender, EventArgs e)
144 | {
145 | if (txtStartFrom.Text == null || txtStartFrom.Text == "" || txtTo.Text == null || txtTo.Text == "")
146 | {
147 | MessageBox.Show("Please fill necessary fields!!");
148 | }
149 | else if (cmbDivisibleTerm.SelectedIndex == -1)
150 | {
151 | MessageBox.Show("Please select divisible term");
152 | }
153 | else
154 | {
155 | txtDivisibleNumber.Clear();
156 |
157 | firstNumber = Convert.ToInt32(txtStartFrom.Text);
158 | lastNumber = Convert.ToInt32(txtTo.Text);
159 | for (int i = firstNumber; i <= lastNumber; i++)
160 | {
161 | if (i % divisibleTerm == 0)
162 | {
163 | if (controlNumber % 10 == 0)
164 | {
165 | divisibleNumber += Environment.NewLine;
166 | }
167 | divisibleNumber += " " + i + " ";
168 | controlNumber++;
169 | }
170 |
171 | }
172 | txtDivisibleNumber.Text = divisibleNumber;
173 | }
174 |
175 | }
176 |
177 | private void CmbDivisibleTerm_SelectedIndexChanged(object sender, EventArgs e)
178 | {
179 | divisibleTerm = Convert.ToInt32(cmbDivisibleTerm.SelectedItem);
180 | label4.Text = "these Numbers Can be divided " + divisibleTerm;
181 | }
182 | }
183 | }
184 |
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/counting2/Form1.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 |
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/counting2/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 counting2
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 Form1());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/counting2/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("counting2")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("counting2")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
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("d8bc3c11-9c48-4891-848f-a38da66906af")]
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 |
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/counting2/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 counting2.Properties
12 | {
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 |
28 | private static global::System.Resources.ResourceManager resourceMan;
29 |
30 | private static global::System.Globalization.CultureInfo resourceCulture;
31 |
32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
33 | internal Resources()
34 | {
35 | }
36 |
37 | ///
38 | /// Returns the cached ResourceManager instance used by this class.
39 | ///
40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
41 | internal static global::System.Resources.ResourceManager ResourceManager
42 | {
43 | get
44 | {
45 | if ((resourceMan == null))
46 | {
47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("counting2.Properties.Resources", typeof(Resources).Assembly);
48 | resourceMan = temp;
49 | }
50 | return resourceMan;
51 | }
52 | }
53 |
54 | ///
55 | /// Overrides the current thread's CurrentUICulture property for all
56 | /// resource lookups using this strongly typed resource class.
57 | ///
58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
59 | internal static global::System.Globalization.CultureInfo Culture
60 | {
61 | get
62 | {
63 | return resourceCulture;
64 | }
65 | set
66 | {
67 | resourceCulture = value;
68 | }
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/counting2/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 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/counting2/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 counting2.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 |
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/counting2/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Projects Source Codes/CountingApp/CountingApp-master/counting2/counting2.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {D8BC3C11-9C48-4891-848F-A38DA66906AF}
8 | WinExe
9 | counting2
10 | counting2
11 | v4.7.2
12 | 512
13 | true
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 | Form
51 |
52 |
53 | Form1.cs
54 |
55 |
56 |
57 |
58 | Form1.cs
59 |
60 |
61 | ResXFileCodeGenerator
62 | Resources.Designer.cs
63 | Designer
64 |
65 |
66 | True
67 | Resources.resx
68 |
69 |
70 | SettingsSingleFileGenerator
71 | Settings.Designer.cs
72 |
73 |
74 | True
75 | Settings.settings
76 | True
77 |
78 |
79 |
80 |
81 |
82 |
83 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Build results
17 | [Dd]ebug/
18 | [Dd]ebugPublic/
19 | [Rr]elease/
20 | [Rr]eleases/
21 | x64/
22 | x86/
23 | [Aa][Rr][Mm]/
24 | [Aa][Rr][Mm]64/
25 | bld/
26 | [Bb]in/
27 | [Oo]bj/
28 | [Ll]og/
29 |
30 | # Visual Studio 2015/2017 cache/options directory
31 | .vs/
32 | # Uncomment if you have tasks that create the project's static files in wwwroot
33 | #wwwroot/
34 |
35 | # Visual Studio 2017 auto generated files
36 | Generated\ Files/
37 |
38 | # MSTest test Results
39 | [Tt]est[Rr]esult*/
40 | [Bb]uild[Ll]og.*
41 |
42 | # NUNIT
43 | *.VisualState.xml
44 | TestResult.xml
45 |
46 | # Build Results of an ATL Project
47 | [Dd]ebugPS/
48 | [Rr]eleasePS/
49 | dlldata.c
50 |
51 | # Benchmark Results
52 | BenchmarkDotNet.Artifacts/
53 |
54 | # .NET Core
55 | project.lock.json
56 | project.fragment.lock.json
57 | artifacts/
58 |
59 | # StyleCop
60 | StyleCopReport.xml
61 |
62 | # Files built by Visual Studio
63 | *_i.c
64 | *_p.c
65 | *_h.h
66 | *.ilk
67 | *.meta
68 | *.obj
69 | *.iobj
70 | *.pch
71 | *.pdb
72 | *.ipdb
73 | *.pgc
74 | *.pgd
75 | *.rsp
76 | *.sbr
77 | *.tlb
78 | *.tli
79 | *.tlh
80 | *.tmp
81 | *.tmp_proj
82 | *_wpftmp.csproj
83 | *.log
84 | *.vspscc
85 | *.vssscc
86 | .builds
87 | *.pidb
88 | *.svclog
89 | *.scc
90 |
91 | # Chutzpah Test files
92 | _Chutzpah*
93 |
94 | # Visual C++ cache files
95 | ipch/
96 | *.aps
97 | *.ncb
98 | *.opendb
99 | *.opensdf
100 | *.sdf
101 | *.cachefile
102 | *.VC.db
103 | *.VC.VC.opendb
104 |
105 | # Visual Studio profiler
106 | *.psess
107 | *.vsp
108 | *.vspx
109 | *.sap
110 |
111 | # Visual Studio Trace Files
112 | *.e2e
113 |
114 | # TFS 2012 Local Workspace
115 | $tf/
116 |
117 | # Guidance Automation Toolkit
118 | *.gpState
119 |
120 | # ReSharper is a .NET coding add-in
121 | _ReSharper*/
122 | *.[Rr]e[Ss]harper
123 | *.DotSettings.user
124 |
125 | # JustCode is a .NET coding add-in
126 | .JustCode
127 |
128 | # TeamCity is a build add-in
129 | _TeamCity*
130 |
131 | # DotCover is a Code Coverage Tool
132 | *.dotCover
133 |
134 | # AxoCover is a Code Coverage Tool
135 | .axoCover/*
136 | !.axoCover/settings.json
137 |
138 | # Visual Studio code coverage results
139 | *.coverage
140 | *.coveragexml
141 |
142 | # NCrunch
143 | _NCrunch_*
144 | .*crunch*.local.xml
145 | nCrunchTemp_*
146 |
147 | # MightyMoose
148 | *.mm.*
149 | AutoTest.Net/
150 |
151 | # Web workbench (sass)
152 | .sass-cache/
153 |
154 | # Installshield output folder
155 | [Ee]xpress/
156 |
157 | # DocProject is a documentation generator add-in
158 | DocProject/buildhelp/
159 | DocProject/Help/*.HxT
160 | DocProject/Help/*.HxC
161 | DocProject/Help/*.hhc
162 | DocProject/Help/*.hhk
163 | DocProject/Help/*.hhp
164 | DocProject/Help/Html2
165 | DocProject/Help/html
166 |
167 | # Click-Once directory
168 | publish/
169 |
170 | # Publish Web Output
171 | *.[Pp]ublish.xml
172 | *.azurePubxml
173 | # Note: Comment the next line if you want to checkin your web deploy settings,
174 | # but database connection strings (with potential passwords) will be unencrypted
175 | *.pubxml
176 | *.publishproj
177 |
178 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
179 | # checkin your Azure Web App publish settings, but sensitive information contained
180 | # in these scripts will be unencrypted
181 | PublishScripts/
182 |
183 | # NuGet Packages
184 | *.nupkg
185 | # The packages folder can be ignored because of Package Restore
186 | **/[Pp]ackages/*
187 | # except build/, which is used as an MSBuild target.
188 | !**/[Pp]ackages/build/
189 | # Uncomment if necessary however generally it will be regenerated when needed
190 | #!**/[Pp]ackages/repositories.config
191 | # NuGet v3's project.json files produces more ignorable files
192 | *.nuget.props
193 | *.nuget.targets
194 |
195 | # Microsoft Azure Build Output
196 | csx/
197 | *.build.csdef
198 |
199 | # Microsoft Azure Emulator
200 | ecf/
201 | rcf/
202 |
203 | # Windows Store app package directories and files
204 | AppPackages/
205 | BundleArtifacts/
206 | Package.StoreAssociation.xml
207 | _pkginfo.txt
208 | *.appx
209 |
210 | # Visual Studio cache files
211 | # files ending in .cache can be ignored
212 | *.[Cc]ache
213 | # but keep track of directories ending in .cache
214 | !?*.[Cc]ache/
215 |
216 | # Others
217 | ClientBin/
218 | ~$*
219 | *~
220 | *.dbmdl
221 | *.dbproj.schemaview
222 | *.jfm
223 | *.pfx
224 | *.publishsettings
225 | orleans.codegen.cs
226 |
227 | # Including strong name files can present a security risk
228 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
229 | #*.snk
230 |
231 | # Since there are multiple workflows, uncomment next line to ignore bower_components
232 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
233 | #bower_components/
234 |
235 | # RIA/Silverlight projects
236 | Generated_Code/
237 |
238 | # Backup & report files from converting an old project file
239 | # to a newer Visual Studio version. Backup files are not needed,
240 | # because we have git ;-)
241 | _UpgradeReport_Files/
242 | Backup*/
243 | UpgradeLog*.XML
244 | UpgradeLog*.htm
245 | ServiceFabricBackup/
246 | *.rptproj.bak
247 |
248 | # SQL Server files
249 | *.mdf
250 | *.ldf
251 | *.ndf
252 |
253 | # Business Intelligence projects
254 | *.rdl.data
255 | *.bim.layout
256 | *.bim_*.settings
257 | *.rptproj.rsuser
258 | *- Backup*.rdl
259 |
260 | # Microsoft Fakes
261 | FakesAssemblies/
262 |
263 | # GhostDoc plugin setting file
264 | *.GhostDoc.xml
265 |
266 | # Node.js Tools for Visual Studio
267 | .ntvs_analysis.dat
268 | node_modules/
269 |
270 | # Visual Studio 6 build log
271 | *.plg
272 |
273 | # Visual Studio 6 workspace options file
274 | *.opt
275 |
276 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
277 | *.vbw
278 |
279 | # Visual Studio LightSwitch build output
280 | **/*.HTMLClient/GeneratedArtifacts
281 | **/*.DesktopClient/GeneratedArtifacts
282 | **/*.DesktopClient/ModelManifest.xml
283 | **/*.Server/GeneratedArtifacts
284 | **/*.Server/ModelManifest.xml
285 | _Pvt_Extensions
286 |
287 | # Paket dependency manager
288 | .paket/paket.exe
289 | paket-files/
290 |
291 | # FAKE - F# Make
292 | .fake/
293 |
294 | # JetBrains Rider
295 | .idea/
296 | *.sln.iml
297 |
298 | # CodeRush personal settings
299 | .cr/personal
300 |
301 | # Python Tools for Visual Studio (PTVS)
302 | __pycache__/
303 | *.pyc
304 |
305 | # Cake - Uncomment if you are using it
306 | # tools/**
307 | # !tools/packages.config
308 |
309 | # Tabs Studio
310 | *.tss
311 |
312 | # Telerik's JustMock configuration file
313 | *.jmconfig
314 |
315 | # BizTalk build output
316 | *.btp.cs
317 | *.btm.cs
318 | *.odx.cs
319 | *.xsd.cs
320 |
321 | # OpenCover UI analysis results
322 | OpenCover/
323 |
324 | # Azure Stream Analytics local run output
325 | ASALocalRun/
326 |
327 | # MSBuild Binary and Structured Log
328 | *.binlog
329 |
330 | # NVidia Nsight GPU debugger configuration file
331 | *.nvuser
332 |
333 | # MFractors (Xamarin productivity tool) working folder
334 | .mfractor/
335 |
336 | # Local History for Visual Studio
337 | .localhistory/
338 |
339 | # BeatPulse healthcheck temp database
340 | healthchecksdb
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/MathUsing.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29009.5
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MathUsing", "MathUsing\MathUsing.csproj", "{A4F685D3-19B6-4DE4-AB40-6D5BDF968A07}"
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 | {A4F685D3-19B6-4DE4-AB40-6D5BDF968A07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {A4F685D3-19B6-4DE4-AB40-6D5BDF968A07}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {A4F685D3-19B6-4DE4-AB40-6D5BDF968A07}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {A4F685D3-19B6-4DE4-AB40-6D5BDF968A07}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {43327D83-2ECD-4D15-8CA3-5AD52B278EA7}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/MathUsing/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/MathUsing/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace MathUsing
2 | {
3 | partial class Form1
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 | this.txtFirstNumber = new System.Windows.Forms.TextBox();
32 | this.label1 = new System.Windows.Forms.Label();
33 | this.txtSecondNumber = new System.Windows.Forms.TextBox();
34 | this.label2 = new System.Windows.Forms.Label();
35 | this.txtResult = new System.Windows.Forms.TextBox();
36 | this.label3 = new System.Windows.Forms.Label();
37 | this.panel1 = new System.Windows.Forms.Panel();
38 | this.btnCopy = new System.Windows.Forms.Button();
39 | this.btnLog10 = new System.Windows.Forms.Button();
40 | this.btnTan = new System.Windows.Forms.Button();
41 | this.btnAbs = new System.Windows.Forms.Button();
42 | this.btnLog = new System.Windows.Forms.Button();
43 | this.btnCos = new System.Windows.Forms.Button();
44 | this.btnMax = new System.Windows.Forms.Button();
45 | this.btnSqrt = new System.Windows.Forms.Button();
46 | this.btnSin = new System.Windows.Forms.Button();
47 | this.btnMin = new System.Windows.Forms.Button();
48 | this.btnExp = new System.Windows.Forms.Button();
49 | this.btnPow = new System.Windows.Forms.Button();
50 | this.btnSign = new System.Windows.Forms.Button();
51 | this.btnC = new System.Windows.Forms.Button();
52 | this.panel1.SuspendLayout();
53 | this.SuspendLayout();
54 | //
55 | // txtFirstNumber
56 | //
57 | this.txtFirstNumber.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
58 | this.txtFirstNumber.Location = new System.Drawing.Point(180, 28);
59 | this.txtFirstNumber.Multiline = true;
60 | this.txtFirstNumber.Name = "txtFirstNumber";
61 | this.txtFirstNumber.Size = new System.Drawing.Size(156, 29);
62 | this.txtFirstNumber.TabIndex = 0;
63 | this.txtFirstNumber.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TxtFirstNumber_KeyPress_1);
64 | //
65 | // label1
66 | //
67 | this.label1.AutoSize = true;
68 | this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
69 | this.label1.Location = new System.Drawing.Point(40, 26);
70 | this.label1.Name = "label1";
71 | this.label1.Size = new System.Drawing.Size(112, 20);
72 | this.label1.TabIndex = 3;
73 | this.label1.Text = "First Number";
74 | //
75 | // txtSecondNumber
76 | //
77 | this.txtSecondNumber.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
78 | this.txtSecondNumber.Location = new System.Drawing.Point(180, 88);
79 | this.txtSecondNumber.Multiline = true;
80 | this.txtSecondNumber.Name = "txtSecondNumber";
81 | this.txtSecondNumber.Size = new System.Drawing.Size(156, 29);
82 | this.txtSecondNumber.TabIndex = 1;
83 | //
84 | // label2
85 | //
86 | this.label2.AutoSize = true;
87 | this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
88 | this.label2.Location = new System.Drawing.Point(40, 86);
89 | this.label2.Name = "label2";
90 | this.label2.Size = new System.Drawing.Size(137, 20);
91 | this.label2.TabIndex = 3;
92 | this.label2.Text = "Second Number";
93 | //
94 | // txtResult
95 | //
96 | this.txtResult.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
97 | this.txtResult.Location = new System.Drawing.Point(180, 153);
98 | this.txtResult.Multiline = true;
99 | this.txtResult.Name = "txtResult";
100 | this.txtResult.ReadOnly = true;
101 | this.txtResult.Size = new System.Drawing.Size(156, 29);
102 | this.txtResult.TabIndex = 2;
103 | //
104 | // label3
105 | //
106 | this.label3.AutoSize = true;
107 | this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
108 | this.label3.Location = new System.Drawing.Point(40, 151);
109 | this.label3.Name = "label3";
110 | this.label3.Size = new System.Drawing.Size(61, 20);
111 | this.label3.TabIndex = 3;
112 | this.label3.Text = "Result";
113 | //
114 | // panel1
115 | //
116 | this.panel1.Controls.Add(this.btnCopy);
117 | this.panel1.Controls.Add(this.btnLog10);
118 | this.panel1.Controls.Add(this.btnTan);
119 | this.panel1.Controls.Add(this.btnAbs);
120 | this.panel1.Controls.Add(this.btnLog);
121 | this.panel1.Controls.Add(this.btnCos);
122 | this.panel1.Controls.Add(this.btnMax);
123 | this.panel1.Controls.Add(this.btnSqrt);
124 | this.panel1.Controls.Add(this.btnSin);
125 | this.panel1.Controls.Add(this.btnMin);
126 | this.panel1.Controls.Add(this.btnExp);
127 | this.panel1.Controls.Add(this.btnPow);
128 | this.panel1.Controls.Add(this.btnSign);
129 | this.panel1.Controls.Add(this.btnC);
130 | this.panel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
131 | this.panel1.Location = new System.Drawing.Point(352, 17);
132 | this.panel1.Name = "panel1";
133 | this.panel1.Size = new System.Drawing.Size(237, 266);
134 | this.panel1.TabIndex = 4;
135 | //
136 | // btnCopy
137 | //
138 | this.btnCopy.Location = new System.Drawing.Point(111, 155);
139 | this.btnCopy.Name = "btnCopy";
140 | this.btnCopy.Size = new System.Drawing.Size(119, 42);
141 | this.btnCopy.TabIndex = 13;
142 | this.btnCopy.Text = "Copy to First Number";
143 | this.btnCopy.UseVisualStyleBackColor = true;
144 | this.btnCopy.Click += new System.EventHandler(this.BtnCopy_Click);
145 | //
146 | // btnLog10
147 | //
148 | this.btnLog10.Location = new System.Drawing.Point(180, 107);
149 | this.btnLog10.Name = "btnLog10";
150 | this.btnLog10.Size = new System.Drawing.Size(50, 42);
151 | this.btnLog10.TabIndex = 11;
152 | this.btnLog10.Text = "Log 10";
153 | this.btnLog10.UseVisualStyleBackColor = true;
154 | this.btnLog10.Click += new System.EventHandler(this.BtnLog10_Click);
155 | //
156 | // btnTan
157 | //
158 | this.btnTan.Location = new System.Drawing.Point(180, 59);
159 | this.btnTan.Name = "btnTan";
160 | this.btnTan.Size = new System.Drawing.Size(50, 42);
161 | this.btnTan.TabIndex = 7;
162 | this.btnTan.Text = "Tan";
163 | this.btnTan.UseVisualStyleBackColor = true;
164 | this.btnTan.Click += new System.EventHandler(this.BtnTan_Click);
165 | //
166 | // btnAbs
167 | //
168 | this.btnAbs.Location = new System.Drawing.Point(180, 11);
169 | this.btnAbs.Name = "btnAbs";
170 | this.btnAbs.Size = new System.Drawing.Size(50, 42);
171 | this.btnAbs.TabIndex = 3;
172 | this.btnAbs.Text = "Abs";
173 | this.btnAbs.UseVisualStyleBackColor = true;
174 | this.btnAbs.Click += new System.EventHandler(this.BtnAbs_Click);
175 | //
176 | // btnLog
177 | //
178 | this.btnLog.Location = new System.Drawing.Point(124, 107);
179 | this.btnLog.Name = "btnLog";
180 | this.btnLog.Size = new System.Drawing.Size(50, 42);
181 | this.btnLog.TabIndex = 10;
182 | this.btnLog.Text = "Log";
183 | this.btnLog.UseVisualStyleBackColor = true;
184 | this.btnLog.Click += new System.EventHandler(this.BtnLog_Click);
185 | //
186 | // btnCos
187 | //
188 | this.btnCos.Location = new System.Drawing.Point(124, 59);
189 | this.btnCos.Name = "btnCos";
190 | this.btnCos.Size = new System.Drawing.Size(50, 42);
191 | this.btnCos.TabIndex = 6;
192 | this.btnCos.Text = "Cos";
193 | this.btnCos.UseVisualStyleBackColor = true;
194 | this.btnCos.Click += new System.EventHandler(this.BtnCos_Click);
195 | //
196 | // btnMax
197 | //
198 | this.btnMax.Location = new System.Drawing.Point(124, 11);
199 | this.btnMax.Name = "btnMax";
200 | this.btnMax.Size = new System.Drawing.Size(50, 42);
201 | this.btnMax.TabIndex = 2;
202 | this.btnMax.Text = "Max";
203 | this.btnMax.UseVisualStyleBackColor = true;
204 | this.btnMax.Click += new System.EventHandler(this.BtnMax_Click);
205 | //
206 | // btnSqrt
207 | //
208 | this.btnSqrt.Location = new System.Drawing.Point(68, 107);
209 | this.btnSqrt.Name = "btnSqrt";
210 | this.btnSqrt.Size = new System.Drawing.Size(50, 42);
211 | this.btnSqrt.TabIndex = 9;
212 | this.btnSqrt.Text = "sqrt";
213 | this.btnSqrt.UseVisualStyleBackColor = true;
214 | this.btnSqrt.Click += new System.EventHandler(this.BtnSqrt_Click);
215 | //
216 | // btnSin
217 | //
218 | this.btnSin.Location = new System.Drawing.Point(68, 59);
219 | this.btnSin.Name = "btnSin";
220 | this.btnSin.Size = new System.Drawing.Size(50, 42);
221 | this.btnSin.TabIndex = 5;
222 | this.btnSin.Text = "Sin";
223 | this.btnSin.UseVisualStyleBackColor = true;
224 | this.btnSin.Click += new System.EventHandler(this.BtnSin_Click);
225 | //
226 | // btnMin
227 | //
228 | this.btnMin.Location = new System.Drawing.Point(68, 11);
229 | this.btnMin.Name = "btnMin";
230 | this.btnMin.Size = new System.Drawing.Size(50, 42);
231 | this.btnMin.TabIndex = 1;
232 | this.btnMin.Text = "Min";
233 | this.btnMin.UseVisualStyleBackColor = true;
234 | this.btnMin.Click += new System.EventHandler(this.BtnMin_Click);
235 | //
236 | // btnExp
237 | //
238 | this.btnExp.Location = new System.Drawing.Point(12, 155);
239 | this.btnExp.Name = "btnExp";
240 | this.btnExp.Size = new System.Drawing.Size(50, 42);
241 | this.btnExp.TabIndex = 12;
242 | this.btnExp.Text = "Exp";
243 | this.btnExp.UseVisualStyleBackColor = true;
244 | this.btnExp.Click += new System.EventHandler(this.BtnExp_Click);
245 | //
246 | // btnPow
247 | //
248 | this.btnPow.Location = new System.Drawing.Point(12, 107);
249 | this.btnPow.Name = "btnPow";
250 | this.btnPow.Size = new System.Drawing.Size(50, 42);
251 | this.btnPow.TabIndex = 8;
252 | this.btnPow.Text = "Pow";
253 | this.btnPow.UseVisualStyleBackColor = true;
254 | this.btnPow.Click += new System.EventHandler(this.BtnPow_Click);
255 | //
256 | // btnSign
257 | //
258 | this.btnSign.Location = new System.Drawing.Point(12, 59);
259 | this.btnSign.Name = "btnSign";
260 | this.btnSign.Size = new System.Drawing.Size(50, 42);
261 | this.btnSign.TabIndex = 4;
262 | this.btnSign.Text = "Sign";
263 | this.btnSign.UseVisualStyleBackColor = true;
264 | this.btnSign.Click += new System.EventHandler(this.BtnSign_Click);
265 | //
266 | // btnC
267 | //
268 | this.btnC.Location = new System.Drawing.Point(12, 11);
269 | this.btnC.Name = "btnC";
270 | this.btnC.Size = new System.Drawing.Size(50, 42);
271 | this.btnC.TabIndex = 0;
272 | this.btnC.Text = "C";
273 | this.btnC.UseVisualStyleBackColor = true;
274 | this.btnC.Click += new System.EventHandler(this.BtnC_Click);
275 | //
276 | // Form1
277 | //
278 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
279 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
280 | this.ClientSize = new System.Drawing.Size(612, 355);
281 | this.Controls.Add(this.panel1);
282 | this.Controls.Add(this.label3);
283 | this.Controls.Add(this.label2);
284 | this.Controls.Add(this.label1);
285 | this.Controls.Add(this.txtResult);
286 | this.Controls.Add(this.txtSecondNumber);
287 | this.Controls.Add(this.txtFirstNumber);
288 | this.Name = "Form1";
289 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
290 | this.Text = "Form1";
291 | this.Load += new System.EventHandler(this.Form1_Load);
292 | this.panel1.ResumeLayout(false);
293 | this.ResumeLayout(false);
294 | this.PerformLayout();
295 |
296 | }
297 |
298 | #endregion
299 |
300 | private System.Windows.Forms.TextBox txtFirstNumber;
301 | private System.Windows.Forms.Label label1;
302 | private System.Windows.Forms.TextBox txtSecondNumber;
303 | private System.Windows.Forms.Label label2;
304 | private System.Windows.Forms.TextBox txtResult;
305 | private System.Windows.Forms.Label label3;
306 | private System.Windows.Forms.Panel panel1;
307 | private System.Windows.Forms.Button btnCopy;
308 | private System.Windows.Forms.Button btnLog10;
309 | private System.Windows.Forms.Button btnTan;
310 | private System.Windows.Forms.Button btnAbs;
311 | private System.Windows.Forms.Button btnLog;
312 | private System.Windows.Forms.Button btnCos;
313 | private System.Windows.Forms.Button btnMax;
314 | private System.Windows.Forms.Button btnSqrt;
315 | private System.Windows.Forms.Button btnSin;
316 | private System.Windows.Forms.Button btnMin;
317 | private System.Windows.Forms.Button btnExp;
318 | private System.Windows.Forms.Button btnPow;
319 | private System.Windows.Forms.Button btnSign;
320 | private System.Windows.Forms.Button btnC;
321 | }
322 | }
323 |
324 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/MathUsing/Form1.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 MathUsing
12 | {
13 | public partial class Form1 : Form
14 | {
15 | public Form1()
16 | {
17 | InitializeComponent();
18 | }
19 |
20 | private void Form1_Load(object sender, EventArgs e)
21 | {
22 |
23 |
24 | }
25 | double firstNumberDouble, secondNumberDouble;
26 | decimal firstNumberDecimal, secondNumberDecimal;
27 | bool control = true;
28 | private void TxtFirstNumber_KeyPress(object sender, KeyPressEventArgs e)
29 | {
30 | // if (!char.IsControl(e.KeyChar) || !char.IsDigit(e.KeyChar) ||
31 | //(e.KeyChar != '.'))
32 | // {
33 | // e.Handled = true;
34 | // }
35 |
36 | // // only allow one decimal point
37 | // if ((e.KeyChar == '.') || ((sender as TextBox).Text.IndexOf('.') > -1))
38 | // {
39 | // e.Handled = true;
40 | // }
41 | }
42 | void set2ParametersDouble()
43 | {
44 | if (txtFirstNumber.Text != "" && txtFirstNumber.Text != null && txtSecondNumber.Text != "" && txtSecondNumber.Text != null)
45 | {
46 | firstNumberDouble = Convert.ToDouble(txtFirstNumber.Text);
47 | secondNumberDouble = Convert.ToDouble(txtSecondNumber.Text);
48 | control = false;
49 | }
50 | else
51 | control = true;
52 |
53 | }
54 | void set2ParametersDecimal()
55 | {
56 | if (txtFirstNumber.Text != "" && txtFirstNumber.Text != null && txtSecondNumber.Text != "" && txtSecondNumber.Text != null)
57 | {
58 | firstNumberDecimal = Convert.ToDecimal(txtFirstNumber.Text);
59 | secondNumberDecimal = Convert.ToDecimal(txtSecondNumber.Text);
60 | control = false;
61 | }
62 | else
63 | control = true;
64 |
65 | }
66 | void set1ParametersDecimal()
67 | {
68 | if (txtFirstNumber.Text != "" && txtFirstNumber.Text != null)
69 | {
70 | firstNumberDecimal = Convert.ToDecimal(txtFirstNumber.Text);
71 | control = false;
72 |
73 | }
74 | else
75 | control = true;
76 |
77 | }
78 |
79 | private void BtnC_Click(object sender, EventArgs e)
80 | {
81 | txtSecondNumber.Clear();
82 | txtFirstNumber.Clear();
83 | txtResult.Clear();
84 | firstNumberDecimal = 0;
85 | secondNumberDecimal = 0;
86 | firstNumberDouble = 0;
87 | secondNumberDouble = 0;
88 | }
89 |
90 | private void BtnMin_Click(object sender, EventArgs e)
91 | {
92 | set2ParametersDecimal();
93 | if (!control)
94 | {
95 | txtResult.Text = Math.Min(firstNumberDecimal, secondNumberDecimal).ToString();
96 |
97 | }
98 | else
99 | {
100 | giveError();
101 | }
102 | }
103 |
104 | private void giveError()
105 | {
106 | MessageBox.Show("Please fill Neccessary fields!");
107 | }
108 |
109 | private void BtnMax_Click(object sender, EventArgs e)
110 | {
111 | set1ParametersDecimal();
112 | if (!control)
113 | {
114 | txtResult.Text = Math.Max(firstNumberDecimal, secondNumberDecimal).ToString();
115 |
116 | }
117 | else
118 | {
119 | giveError();
120 | }
121 | }
122 |
123 | private void BtnAbs_Click(object sender, EventArgs e)
124 | {
125 | set1ParametersDecimal();
126 | if (!control)
127 | {
128 | txtResult.Text = Math.Abs(firstNumberDecimal).ToString();
129 |
130 |
131 | }
132 | else
133 | {
134 | giveError();
135 | }
136 | }
137 |
138 | private void BtnSign_Click(object sender, EventArgs e)
139 | {
140 | set1ParametersDecimal();
141 | if (!control)
142 | {
143 | txtResult.Text = Math.Sign(firstNumberDecimal).ToString();
144 |
145 |
146 | }
147 | else
148 | {
149 | giveError();
150 | }
151 | }
152 |
153 | private void BtnSin_Click(object sender, EventArgs e)
154 | {
155 | set1ParametersDouble();
156 | if (!control)
157 | {
158 | double aaa = Math.Tan(45);
159 | txtResult.Text = Math.Sin(firstNumberDouble).ToString();
160 |
161 |
162 | }
163 | else
164 | {
165 | giveError();
166 | }
167 |
168 | }
169 |
170 | private void BtnCos_Click(object sender, EventArgs e)
171 | {
172 | set1ParametersDouble();
173 | if (!control)
174 | {
175 | txtResult.Text = Math.Cos(firstNumberDouble).ToString();
176 |
177 |
178 | }
179 | else
180 | {
181 | giveError();
182 | }
183 | }
184 |
185 | private void BtnTan_Click(object sender, EventArgs e)
186 | {
187 | set1ParametersDouble();
188 | if (!control)
189 | {
190 | txtResult.Text = Math.Tan(firstNumberDouble).ToString();
191 |
192 |
193 | }
194 | else
195 | {
196 | giveError();
197 | }
198 | }
199 |
200 | private void BtnPow_Click(object sender, EventArgs e)
201 | {
202 | set2ParametersDouble();
203 | if (!control)
204 | {
205 | txtResult.Text = Math.Pow(firstNumberDouble, secondNumberDouble).ToString();
206 |
207 | }
208 | else
209 | {
210 | giveError();
211 | }
212 |
213 | }
214 |
215 | private void BtnSqrt_Click(object sender, EventArgs e)
216 | {
217 | set1ParametersDouble();
218 | if (!control)
219 | {
220 | txtResult.Text = Math.Sqrt(firstNumberDouble).ToString();
221 |
222 |
223 | }
224 | else
225 | {
226 | giveError();
227 | }
228 | }
229 |
230 | private void BtnLog_Click(object sender, EventArgs e)
231 | {
232 | set2ParametersDouble();
233 | if (!control)
234 | {
235 | txtResult.Text = Math.Log(firstNumberDouble, secondNumberDouble).ToString();
236 |
237 | }
238 | else
239 | {
240 | giveError();
241 | }
242 |
243 | }
244 |
245 | private void BtnLog10_Click(object sender, EventArgs e)
246 | {
247 | set1ParametersDouble();
248 | if (!control)
249 | {
250 | txtResult.Text = Math.Log10(firstNumberDouble).ToString();
251 |
252 | }
253 | else
254 | {
255 | giveError();
256 | }
257 |
258 |
259 | }
260 |
261 | private void BtnExp_Click(object sender, EventArgs e)
262 | {
263 | set1ParametersDouble();
264 | if (!control)
265 | {
266 | txtResult.Text = Math.Exp(firstNumberDouble).ToString();
267 |
268 | }
269 | else
270 | {
271 | giveError();
272 | }
273 | }
274 |
275 | private void BtnCopy_Click(object sender, EventArgs e)
276 | {
277 | if (txtResult.Text != "" || txtResult.Text != null )
278 | {
279 | txtFirstNumber.Text = txtResult.Text;
280 | }
281 |
282 |
283 | }
284 |
285 | private void TxtFirstNumber_KeyPress_1(object sender, KeyPressEventArgs e)
286 | {
287 | // {
288 | // if (!char.IsControl(e.KeyChar) || !char.IsDigit(e.KeyChar) ||
289 | //(e.KeyChar != '.'))
290 | // {
291 | // e.Handled = true;
292 | // }
293 |
294 | // // only allow one decimal point
295 | // if ((e.KeyChar == '.') || ((sender as TextBox).Text.IndexOf('.') > -1))
296 | // {
297 | // e.Handled = true;
298 | // }
299 | }
300 |
301 | void set1ParametersDouble()
302 | {
303 | if (txtFirstNumber.Text != "" && txtFirstNumber.Text != null)
304 | {
305 | firstNumberDouble = Convert.ToDouble(txtFirstNumber.Text);
306 | control = false;
307 | }
308 | else
309 | control = true;
310 |
311 | }
312 | private void TxtSecondNumber_KeyPress(object sender, KeyPressEventArgs e)
313 | {
314 | // if (!char.IsControl(e.KeyChar) || !char.IsDigit(e.KeyChar) ||
315 | //(e.KeyChar != '.'))
316 | // {
317 | // e.Handled = true;
318 | // }
319 |
320 | // // only allow one decimal point
321 | // if ((e.KeyChar == '.') || ((sender as TextBox).Text.IndexOf('.') > -1))
322 | // {
323 | // e.Handled = true;
324 | // }
325 | }
326 | }
327 | }
328 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/MathUsing/Form1.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 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/MathUsing/MathUsing.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {A4F685D3-19B6-4DE4-AB40-6D5BDF968A07}
8 | WinExe
9 | MathUsing
10 | MathUsing
11 | v4.7.2
12 | 512
13 | true
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 | Form
51 |
52 |
53 | Form1.cs
54 |
55 |
56 |
57 |
58 | Form1.cs
59 |
60 |
61 | ResXFileCodeGenerator
62 | Resources.Designer.cs
63 | Designer
64 |
65 |
66 | True
67 | Resources.resx
68 |
69 |
70 | SettingsSingleFileGenerator
71 | Settings.Designer.cs
72 |
73 |
74 | True
75 | Settings.settings
76 | True
77 |
78 |
79 |
80 |
81 |
82 |
83 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/MathUsing/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 MathUsing
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 Form1());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/MathUsing/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("MathUsing")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("MathUsing")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
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("a4f685d3-19b6-4de4-ab40-6d5bdf968a07")]
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 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/MathUsing/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 MathUsing.Properties
12 | {
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 |
28 | private static global::System.Resources.ResourceManager resourceMan;
29 |
30 | private static global::System.Globalization.CultureInfo resourceCulture;
31 |
32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
33 | internal Resources()
34 | {
35 | }
36 |
37 | ///
38 | /// Returns the cached ResourceManager instance used by this class.
39 | ///
40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
41 | internal static global::System.Resources.ResourceManager ResourceManager
42 | {
43 | get
44 | {
45 | if ((resourceMan == null))
46 | {
47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MathUsing.Properties.Resources", typeof(Resources).Assembly);
48 | resourceMan = temp;
49 | }
50 | return resourceMan;
51 | }
52 | }
53 |
54 | ///
55 | /// Overrides the current thread's CurrentUICulture property for all
56 | /// resource lookups using this strongly typed resource class.
57 | ///
58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
59 | internal static global::System.Globalization.CultureInfo Culture
60 | {
61 | get
62 | {
63 | return resourceCulture;
64 | }
65 | set
66 | {
67 | resourceCulture = value;
68 | }
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/MathUsing/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 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/MathUsing/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 MathUsing.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 |
--------------------------------------------------------------------------------
/Projects Source Codes/MathUsing/MathUsing-master/MathUsing/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Build results
17 | [Dd]ebug/
18 | [Dd]ebugPublic/
19 | [Rr]elease/
20 | [Rr]eleases/
21 | x64/
22 | x86/
23 | [Aa][Rr][Mm]/
24 | [Aa][Rr][Mm]64/
25 | bld/
26 | [Bb]in/
27 | [Oo]bj/
28 | [Ll]og/
29 |
30 | # Visual Studio 2015/2017 cache/options directory
31 | .vs/
32 | # Uncomment if you have tasks that create the project's static files in wwwroot
33 | #wwwroot/
34 |
35 | # Visual Studio 2017 auto generated files
36 | Generated\ Files/
37 |
38 | # MSTest test Results
39 | [Tt]est[Rr]esult*/
40 | [Bb]uild[Ll]og.*
41 |
42 | # NUNIT
43 | *.VisualState.xml
44 | TestResult.xml
45 |
46 | # Build Results of an ATL Project
47 | [Dd]ebugPS/
48 | [Rr]eleasePS/
49 | dlldata.c
50 |
51 | # Benchmark Results
52 | BenchmarkDotNet.Artifacts/
53 |
54 | # .NET Core
55 | project.lock.json
56 | project.fragment.lock.json
57 | artifacts/
58 |
59 | # StyleCop
60 | StyleCopReport.xml
61 |
62 | # Files built by Visual Studio
63 | *_i.c
64 | *_p.c
65 | *_h.h
66 | *.ilk
67 | *.meta
68 | *.obj
69 | *.iobj
70 | *.pch
71 | *.pdb
72 | *.ipdb
73 | *.pgc
74 | *.pgd
75 | *.rsp
76 | *.sbr
77 | *.tlb
78 | *.tli
79 | *.tlh
80 | *.tmp
81 | *.tmp_proj
82 | *_wpftmp.csproj
83 | *.log
84 | *.vspscc
85 | *.vssscc
86 | .builds
87 | *.pidb
88 | *.svclog
89 | *.scc
90 |
91 | # Chutzpah Test files
92 | _Chutzpah*
93 |
94 | # Visual C++ cache files
95 | ipch/
96 | *.aps
97 | *.ncb
98 | *.opendb
99 | *.opensdf
100 | *.sdf
101 | *.cachefile
102 | *.VC.db
103 | *.VC.VC.opendb
104 |
105 | # Visual Studio profiler
106 | *.psess
107 | *.vsp
108 | *.vspx
109 | *.sap
110 |
111 | # Visual Studio Trace Files
112 | *.e2e
113 |
114 | # TFS 2012 Local Workspace
115 | $tf/
116 |
117 | # Guidance Automation Toolkit
118 | *.gpState
119 |
120 | # ReSharper is a .NET coding add-in
121 | _ReSharper*/
122 | *.[Rr]e[Ss]harper
123 | *.DotSettings.user
124 |
125 | # JustCode is a .NET coding add-in
126 | .JustCode
127 |
128 | # TeamCity is a build add-in
129 | _TeamCity*
130 |
131 | # DotCover is a Code Coverage Tool
132 | *.dotCover
133 |
134 | # AxoCover is a Code Coverage Tool
135 | .axoCover/*
136 | !.axoCover/settings.json
137 |
138 | # Visual Studio code coverage results
139 | *.coverage
140 | *.coveragexml
141 |
142 | # NCrunch
143 | _NCrunch_*
144 | .*crunch*.local.xml
145 | nCrunchTemp_*
146 |
147 | # MightyMoose
148 | *.mm.*
149 | AutoTest.Net/
150 |
151 | # Web workbench (sass)
152 | .sass-cache/
153 |
154 | # Installshield output folder
155 | [Ee]xpress/
156 |
157 | # DocProject is a documentation generator add-in
158 | DocProject/buildhelp/
159 | DocProject/Help/*.HxT
160 | DocProject/Help/*.HxC
161 | DocProject/Help/*.hhc
162 | DocProject/Help/*.hhk
163 | DocProject/Help/*.hhp
164 | DocProject/Help/Html2
165 | DocProject/Help/html
166 |
167 | # Click-Once directory
168 | publish/
169 |
170 | # Publish Web Output
171 | *.[Pp]ublish.xml
172 | *.azurePubxml
173 | # Note: Comment the next line if you want to checkin your web deploy settings,
174 | # but database connection strings (with potential passwords) will be unencrypted
175 | *.pubxml
176 | *.publishproj
177 |
178 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
179 | # checkin your Azure Web App publish settings, but sensitive information contained
180 | # in these scripts will be unencrypted
181 | PublishScripts/
182 |
183 | # NuGet Packages
184 | *.nupkg
185 | # The packages folder can be ignored because of Package Restore
186 | **/[Pp]ackages/*
187 | # except build/, which is used as an MSBuild target.
188 | !**/[Pp]ackages/build/
189 | # Uncomment if necessary however generally it will be regenerated when needed
190 | #!**/[Pp]ackages/repositories.config
191 | # NuGet v3's project.json files produces more ignorable files
192 | *.nuget.props
193 | *.nuget.targets
194 |
195 | # Microsoft Azure Build Output
196 | csx/
197 | *.build.csdef
198 |
199 | # Microsoft Azure Emulator
200 | ecf/
201 | rcf/
202 |
203 | # Windows Store app package directories and files
204 | AppPackages/
205 | BundleArtifacts/
206 | Package.StoreAssociation.xml
207 | _pkginfo.txt
208 | *.appx
209 |
210 | # Visual Studio cache files
211 | # files ending in .cache can be ignored
212 | *.[Cc]ache
213 | # but keep track of directories ending in .cache
214 | !?*.[Cc]ache/
215 |
216 | # Others
217 | ClientBin/
218 | ~$*
219 | *~
220 | *.dbmdl
221 | *.dbproj.schemaview
222 | *.jfm
223 | *.pfx
224 | *.publishsettings
225 | orleans.codegen.cs
226 |
227 | # Including strong name files can present a security risk
228 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
229 | #*.snk
230 |
231 | # Since there are multiple workflows, uncomment next line to ignore bower_components
232 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
233 | #bower_components/
234 |
235 | # RIA/Silverlight projects
236 | Generated_Code/
237 |
238 | # Backup & report files from converting an old project file
239 | # to a newer Visual Studio version. Backup files are not needed,
240 | # because we have git ;-)
241 | _UpgradeReport_Files/
242 | Backup*/
243 | UpgradeLog*.XML
244 | UpgradeLog*.htm
245 | ServiceFabricBackup/
246 | *.rptproj.bak
247 |
248 | # SQL Server files
249 | *.mdf
250 | *.ldf
251 | *.ndf
252 |
253 | # Business Intelligence projects
254 | *.rdl.data
255 | *.bim.layout
256 | *.bim_*.settings
257 | *.rptproj.rsuser
258 | *- Backup*.rdl
259 |
260 | # Microsoft Fakes
261 | FakesAssemblies/
262 |
263 | # GhostDoc plugin setting file
264 | *.GhostDoc.xml
265 |
266 | # Node.js Tools for Visual Studio
267 | .ntvs_analysis.dat
268 | node_modules/
269 |
270 | # Visual Studio 6 build log
271 | *.plg
272 |
273 | # Visual Studio 6 workspace options file
274 | *.opt
275 |
276 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
277 | *.vbw
278 |
279 | # Visual Studio LightSwitch build output
280 | **/*.HTMLClient/GeneratedArtifacts
281 | **/*.DesktopClient/GeneratedArtifacts
282 | **/*.DesktopClient/ModelManifest.xml
283 | **/*.Server/GeneratedArtifacts
284 | **/*.Server/ModelManifest.xml
285 | _Pvt_Extensions
286 |
287 | # Paket dependency manager
288 | .paket/paket.exe
289 | paket-files/
290 |
291 | # FAKE - F# Make
292 | .fake/
293 |
294 | # JetBrains Rider
295 | .idea/
296 | *.sln.iml
297 |
298 | # CodeRush personal settings
299 | .cr/personal
300 |
301 | # Python Tools for Visual Studio (PTVS)
302 | __pycache__/
303 | *.pyc
304 |
305 | # Cake - Uncomment if you are using it
306 | # tools/**
307 | # !tools/packages.config
308 |
309 | # Tabs Studio
310 | *.tss
311 |
312 | # Telerik's JustMock configuration file
313 | *.jmconfig
314 |
315 | # BizTalk build output
316 | *.btp.cs
317 | *.btm.cs
318 | *.odx.cs
319 | *.xsd.cs
320 |
321 | # OpenCover UI analysis results
322 | OpenCover/
323 |
324 | # Azure Stream Analytics local run output
325 | ASALocalRun/
326 |
327 | # MSBuild Binary and Structured Log
328 | *.binlog
329 |
330 | # NVidia Nsight GPU debugger configuration file
331 | *.nvuser
332 |
333 | # MFractors (Xamarin productivity tool) working folder
334 | .mfractor/
335 |
336 | # Local History for Visual Studio
337 | .localhistory/
338 |
339 | # BeatPulse healthcheck temp database
340 | healthchecksdb
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/random.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29009.5
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RandomUsing", "random\RandomUsing.csproj", "{7B1DB067-F41F-4D70-BFD5-FC74576717EA}"
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 | {7B1DB067-F41F-4D70-BFD5-FC74576717EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {7B1DB067-F41F-4D70-BFD5-FC74576717EA}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {7B1DB067-F41F-4D70-BFD5-FC74576717EA}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {7B1DB067-F41F-4D70-BFD5-FC74576717EA}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {C230169D-3443-4D5C-BEBB-6FFEDF222D3B}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/random/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/random/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace random
2 | {
3 | partial class Form1
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 | this.button1 = new System.Windows.Forms.Button();
32 | this.label1 = new System.Windows.Forms.Label();
33 | this.button2 = new System.Windows.Forms.Button();
34 | this.label2 = new System.Windows.Forms.Label();
35 | this.label3 = new System.Windows.Forms.Label();
36 | this.label4 = new System.Windows.Forms.Label();
37 | this.label5 = new System.Windows.Forms.Label();
38 | this.button3 = new System.Windows.Forms.Button();
39 | this.SuspendLayout();
40 | //
41 | // button1
42 | //
43 | this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
44 | this.button1.Location = new System.Drawing.Point(452, 34);
45 | this.button1.Name = "button1";
46 | this.button1.Size = new System.Drawing.Size(126, 40);
47 | this.button1.TabIndex = 0;
48 | this.button1.Text = "Password";
49 | this.button1.UseVisualStyleBackColor = true;
50 | this.button1.Click += new System.EventHandler(this.Button1_Click);
51 | //
52 | // label1
53 | //
54 | this.label1.AutoSize = true;
55 | this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
56 | this.label1.Location = new System.Drawing.Point(38, 44);
57 | this.label1.Name = "label1";
58 | this.label1.Size = new System.Drawing.Size(57, 20);
59 | this.label1.TabIndex = 1;
60 | this.label1.Text = "label1";
61 | //
62 | // button2
63 | //
64 | this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
65 | this.button2.Location = new System.Drawing.Point(320, 34);
66 | this.button2.Name = "button2";
67 | this.button2.Size = new System.Drawing.Size(126, 40);
68 | this.button2.TabIndex = 2;
69 | this.button2.Text = "Random 2";
70 | this.button2.UseVisualStyleBackColor = true;
71 | this.button2.Click += new System.EventHandler(this.Button2_Click);
72 | //
73 | // label2
74 | //
75 | this.label2.AutoSize = true;
76 | this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
77 | this.label2.Location = new System.Drawing.Point(38, 74);
78 | this.label2.Name = "label2";
79 | this.label2.Size = new System.Drawing.Size(57, 20);
80 | this.label2.TabIndex = 1;
81 | this.label2.Text = "label2";
82 | //
83 | // label3
84 | //
85 | this.label3.AutoSize = true;
86 | this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
87 | this.label3.Location = new System.Drawing.Point(38, 104);
88 | this.label3.Name = "label3";
89 | this.label3.Size = new System.Drawing.Size(57, 20);
90 | this.label3.TabIndex = 1;
91 | this.label3.Text = "label3";
92 | //
93 | // label4
94 | //
95 | this.label4.AutoSize = true;
96 | this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
97 | this.label4.Location = new System.Drawing.Point(38, 134);
98 | this.label4.Name = "label4";
99 | this.label4.Size = new System.Drawing.Size(57, 20);
100 | this.label4.TabIndex = 1;
101 | this.label4.Text = "label4";
102 | //
103 | // label5
104 | //
105 | this.label5.AutoSize = true;
106 | this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
107 | this.label5.Location = new System.Drawing.Point(38, 171);
108 | this.label5.Name = "label5";
109 | this.label5.Size = new System.Drawing.Size(57, 20);
110 | this.label5.TabIndex = 1;
111 | this.label5.Text = "label5";
112 | //
113 | // button3
114 | //
115 | this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
116 | this.button3.Location = new System.Drawing.Point(189, 34);
117 | this.button3.Name = "button3";
118 | this.button3.Size = new System.Drawing.Size(126, 40);
119 | this.button3.TabIndex = 3;
120 | this.button3.Text = "Random";
121 | this.button3.UseVisualStyleBackColor = true;
122 | this.button3.Click += new System.EventHandler(this.button3_Click);
123 | //
124 | // Form1
125 | //
126 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
127 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
128 | this.ClientSize = new System.Drawing.Size(800, 450);
129 | this.Controls.Add(this.button3);
130 | this.Controls.Add(this.button2);
131 | this.Controls.Add(this.label5);
132 | this.Controls.Add(this.label4);
133 | this.Controls.Add(this.label3);
134 | this.Controls.Add(this.label2);
135 | this.Controls.Add(this.label1);
136 | this.Controls.Add(this.button1);
137 | this.Name = "Form1";
138 | this.Text = "Form1";
139 | this.Load += new System.EventHandler(this.Form1_Load);
140 | this.ResumeLayout(false);
141 | this.PerformLayout();
142 |
143 | }
144 |
145 | #endregion
146 |
147 | private System.Windows.Forms.Button button1;
148 | private System.Windows.Forms.Label label1;
149 | private System.Windows.Forms.Button button2;
150 | private System.Windows.Forms.Label label2;
151 | private System.Windows.Forms.Label label3;
152 | private System.Windows.Forms.Label label4;
153 | private System.Windows.Forms.Label label5;
154 | private System.Windows.Forms.Button button3;
155 | }
156 | }
157 |
158 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/random/Form1.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;
9 | using System.Threading.Tasks;
10 | using System.Windows.Forms;
11 |
12 | namespace random
13 | {
14 | public partial class Form1 : Form
15 | {
16 | public Form1()
17 | {
18 | InitializeComponent();
19 | }
20 |
21 | private void Button1_Click(object sender, EventArgs e)
22 | {
23 | Random random = new Random();
24 | byte[] Array = new byte[10];
25 | random.NextBytes(Array);
26 | string result = "";
27 | string allValid = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()_-=+{}:;\\<>?|,./`~[]'";
28 |
29 | for (int i = 0; i < 6; i++)
30 | {
31 | result += allValid[random.Next(0, Convert.ToInt32(allValid.Length))];
32 | }
33 | label1.Text = result;
34 | }
35 |
36 | public static string GenerateCoupon(int length)
37 | {
38 | string result = string.Empty;
39 | Random random = new Random((int)DateTime.Now.Ticks);
40 | List characters = new List() { };
41 | for (int i = 48; i < 58; i++)
42 | {
43 | characters.Add(((char)i).ToString());
44 | }
45 | for (int i = 65; i < 91; i++)
46 | {
47 | characters.Add(((char)i).ToString());
48 | }
49 | for (int i = 97; i < 123; i++)
50 | {
51 | characters.Add(((char)i).ToString());
52 | }
53 | for (int i = 0; i < length; i++)
54 | {
55 | result += characters[random.Next(0, characters.Count)];
56 | Thread.Sleep(1);
57 | }
58 | return result;
59 | }
60 | private void Form1_Load(object sender, EventArgs e)
61 | {
62 |
63 | }
64 |
65 | private void Button2_Click(object sender, EventArgs e)
66 | {
67 | Random random = new Random();
68 | byte[] Array = new byte[5];
69 | random.NextBytes(Array);
70 | label1.Text = Array[0].ToString();
71 | label2.Text = Array[1].ToString();
72 | label3.Text = Array[2].ToString();
73 | label4.Text = Array[3].ToString();
74 | label5.Text = Array[4].ToString();
75 |
76 | }
77 |
78 | private void button3_Click(object sender, EventArgs e)
79 | {
80 | Random rnd = new Random();
81 | label1.Text = rnd.Next(10).ToString();
82 | label2.Text = rnd.Next(10).ToString();
83 | label3.Text = rnd.Next(10).ToString();
84 | label4.Text = rnd.Next(10).ToString();
85 | label5.Text = rnd.Next(10).ToString();
86 | }
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/random/Form1.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 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/random/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 random
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 Form1());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/random/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("random")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("random")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
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("7b1db067-f41f-4d70-bfd5-fc74576717ea")]
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 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/random/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 random.Properties
12 | {
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 |
28 | private static global::System.Resources.ResourceManager resourceMan;
29 |
30 | private static global::System.Globalization.CultureInfo resourceCulture;
31 |
32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
33 | internal Resources()
34 | {
35 | }
36 |
37 | ///
38 | /// Returns the cached ResourceManager instance used by this class.
39 | ///
40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
41 | internal static global::System.Resources.ResourceManager ResourceManager
42 | {
43 | get
44 | {
45 | if ((resourceMan == null))
46 | {
47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("random.Properties.Resources", typeof(Resources).Assembly);
48 | resourceMan = temp;
49 | }
50 | return resourceMan;
51 | }
52 | }
53 |
54 | ///
55 | /// Overrides the current thread's CurrentUICulture property for all
56 | /// resource lookups using this strongly typed resource class.
57 | ///
58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
59 | internal static global::System.Globalization.CultureInfo Culture
60 | {
61 | get
62 | {
63 | return resourceCulture;
64 | }
65 | set
66 | {
67 | resourceCulture = value;
68 | }
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/random/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 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/random/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 random.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 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/random/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Projects Source Codes/RandomUsing/RandomUsing-master/random/RandomUsing.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {7B1DB067-F41F-4D70-BFD5-FC74576717EA}
8 | WinExe
9 | random
10 | random
11 | v4.7.2
12 | 512
13 | true
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 | Form
51 |
52 |
53 | Form1.cs
54 |
55 |
56 |
57 |
58 | Form1.cs
59 |
60 |
61 | ResXFileCodeGenerator
62 | Resources.Designer.cs
63 | Designer
64 |
65 |
66 | True
67 | Resources.resx
68 |
69 |
70 | SettingsSingleFileGenerator
71 | Settings.Designer.cs
72 |
73 |
74 | True
75 | Settings.settings
76 | True
77 |
78 |
79 |
80 |
81 |
82 |
83 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Build results
17 | [Dd]ebug/
18 | [Dd]ebugPublic/
19 | [Rr]elease/
20 | [Rr]eleases/
21 | x64/
22 | x86/
23 | [Aa][Rr][Mm]/
24 | [Aa][Rr][Mm]64/
25 | bld/
26 | [Bb]in/
27 | [Oo]bj/
28 | [Ll]og/
29 |
30 | # Visual Studio 2015/2017 cache/options directory
31 | .vs/
32 | # Uncomment if you have tasks that create the project's static files in wwwroot
33 | #wwwroot/
34 |
35 | # Visual Studio 2017 auto generated files
36 | Generated\ Files/
37 |
38 | # MSTest test Results
39 | [Tt]est[Rr]esult*/
40 | [Bb]uild[Ll]og.*
41 |
42 | # NUNIT
43 | *.VisualState.xml
44 | TestResult.xml
45 |
46 | # Build Results of an ATL Project
47 | [Dd]ebugPS/
48 | [Rr]eleasePS/
49 | dlldata.c
50 |
51 | # Benchmark Results
52 | BenchmarkDotNet.Artifacts/
53 |
54 | # .NET Core
55 | project.lock.json
56 | project.fragment.lock.json
57 | artifacts/
58 |
59 | # StyleCop
60 | StyleCopReport.xml
61 |
62 | # Files built by Visual Studio
63 | *_i.c
64 | *_p.c
65 | *_h.h
66 | *.ilk
67 | *.meta
68 | *.obj
69 | *.iobj
70 | *.pch
71 | *.pdb
72 | *.ipdb
73 | *.pgc
74 | *.pgd
75 | *.rsp
76 | *.sbr
77 | *.tlb
78 | *.tli
79 | *.tlh
80 | *.tmp
81 | *.tmp_proj
82 | *_wpftmp.csproj
83 | *.log
84 | *.vspscc
85 | *.vssscc
86 | .builds
87 | *.pidb
88 | *.svclog
89 | *.scc
90 |
91 | # Chutzpah Test files
92 | _Chutzpah*
93 |
94 | # Visual C++ cache files
95 | ipch/
96 | *.aps
97 | *.ncb
98 | *.opendb
99 | *.opensdf
100 | *.sdf
101 | *.cachefile
102 | *.VC.db
103 | *.VC.VC.opendb
104 |
105 | # Visual Studio profiler
106 | *.psess
107 | *.vsp
108 | *.vspx
109 | *.sap
110 |
111 | # Visual Studio Trace Files
112 | *.e2e
113 |
114 | # TFS 2012 Local Workspace
115 | $tf/
116 |
117 | # Guidance Automation Toolkit
118 | *.gpState
119 |
120 | # ReSharper is a .NET coding add-in
121 | _ReSharper*/
122 | *.[Rr]e[Ss]harper
123 | *.DotSettings.user
124 |
125 | # JustCode is a .NET coding add-in
126 | .JustCode
127 |
128 | # TeamCity is a build add-in
129 | _TeamCity*
130 |
131 | # DotCover is a Code Coverage Tool
132 | *.dotCover
133 |
134 | # AxoCover is a Code Coverage Tool
135 | .axoCover/*
136 | !.axoCover/settings.json
137 |
138 | # Visual Studio code coverage results
139 | *.coverage
140 | *.coveragexml
141 |
142 | # NCrunch
143 | _NCrunch_*
144 | .*crunch*.local.xml
145 | nCrunchTemp_*
146 |
147 | # MightyMoose
148 | *.mm.*
149 | AutoTest.Net/
150 |
151 | # Web workbench (sass)
152 | .sass-cache/
153 |
154 | # Installshield output folder
155 | [Ee]xpress/
156 |
157 | # DocProject is a documentation generator add-in
158 | DocProject/buildhelp/
159 | DocProject/Help/*.HxT
160 | DocProject/Help/*.HxC
161 | DocProject/Help/*.hhc
162 | DocProject/Help/*.hhk
163 | DocProject/Help/*.hhp
164 | DocProject/Help/Html2
165 | DocProject/Help/html
166 |
167 | # Click-Once directory
168 | publish/
169 |
170 | # Publish Web Output
171 | *.[Pp]ublish.xml
172 | *.azurePubxml
173 | # Note: Comment the next line if you want to checkin your web deploy settings,
174 | # but database connection strings (with potential passwords) will be unencrypted
175 | *.pubxml
176 | *.publishproj
177 |
178 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
179 | # checkin your Azure Web App publish settings, but sensitive information contained
180 | # in these scripts will be unencrypted
181 | PublishScripts/
182 |
183 | # NuGet Packages
184 | *.nupkg
185 | # The packages folder can be ignored because of Package Restore
186 | **/[Pp]ackages/*
187 | # except build/, which is used as an MSBuild target.
188 | !**/[Pp]ackages/build/
189 | # Uncomment if necessary however generally it will be regenerated when needed
190 | #!**/[Pp]ackages/repositories.config
191 | # NuGet v3's project.json files produces more ignorable files
192 | *.nuget.props
193 | *.nuget.targets
194 |
195 | # Microsoft Azure Build Output
196 | csx/
197 | *.build.csdef
198 |
199 | # Microsoft Azure Emulator
200 | ecf/
201 | rcf/
202 |
203 | # Windows Store app package directories and files
204 | AppPackages/
205 | BundleArtifacts/
206 | Package.StoreAssociation.xml
207 | _pkginfo.txt
208 | *.appx
209 |
210 | # Visual Studio cache files
211 | # files ending in .cache can be ignored
212 | *.[Cc]ache
213 | # but keep track of directories ending in .cache
214 | !?*.[Cc]ache/
215 |
216 | # Others
217 | ClientBin/
218 | ~$*
219 | *~
220 | *.dbmdl
221 | *.dbproj.schemaview
222 | *.jfm
223 | *.pfx
224 | *.publishsettings
225 | orleans.codegen.cs
226 |
227 | # Including strong name files can present a security risk
228 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
229 | #*.snk
230 |
231 | # Since there are multiple workflows, uncomment next line to ignore bower_components
232 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
233 | #bower_components/
234 |
235 | # RIA/Silverlight projects
236 | Generated_Code/
237 |
238 | # Backup & report files from converting an old project file
239 | # to a newer Visual Studio version. Backup files are not needed,
240 | # because we have git ;-)
241 | _UpgradeReport_Files/
242 | Backup*/
243 | UpgradeLog*.XML
244 | UpgradeLog*.htm
245 | ServiceFabricBackup/
246 | *.rptproj.bak
247 |
248 | # SQL Server files
249 | *.mdf
250 | *.ldf
251 | *.ndf
252 |
253 | # Business Intelligence projects
254 | *.rdl.data
255 | *.bim.layout
256 | *.bim_*.settings
257 | *.rptproj.rsuser
258 | *- Backup*.rdl
259 |
260 | # Microsoft Fakes
261 | FakesAssemblies/
262 |
263 | # GhostDoc plugin setting file
264 | *.GhostDoc.xml
265 |
266 | # Node.js Tools for Visual Studio
267 | .ntvs_analysis.dat
268 | node_modules/
269 |
270 | # Visual Studio 6 build log
271 | *.plg
272 |
273 | # Visual Studio 6 workspace options file
274 | *.opt
275 |
276 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
277 | *.vbw
278 |
279 | # Visual Studio LightSwitch build output
280 | **/*.HTMLClient/GeneratedArtifacts
281 | **/*.DesktopClient/GeneratedArtifacts
282 | **/*.DesktopClient/ModelManifest.xml
283 | **/*.Server/GeneratedArtifacts
284 | **/*.Server/ModelManifest.xml
285 | _Pvt_Extensions
286 |
287 | # Paket dependency manager
288 | .paket/paket.exe
289 | paket-files/
290 |
291 | # FAKE - F# Make
292 | .fake/
293 |
294 | # JetBrains Rider
295 | .idea/
296 | *.sln.iml
297 |
298 | # CodeRush personal settings
299 | .cr/personal
300 |
301 | # Python Tools for Visual Studio (PTVS)
302 | __pycache__/
303 | *.pyc
304 |
305 | # Cake - Uncomment if you are using it
306 | # tools/**
307 | # !tools/packages.config
308 |
309 | # Tabs Studio
310 | *.tss
311 |
312 | # Telerik's JustMock configuration file
313 | *.jmconfig
314 |
315 | # BizTalk build output
316 | *.btp.cs
317 | *.btm.cs
318 | *.odx.cs
319 | *.xsd.cs
320 |
321 | # OpenCover UI analysis results
322 | OpenCover/
323 |
324 | # Azure Stream Analytics local run output
325 | ASALocalRun/
326 |
327 | # MSBuild Binary and Structured Log
328 | *.binlog
329 |
330 | # NVidia Nsight GPU debugger configuration file
331 | *.nvuser
332 |
333 | # MFractors (Xamarin productivity tool) working folder
334 | .mfractor/
335 |
336 | # Local History for Visual Studio
337 | .localhistory/
338 |
339 | # BeatPulse healthcheck temp database
340 | healthchecksdb
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/TimerUsingg.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29009.5
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TimerUsingg", "TimerUsingg\TimerUsingg.csproj", "{754E52AB-510E-4B83-B6CE-22B0FF89BAB2}"
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 | {754E52AB-510E-4B83-B6CE-22B0FF89BAB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {754E52AB-510E-4B83-B6CE-22B0FF89BAB2}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {754E52AB-510E-4B83-B6CE-22B0FF89BAB2}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {754E52AB-510E-4B83-B6CE-22B0FF89BAB2}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {7CFEDD63-765E-4ABE-9C08-23473F411B47}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/TimerUsingg/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/TimerUsingg/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace TimerUsingg
2 | {
3 | partial class Form1
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 | this.components = new System.ComponentModel.Container();
32 | this.timer1 = new System.Windows.Forms.Timer(this.components);
33 | this.button1 = new System.Windows.Forms.Button();
34 | this.button2 = new System.Windows.Forms.Button();
35 | this.label1 = new System.Windows.Forms.Label();
36 | this.progressBar1 = new System.Windows.Forms.ProgressBar();
37 | this.button3 = new System.Windows.Forms.Button();
38 | this.SuspendLayout();
39 | //
40 | // timer1
41 | //
42 | this.timer1.Interval = 1000;
43 | this.timer1.Tick += new System.EventHandler(this.Timer1_Tick);
44 | //
45 | // button1
46 | //
47 | this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
48 | this.button1.Location = new System.Drawing.Point(55, 28);
49 | this.button1.Name = "button1";
50 | this.button1.Size = new System.Drawing.Size(141, 45);
51 | this.button1.TabIndex = 0;
52 | this.button1.Text = "Start";
53 | this.button1.UseVisualStyleBackColor = true;
54 | this.button1.Click += new System.EventHandler(this.Button1_Click);
55 | //
56 | // button2
57 | //
58 | this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
59 | this.button2.Location = new System.Drawing.Point(227, 28);
60 | this.button2.Name = "button2";
61 | this.button2.Size = new System.Drawing.Size(141, 45);
62 | this.button2.TabIndex = 0;
63 | this.button2.Text = "Stop";
64 | this.button2.UseVisualStyleBackColor = true;
65 | this.button2.Click += new System.EventHandler(this.Button2_Click);
66 | //
67 | // label1
68 | //
69 | this.label1.AutoSize = true;
70 | this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
71 | this.label1.Location = new System.Drawing.Point(213, 89);
72 | this.label1.Name = "label1";
73 | this.label1.Size = new System.Drawing.Size(92, 31);
74 | this.label1.TabIndex = 1;
75 | this.label1.Text = "label1";
76 | //
77 | // progressBar1
78 | //
79 | this.progressBar1.Location = new System.Drawing.Point(2, 123);
80 | this.progressBar1.Maximum = 60;
81 | this.progressBar1.Name = "progressBar1";
82 | this.progressBar1.Size = new System.Drawing.Size(532, 23);
83 | this.progressBar1.TabIndex = 2;
84 | //
85 | // button3
86 | //
87 | this.button3.BackColor = System.Drawing.Color.White;
88 | this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
89 | this.button3.Location = new System.Drawing.Point(374, 28);
90 | this.button3.Name = "button3";
91 | this.button3.Size = new System.Drawing.Size(141, 45);
92 | this.button3.TabIndex = 0;
93 | this.button3.Text = "Message";
94 | this.button3.UseVisualStyleBackColor = false;
95 | this.button3.Click += new System.EventHandler(this.Button2_Click);
96 | //
97 | // Form1
98 | //
99 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
100 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
101 | this.ClientSize = new System.Drawing.Size(546, 285);
102 | this.Controls.Add(this.progressBar1);
103 | this.Controls.Add(this.label1);
104 | this.Controls.Add(this.button3);
105 | this.Controls.Add(this.button2);
106 | this.Controls.Add(this.button1);
107 | this.Name = "Form1";
108 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
109 | this.Text = "Form1";
110 | this.Load += new System.EventHandler(this.Form1_Load);
111 | this.ResumeLayout(false);
112 | this.PerformLayout();
113 |
114 | }
115 |
116 | #endregion
117 |
118 | private System.Windows.Forms.Timer timer1;
119 | private System.Windows.Forms.Button button1;
120 | private System.Windows.Forms.Button button2;
121 | private System.Windows.Forms.Label label1;
122 | private System.Windows.Forms.ProgressBar progressBar1;
123 | private System.Windows.Forms.Button button3;
124 | }
125 | }
126 |
127 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/TimerUsingg/Form1.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 TimerUsingg
12 | {
13 | public partial class Form1 : Form
14 | {
15 | public Form1()
16 | {
17 | InitializeComponent();
18 | }
19 |
20 | private void Button1_Click(object sender, EventArgs e)
21 | {
22 | timer1.Start();
23 | }
24 |
25 | private void Button2_Click(object sender, EventArgs e)
26 | {
27 | timer1.Stop();
28 | }
29 |
30 | private void Timer1_Tick(object sender, EventArgs e)
31 | {
32 | progressBar1.Value = counter;
33 | counter--;
34 | label1.Text = counter.ToString();
35 | if(counter==0)
36 | {
37 | timer1.Stop();
38 | MessageBox.Show("timer stopped");
39 | }
40 | if (counter % 2 == 1)
41 | button3.BackColor = Color.Red;
42 | else
43 | button3.BackColor = Color.White;
44 |
45 | }
46 | int counter = 60;
47 | private void Form1_Load(object sender, EventArgs e)
48 | {
49 | label1.Text = 60.ToString();
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/TimerUsingg/Form1.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 | 17, 17
122 |
123 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/TimerUsingg/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 TimerUsingg
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 Form1());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/TimerUsingg/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("TimerUsingg")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("TimerUsingg")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
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("754e52ab-510e-4b83-b6ce-22b0ff89bab2")]
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 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/TimerUsingg/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 TimerUsingg.Properties
12 | {
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 |
28 | private static global::System.Resources.ResourceManager resourceMan;
29 |
30 | private static global::System.Globalization.CultureInfo resourceCulture;
31 |
32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
33 | internal Resources()
34 | {
35 | }
36 |
37 | ///
38 | /// Returns the cached ResourceManager instance used by this class.
39 | ///
40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
41 | internal static global::System.Resources.ResourceManager ResourceManager
42 | {
43 | get
44 | {
45 | if ((resourceMan == null))
46 | {
47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TimerUsingg.Properties.Resources", typeof(Resources).Assembly);
48 | resourceMan = temp;
49 | }
50 | return resourceMan;
51 | }
52 | }
53 |
54 | ///
55 | /// Overrides the current thread's CurrentUICulture property for all
56 | /// resource lookups using this strongly typed resource class.
57 | ///
58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
59 | internal static global::System.Globalization.CultureInfo Culture
60 | {
61 | get
62 | {
63 | return resourceCulture;
64 | }
65 | set
66 | {
67 | resourceCulture = value;
68 | }
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/TimerUsingg/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 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/TimerUsingg/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 TimerUsingg.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 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/TimerUsingg/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Projects Source Codes/TimerUsing/TimerUsing-master/TimerUsingg/TimerUsingg.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {754E52AB-510E-4B83-B6CE-22B0FF89BAB2}
8 | WinExe
9 | TimerUsingg
10 | TimerUsingg
11 | v4.7.2
12 | 512
13 | true
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 | Form
51 |
52 |
53 | Form1.cs
54 |
55 |
56 |
57 |
58 | Form1.cs
59 |
60 |
61 | ResXFileCodeGenerator
62 | Resources.Designer.cs
63 | Designer
64 |
65 |
66 | True
67 | Resources.resx
68 |
69 |
70 | SettingsSingleFileGenerator
71 | Settings.Designer.cs
72 |
73 |
74 | True
75 | Settings.settings
76 | True
77 |
78 |
79 |
80 |
81 |
82 |
83 |
--------------------------------------------------------------------------------