commit b7e924864b929e1f32821501d7f162162fe9ab95 Author: maxluli Date: Tue May 24 11:20:28 2022 +0200 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5eeef57 --- /dev/null +++ b/.gitignore @@ -0,0 +1,403 @@ + +# Created by https://www.toptal.com/developers/gitignore/api/csharp +# Edit at https://www.toptal.com/developers/gitignore?templates=csharp + +### Csharp ### +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.tlog +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio 6 auto-generated project file (contains which files were open etc.) +*.vbp + +# Visual Studio 6 workspace and project file (working project files containing files to include in project) +*.dsw +*.dsp + +# Visual Studio 6 technical files + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# Visual Studio History (VSHistory) files +.vshistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +# VS Code files for those working on multiple tools +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ + +# Windows Installer files from build outputs +*.cab +*.msi +*.msix +*.msm +*.msp + +# JetBrains Rider +*.sln.iml + +# End of https://www.toptal.com/developers/gitignore/api/csharp \ No newline at end of file diff --git a/Paint_2.sln b/Paint_2.sln new file mode 100644 index 0000000..5890900 --- /dev/null +++ b/Paint_2.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.1.32319.34 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Paint_2", "Paint_2\Paint_2.csproj", "{9E7E824D-548E-4FF9-B555-FADC172A46B6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9E7E824D-548E-4FF9-B555-FADC172A46B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9E7E824D-548E-4FF9-B555-FADC172A46B6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9E7E824D-548E-4FF9-B555-FADC172A46B6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9E7E824D-548E-4FF9-B555-FADC172A46B6}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C97A4005-21B8-47FF-905F-6B1E6A8FF4A5} + EndGlobalSection +EndGlobal diff --git a/Paint_2/App.config b/Paint_2/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/Paint_2/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Paint_2/Form1.Designer.cs b/Paint_2/Form1.Designer.cs new file mode 100644 index 0000000..0a96207 --- /dev/null +++ b/Paint_2/Form1.Designer.cs @@ -0,0 +1,722 @@ +namespace Paint_2 +{ + partial class PaintForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.tbxProjectName = new System.Windows.Forms.TextBox(); + this.btnSave = new System.Windows.Forms.Button(); + this.canvas = new System.Windows.Forms.PictureBox(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.button1 = new System.Windows.Forms.Button(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.label1 = new System.Windows.Forms.Label(); + this.button2 = new System.Windows.Forms.Button(); + this.numericUpDown2 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); + this.GroupBox3 = new System.Windows.Forms.GroupBox(); + this.label5 = new System.Windows.Forms.Label(); + this.button8 = new System.Windows.Forms.Button(); + this.button7 = new System.Windows.Forms.Button(); + this.button6 = new System.Windows.Forms.Button(); + this.label4 = new System.Windows.Forms.Label(); + this.button5 = new System.Windows.Forms.Button(); + this.groupBox4 = new System.Windows.Forms.GroupBox(); + this.button3 = new System.Windows.Forms.Button(); + this.label3 = new System.Windows.Forms.Label(); + this.groupBox5 = new System.Windows.Forms.GroupBox(); + this.label2 = new System.Windows.Forms.Label(); + this.button4 = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label6 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.numericUpDown3 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown4 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown5 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown6 = new System.Windows.Forms.NumericUpDown(); + this.label8 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.button9 = new System.Windows.Forms.Button(); + this.button10 = new System.Windows.Forms.Button(); + this.button11 = new System.Windows.Forms.Button(); + this.button12 = new System.Windows.Forms.Button(); + this.button13 = new System.Windows.Forms.Button(); + this.button15 = new System.Windows.Forms.Button(); + this.button16 = new System.Windows.Forms.Button(); + this.button14 = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.canvas)).BeginInit(); + this.groupBox1.SuspendLayout(); + this.groupBox2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); + this.GroupBox3.SuspendLayout(); + this.groupBox4.SuspendLayout(); + this.groupBox5.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit(); + this.SuspendLayout(); + // + // tbxProjectName + // + this.tbxProjectName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.tbxProjectName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tbxProjectName.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.tbxProjectName.Location = new System.Drawing.Point(10, 26); + this.tbxProjectName.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.tbxProjectName.Name = "tbxProjectName"; + this.tbxProjectName.Size = new System.Drawing.Size(230, 27); + this.tbxProjectName.TabIndex = 0; + this.tbxProjectName.Text = "Untitled Project"; + // + // btnSave + // + this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.btnSave.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.btnSave.Location = new System.Drawing.Point(244, 21); + this.btnSave.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.btnSave.Name = "btnSave"; + this.btnSave.Size = new System.Drawing.Size(75, 38); + this.btnSave.TabIndex = 1; + this.btnSave.Text = "Save"; + this.btnSave.UseVisualStyleBackColor = false; + // + // canvas + // + this.canvas.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(31))))); + this.canvas.Location = new System.Drawing.Point(12, 89); + this.canvas.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.canvas.Name = "canvas"; + this.canvas.Size = new System.Drawing.Size(900, 500); + this.canvas.TabIndex = 2; + this.canvas.TabStop = false; + // + // groupBox1 + // + this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.groupBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(31))))); + this.groupBox1.Controls.Add(this.button1); + this.groupBox1.Controls.Add(this.tbxProjectName); + this.groupBox1.Controls.Add(this.btnSave); + this.groupBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.groupBox1.Location = new System.Drawing.Point(12, 11); + this.groupBox1.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Padding = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.groupBox1.Size = new System.Drawing.Size(495, 71); + this.groupBox1.TabIndex = 3; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "File"; + // + // button1 + // + this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.button1.Location = new System.Drawing.Point(325, 21); + this.button1.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(156, 38); + this.button1.TabIndex = 2; + this.button1.Text = "Save a copy"; + this.button1.UseVisualStyleBackColor = false; + // + // groupBox2 + // + this.groupBox2.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.groupBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(31))))); + this.groupBox2.Controls.Add(this.label1); + this.groupBox2.Controls.Add(this.button2); + this.groupBox2.Controls.Add(this.numericUpDown2); + this.groupBox2.Controls.Add(this.numericUpDown1); + this.groupBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.groupBox2.Location = new System.Drawing.Point(511, 12); + this.groupBox2.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Padding = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.groupBox2.Size = new System.Drawing.Size(410, 71); + this.groupBox2.TabIndex = 4; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "Drawing"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(5, 28); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(110, 22); + this.label1.TabIndex = 5; + this.label1.Text = "Dimensions"; + // + // button2 + // + this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.button2.Location = new System.Drawing.Point(303, 20); + this.button2.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(94, 38); + this.button2.TabIndex = 3; + this.button2.Text = "Resize"; + this.button2.UseVisualStyleBackColor = false; + // + // numericUpDown2 + // + this.numericUpDown2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.numericUpDown2.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.numericUpDown2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.numericUpDown2.Location = new System.Drawing.Point(212, 26); + this.numericUpDown2.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.numericUpDown2.Name = "numericUpDown2"; + this.numericUpDown2.Size = new System.Drawing.Size(86, 23); + this.numericUpDown2.TabIndex = 5; + this.numericUpDown2.Value = new decimal(new int[] { + 500, + 0, + 0, + 0}); + // + // numericUpDown1 + // + this.numericUpDown1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.numericUpDown1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.numericUpDown1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.numericUpDown1.Location = new System.Drawing.Point(121, 26); + this.numericUpDown1.Maximum = new decimal(new int[] { + 10000, + 0, + 0, + 0}); + this.numericUpDown1.Name = "numericUpDown1"; + this.numericUpDown1.Size = new System.Drawing.Size(85, 23); + this.numericUpDown1.TabIndex = 4; + this.numericUpDown1.Value = new decimal(new int[] { + 900, + 0, + 0, + 0}); + // + // GroupBox3 + // + this.GroupBox3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(31))))); + this.GroupBox3.Controls.Add(this.button14); + this.GroupBox3.Controls.Add(this.button16); + this.GroupBox3.Controls.Add(this.button15); + this.GroupBox3.Controls.Add(this.button13); + this.GroupBox3.Controls.Add(this.button12); + this.GroupBox3.Controls.Add(this.button11); + this.GroupBox3.Controls.Add(this.button10); + this.GroupBox3.Controls.Add(this.button9); + this.GroupBox3.Controls.Add(this.label9); + this.GroupBox3.Controls.Add(this.label8); + this.GroupBox3.Controls.Add(this.numericUpDown6); + this.GroupBox3.Controls.Add(this.numericUpDown5); + this.GroupBox3.Controls.Add(this.numericUpDown4); + this.GroupBox3.Controls.Add(this.numericUpDown3); + this.GroupBox3.Controls.Add(this.label7); + this.GroupBox3.Controls.Add(this.label6); + this.GroupBox3.Controls.Add(this.textBox1); + this.GroupBox3.Controls.Add(this.label5); + this.GroupBox3.Controls.Add(this.button8); + this.GroupBox3.Controls.Add(this.button7); + this.GroupBox3.Controls.Add(this.button6); + this.GroupBox3.Controls.Add(this.label4); + this.GroupBox3.Controls.Add(this.button5); + this.GroupBox3.Font = new System.Drawing.Font("Cascadia Code", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.GroupBox3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.GroupBox3.Location = new System.Drawing.Point(926, 12); + this.GroupBox3.Name = "GroupBox3"; + this.GroupBox3.Size = new System.Drawing.Size(152, 642); + this.GroupBox3.TabIndex = 5; + this.GroupBox3.TabStop = false; + this.GroupBox3.Text = "Tools"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label5.Location = new System.Drawing.Point(26, 74); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(90, 20); + this.label5.TabIndex = 9; + this.label5.Text = "Set color"; + // + // button8 + // + this.button8.BackColor = System.Drawing.Color.Red; + this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button8.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button8.Location = new System.Drawing.Point(103, 46); + this.button8.Name = "button8"; + this.button8.Size = new System.Drawing.Size(25, 25); + this.button8.TabIndex = 4; + this.button8.UseVisualStyleBackColor = false; + // + // button7 + // + this.button7.BackColor = System.Drawing.Color.Red; + this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button7.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button7.Location = new System.Drawing.Point(72, 46); + this.button7.Name = "button7"; + this.button7.Size = new System.Drawing.Size(25, 25); + this.button7.TabIndex = 3; + this.button7.UseVisualStyleBackColor = false; + // + // button6 + // + this.button6.BackColor = System.Drawing.Color.Red; + this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button6.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button6.Location = new System.Drawing.Point(41, 46); + this.button6.Name = "button6"; + this.button6.Size = new System.Drawing.Size(25, 25); + this.button6.TabIndex = 2; + this.button6.UseVisualStyleBackColor = false; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label4.Location = new System.Drawing.Point(6, 26); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(135, 20); + this.label4.TabIndex = 1; + this.label4.Text = "Colors history"; + // + // button5 + // + this.button5.BackColor = System.Drawing.Color.Green; + this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button5.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button5.Location = new System.Drawing.Point(10, 46); + this.button5.Name = "button5"; + this.button5.Size = new System.Drawing.Size(25, 25); + this.button5.TabIndex = 0; + this.button5.UseVisualStyleBackColor = false; + // + // groupBox4 + // + this.groupBox4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(31))))); + this.groupBox4.Controls.Add(this.button3); + this.groupBox4.Controls.Add(this.label3); + this.groupBox4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.groupBox4.Location = new System.Drawing.Point(12, 599); + this.groupBox4.Name = "groupBox4"; + this.groupBox4.Size = new System.Drawing.Size(408, 55); + this.groupBox4.TabIndex = 6; + this.groupBox4.TabStop = false; + this.groupBox4.Text = "Hovering color"; + // + // button3 + // + this.button3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button3.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.button3.Location = new System.Drawing.Point(301, 19); + this.button3.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(84, 26); + this.button3.TabIndex = 3; + this.button3.Text = "Select"; + this.button3.UseVisualStyleBackColor = false; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(6, 23); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(290, 22); + this.label3.TabIndex = 1; + this.label3.Text = "Hex:FFFFFF R:255 G:255 B:255"; + // + // groupBox5 + // + this.groupBox5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(31))))); + this.groupBox5.Controls.Add(this.label2); + this.groupBox5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.groupBox5.Location = new System.Drawing.Point(426, 599); + this.groupBox5.Name = "groupBox5"; + this.groupBox5.Size = new System.Drawing.Size(319, 55); + this.groupBox5.TabIndex = 7; + this.groupBox5.TabStop = false; + this.groupBox5.Text = "Selected color"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(6, 23); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(290, 22); + this.label2.TabIndex = 1; + this.label2.Text = "Hex:FFFFFF R:255 G:255 B:255"; + // + // button4 + // + this.button4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.button4.Location = new System.Drawing.Point(750, 606); + this.button4.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(171, 48); + this.button4.TabIndex = 6; + this.button4.Text = "Import Image"; + this.button4.UseVisualStyleBackColor = false; + // + // textBox1 + // + this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBox1.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.textBox1.Location = new System.Drawing.Point(6, 117); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(141, 25); + this.textBox1.TabIndex = 10; + this.textBox1.Text = "#FFFFFF"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label6.Location = new System.Drawing.Point(6, 94); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(36, 20); + this.label6.TabIndex = 11; + this.label6.Text = "Hex"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label7.Location = new System.Drawing.Point(6, 145); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(36, 20); + this.label7.TabIndex = 12; + this.label7.Text = "RGB"; + // + // numericUpDown3 + // + this.numericUpDown3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.numericUpDown3.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.numericUpDown3.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.numericUpDown3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.numericUpDown3.Location = new System.Drawing.Point(6, 168); + this.numericUpDown3.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.numericUpDown3.Name = "numericUpDown3"; + this.numericUpDown3.Size = new System.Drawing.Size(141, 21); + this.numericUpDown3.TabIndex = 13; + this.numericUpDown3.Value = new decimal(new int[] { + 255, + 0, + 0, + 0}); + // + // numericUpDown4 + // + this.numericUpDown4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.numericUpDown4.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.numericUpDown4.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.numericUpDown4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.numericUpDown4.Location = new System.Drawing.Point(6, 199); + this.numericUpDown4.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.numericUpDown4.Name = "numericUpDown4"; + this.numericUpDown4.Size = new System.Drawing.Size(141, 21); + this.numericUpDown4.TabIndex = 14; + this.numericUpDown4.Value = new decimal(new int[] { + 255, + 0, + 0, + 0}); + // + // numericUpDown5 + // + this.numericUpDown5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.numericUpDown5.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.numericUpDown5.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.numericUpDown5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.numericUpDown5.Location = new System.Drawing.Point(6, 230); + this.numericUpDown5.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.numericUpDown5.Name = "numericUpDown5"; + this.numericUpDown5.Size = new System.Drawing.Size(141, 21); + this.numericUpDown5.TabIndex = 15; + this.numericUpDown5.Value = new decimal(new int[] { + 255, + 0, + 0, + 0}); + // + // numericUpDown6 + // + this.numericUpDown6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.numericUpDown6.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.numericUpDown6.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.numericUpDown6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.numericUpDown6.Location = new System.Drawing.Point(6, 310); + this.numericUpDown6.Maximum = new decimal(new int[] { + 255, + 0, + 0, + 0}); + this.numericUpDown6.Name = "numericUpDown6"; + this.numericUpDown6.Size = new System.Drawing.Size(141, 21); + this.numericUpDown6.TabIndex = 17; + this.numericUpDown6.Value = new decimal(new int[] { + 255, + 0, + 0, + 0}); + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label8.Location = new System.Drawing.Point(26, 258); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(99, 20); + this.label8.TabIndex = 18; + this.label8.Text = "Set pencil"; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label9.Location = new System.Drawing.Point(6, 287); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(54, 20); + this.label9.TabIndex = 19; + this.label9.Text = "Width"; + // + // button9 + // + this.button9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.button9.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button9.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.button9.Location = new System.Drawing.Point(6, 341); + this.button9.Name = "button9"; + this.button9.Size = new System.Drawing.Size(140, 31); + this.button9.TabIndex = 20; + this.button9.Text = "Pencil"; + this.button9.UseVisualStyleBackColor = false; + // + // button10 + // + this.button10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button10.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.button10.Location = new System.Drawing.Point(6, 378); + this.button10.Name = "button10"; + this.button10.Size = new System.Drawing.Size(140, 31); + this.button10.TabIndex = 21; + this.button10.Text = "Dot tracer"; + this.button10.UseVisualStyleBackColor = false; + // + // button11 + // + this.button11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.button11.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button11.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.button11.Location = new System.Drawing.Point(6, 415); + this.button11.Name = "button11"; + this.button11.Size = new System.Drawing.Size(140, 31); + this.button11.TabIndex = 22; + this.button11.Text = "Shape creator"; + this.button11.UseVisualStyleBackColor = false; + // + // button12 + // + this.button12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.button12.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button12.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.button12.Location = new System.Drawing.Point(6, 452); + this.button12.Name = "button12"; + this.button12.Size = new System.Drawing.Size(140, 31); + this.button12.TabIndex = 23; + this.button12.Text = "Spray"; + this.button12.UseVisualStyleBackColor = false; + // + // button13 + // + this.button13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.button13.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button13.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.button13.Location = new System.Drawing.Point(7, 489); + this.button13.Name = "button13"; + this.button13.Size = new System.Drawing.Size(140, 31); + this.button13.TabIndex = 24; + this.button13.Text = "Rectangle"; + this.button13.UseVisualStyleBackColor = false; + // + // button15 + // + this.button15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.button15.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button15.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.button15.Location = new System.Drawing.Point(7, 563); + this.button15.Name = "button15"; + this.button15.Size = new System.Drawing.Size(140, 31); + this.button15.TabIndex = 26; + this.button15.Text = "Circle"; + this.button15.UseVisualStyleBackColor = false; + // + // button16 + // + this.button16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.button16.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button16.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.button16.Location = new System.Drawing.Point(6, 600); + this.button16.Name = "button16"; + this.button16.Size = new System.Drawing.Size(140, 31); + this.button16.TabIndex = 27; + this.button16.Text = "Clear"; + this.button16.UseVisualStyleBackColor = false; + // + // button14 + // + this.button14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(41)))), ((int)(((byte)(41))))); + this.button14.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button14.Font = new System.Drawing.Font("Cascadia Code", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.button14.Location = new System.Drawing.Point(7, 526); + this.button14.Name = "button14"; + this.button14.Size = new System.Drawing.Size(140, 31); + this.button14.TabIndex = 28; + this.button14.Text = "Fill"; + this.button14.UseVisualStyleBackColor = false; + // + // PaintForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18))))); + this.ClientSize = new System.Drawing.Size(1085, 671); + this.Controls.Add(this.button4); + this.Controls.Add(this.groupBox5); + this.Controls.Add(this.groupBox4); + this.Controls.Add(this.GroupBox3); + this.Controls.Add(this.groupBox2); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.canvas); + this.Font = new System.Drawing.Font("Cascadia Code", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(206)))), ((int)(((byte)(122))))); + this.Margin = new System.Windows.Forms.Padding(4); + this.Name = "PaintForm"; + this.Text = "Paint 2"; + ((System.ComponentModel.ISupportInitialize)(this.canvas)).EndInit(); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); + this.GroupBox3.ResumeLayout(false); + this.GroupBox3.PerformLayout(); + this.groupBox4.ResumeLayout(false); + this.groupBox4.PerformLayout(); + this.groupBox5.ResumeLayout(false); + this.groupBox5.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TextBox tbxProjectName; + private System.Windows.Forms.Button btnSave; + private System.Windows.Forms.PictureBox canvas; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.GroupBox groupBox2; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.NumericUpDown numericUpDown2; + private System.Windows.Forms.NumericUpDown numericUpDown1; + private System.Windows.Forms.GroupBox GroupBox3; + private System.Windows.Forms.Button button8; + private System.Windows.Forms.Button button7; + private System.Windows.Forms.Button button6; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Button button5; + private System.Windows.Forms.GroupBox groupBox4; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.GroupBox groupBox5; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Button button4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Button button16; + private System.Windows.Forms.Button button15; + private System.Windows.Forms.Button button13; + private System.Windows.Forms.Button button12; + private System.Windows.Forms.Button button11; + private System.Windows.Forms.Button button10; + private System.Windows.Forms.Button button9; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.NumericUpDown numericUpDown6; + private System.Windows.Forms.NumericUpDown numericUpDown5; + private System.Windows.Forms.NumericUpDown numericUpDown4; + private System.Windows.Forms.NumericUpDown numericUpDown3; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button14; + } +} + diff --git a/Paint_2/Form1.cs b/Paint_2/Form1.cs new file mode 100644 index 0000000..960983d --- /dev/null +++ b/Paint_2/Form1.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Paint_2 +{ + public partial class PaintForm : Form + { + public PaintForm() + { + InitializeComponent(); + } + + private void btnColorPick_Click(object sender, EventArgs e) + { + } + } +} diff --git a/Paint_2/Form1.resx b/Paint_2/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Paint_2/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Paint_2/Paint_2.csproj b/Paint_2/Paint_2.csproj new file mode 100644 index 0000000..2df6359 --- /dev/null +++ b/Paint_2/Paint_2.csproj @@ -0,0 +1,83 @@ + + + + + Debug + AnyCPU + {9E7E824D-548E-4FF9-B555-FADC172A46B6} + WinExe + Paint_2 + Paint_2 + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/Paint_2/Program.cs b/Paint_2/Program.cs new file mode 100644 index 0000000..29293b0 --- /dev/null +++ b/Paint_2/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Paint_2 +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new PaintForm()); + } + } +} diff --git a/Paint_2/Properties/AssemblyInfo.cs b/Paint_2/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..04caa15 --- /dev/null +++ b/Paint_2/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Paint_2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Paint_2")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("9e7e824d-548e-4ff9-b555-fadc172a46b6")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Paint_2/Properties/Resources.Designer.cs b/Paint_2/Properties/Resources.Designer.cs new file mode 100644 index 0000000..f6a35d8 --- /dev/null +++ b/Paint_2/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Paint_2.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Paint_2.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/Paint_2/Properties/Resources.resx b/Paint_2/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/Paint_2/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Paint_2/Properties/Settings.Designer.cs b/Paint_2/Properties/Settings.Designer.cs new file mode 100644 index 0000000..0cbb75f --- /dev/null +++ b/Paint_2/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Paint_2.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Paint_2/Properties/Settings.settings b/Paint_2/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/Paint_2/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + +