1st commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.31729.503
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MosaicTiles", "MosaicTiles\MosaicTiles.csproj", "{2CD7D4FB-1251-4305-9D23-5DD5A3DF84B4}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{2CD7D4FB-1251-4305-9D23-5DD5A3DF84B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{2CD7D4FB-1251-4305-9D23-5DD5A3DF84B4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{2CD7D4FB-1251-4305-9D23-5DD5A3DF84B4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{2CD7D4FB-1251-4305-9D23-5DD5A3DF84B4}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {FA99D662-5E5B-403B-9EE3-2056D39BDB74}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{2CD7D4FB-1251-4305-9D23-5DD5A3DF84B4}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<RootNamespace>MosaicTiles</RootNamespace>
|
||||||
|
<AssemblyName>MosaicTiles</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="MosicTiles.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="MosicTiles.Designer.cs">
|
||||||
|
<DependentUpon>MosicTiles.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="MosicTiles.resx">
|
||||||
|
<DependentUpon>MosicTiles.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
Generated
+552
@@ -0,0 +1,552 @@
|
|||||||
|
namespace MosaicTiles
|
||||||
|
{
|
||||||
|
partial class MosicTiles
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 필수 디자이너 변수입니다.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 사용 중인 모든 리소스를 정리합니다.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region 구성 요소 디자이너에서 생성한 코드
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 디자이너 지원에 필요한 메서드입니다.
|
||||||
|
/// 이 메서드의 내용을 코드 편집기로 수정하지 마세요.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.MainImage = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile00 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile01 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile03 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile02 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile04 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile14 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile13 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile12 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile11 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile10 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile34 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile33 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile32 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile31 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile30 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile24 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile23 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile22 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile21 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile20 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile54 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile53 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile52 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile51 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile50 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile44 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile43 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile42 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile41 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.pbTile40 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.btnReset = new System.Windows.Forms.Button();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.MainImage)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile00)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile01)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile03)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile02)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile04)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile14)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile13)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile12)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile11)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile10)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile34)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile33)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile32)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile31)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile30)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile24)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile23)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile22)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile21)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile20)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile54)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile53)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile52)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile51)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile50)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile44)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile43)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile42)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile41)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile40)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// MainImage
|
||||||
|
//
|
||||||
|
this.MainImage.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.MainImage.Name = "MainImage";
|
||||||
|
this.MainImage.Size = new System.Drawing.Size(250, 300);
|
||||||
|
this.MainImage.TabIndex = 0;
|
||||||
|
this.MainImage.TabStop = false;
|
||||||
|
//
|
||||||
|
// pbTile00
|
||||||
|
//
|
||||||
|
this.pbTile00.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile00.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile00.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.pbTile00.Name = "pbTile00";
|
||||||
|
this.pbTile00.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile00.TabIndex = 1;
|
||||||
|
this.pbTile00.TabStop = false;
|
||||||
|
this.pbTile00.Click += new System.EventHandler(this.pbTile00_Click);
|
||||||
|
//
|
||||||
|
// pbTile01
|
||||||
|
//
|
||||||
|
this.pbTile01.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile01.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile01.Location = new System.Drawing.Point(50, 0);
|
||||||
|
this.pbTile01.Name = "pbTile01";
|
||||||
|
this.pbTile01.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile01.TabIndex = 2;
|
||||||
|
this.pbTile01.TabStop = false;
|
||||||
|
this.pbTile01.Click += new System.EventHandler(this.pbTile01_Click);
|
||||||
|
//
|
||||||
|
// pbTile03
|
||||||
|
//
|
||||||
|
this.pbTile03.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile03.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile03.Location = new System.Drawing.Point(150, 0);
|
||||||
|
this.pbTile03.Name = "pbTile03";
|
||||||
|
this.pbTile03.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile03.TabIndex = 4;
|
||||||
|
this.pbTile03.TabStop = false;
|
||||||
|
this.pbTile03.Click += new System.EventHandler(this.pbTile03_Click);
|
||||||
|
//
|
||||||
|
// pbTile02
|
||||||
|
//
|
||||||
|
this.pbTile02.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile02.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile02.Location = new System.Drawing.Point(100, 0);
|
||||||
|
this.pbTile02.Name = "pbTile02";
|
||||||
|
this.pbTile02.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile02.TabIndex = 3;
|
||||||
|
this.pbTile02.TabStop = false;
|
||||||
|
this.pbTile02.Click += new System.EventHandler(this.pbTile02_Click);
|
||||||
|
//
|
||||||
|
// pbTile04
|
||||||
|
//
|
||||||
|
this.pbTile04.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile04.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile04.Location = new System.Drawing.Point(200, 0);
|
||||||
|
this.pbTile04.Name = "pbTile04";
|
||||||
|
this.pbTile04.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile04.TabIndex = 5;
|
||||||
|
this.pbTile04.TabStop = false;
|
||||||
|
this.pbTile04.Click += new System.EventHandler(this.pbTile04_Click);
|
||||||
|
//
|
||||||
|
// pbTile14
|
||||||
|
//
|
||||||
|
this.pbTile14.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile14.Location = new System.Drawing.Point(200, 50);
|
||||||
|
this.pbTile14.Name = "pbTile14";
|
||||||
|
this.pbTile14.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile14.TabIndex = 10;
|
||||||
|
this.pbTile14.TabStop = false;
|
||||||
|
this.pbTile14.Click += new System.EventHandler(this.pbTile14_Click);
|
||||||
|
//
|
||||||
|
// pbTile13
|
||||||
|
//
|
||||||
|
this.pbTile13.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile13.Location = new System.Drawing.Point(150, 50);
|
||||||
|
this.pbTile13.Name = "pbTile13";
|
||||||
|
this.pbTile13.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile13.TabIndex = 9;
|
||||||
|
this.pbTile13.TabStop = false;
|
||||||
|
this.pbTile13.Click += new System.EventHandler(this.pbTile13_Click);
|
||||||
|
//
|
||||||
|
// pbTile12
|
||||||
|
//
|
||||||
|
this.pbTile12.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile12.Location = new System.Drawing.Point(100, 50);
|
||||||
|
this.pbTile12.Name = "pbTile12";
|
||||||
|
this.pbTile12.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile12.TabIndex = 8;
|
||||||
|
this.pbTile12.TabStop = false;
|
||||||
|
this.pbTile12.Click += new System.EventHandler(this.pbTile12_Click);
|
||||||
|
//
|
||||||
|
// pbTile11
|
||||||
|
//
|
||||||
|
this.pbTile11.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile11.Location = new System.Drawing.Point(50, 50);
|
||||||
|
this.pbTile11.Name = "pbTile11";
|
||||||
|
this.pbTile11.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile11.TabIndex = 7;
|
||||||
|
this.pbTile11.TabStop = false;
|
||||||
|
this.pbTile11.Click += new System.EventHandler(this.pbTile11_Click);
|
||||||
|
//
|
||||||
|
// pbTile10
|
||||||
|
//
|
||||||
|
this.pbTile10.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile10.Location = new System.Drawing.Point(0, 50);
|
||||||
|
this.pbTile10.Name = "pbTile10";
|
||||||
|
this.pbTile10.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile10.TabIndex = 6;
|
||||||
|
this.pbTile10.TabStop = false;
|
||||||
|
this.pbTile10.Click += new System.EventHandler(this.pbTile10_Click);
|
||||||
|
//
|
||||||
|
// pbTile34
|
||||||
|
//
|
||||||
|
this.pbTile34.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile34.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile34.Location = new System.Drawing.Point(200, 150);
|
||||||
|
this.pbTile34.Name = "pbTile34";
|
||||||
|
this.pbTile34.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile34.TabIndex = 20;
|
||||||
|
this.pbTile34.TabStop = false;
|
||||||
|
this.pbTile34.Click += new System.EventHandler(this.pbTile34_Click);
|
||||||
|
//
|
||||||
|
// pbTile33
|
||||||
|
//
|
||||||
|
this.pbTile33.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile33.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile33.Location = new System.Drawing.Point(150, 150);
|
||||||
|
this.pbTile33.Name = "pbTile33";
|
||||||
|
this.pbTile33.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile33.TabIndex = 19;
|
||||||
|
this.pbTile33.TabStop = false;
|
||||||
|
this.pbTile33.Click += new System.EventHandler(this.pbTile33_Click);
|
||||||
|
//
|
||||||
|
// pbTile32
|
||||||
|
//
|
||||||
|
this.pbTile32.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile32.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile32.Location = new System.Drawing.Point(100, 150);
|
||||||
|
this.pbTile32.Name = "pbTile32";
|
||||||
|
this.pbTile32.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile32.TabIndex = 18;
|
||||||
|
this.pbTile32.TabStop = false;
|
||||||
|
this.pbTile32.Click += new System.EventHandler(this.pbTile32_Click);
|
||||||
|
//
|
||||||
|
// pbTile31
|
||||||
|
//
|
||||||
|
this.pbTile31.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile31.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile31.Location = new System.Drawing.Point(50, 150);
|
||||||
|
this.pbTile31.Name = "pbTile31";
|
||||||
|
this.pbTile31.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile31.TabIndex = 17;
|
||||||
|
this.pbTile31.TabStop = false;
|
||||||
|
this.pbTile31.Click += new System.EventHandler(this.pbTile31_Click);
|
||||||
|
//
|
||||||
|
// pbTile30
|
||||||
|
//
|
||||||
|
this.pbTile30.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile30.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile30.Location = new System.Drawing.Point(0, 150);
|
||||||
|
this.pbTile30.Name = "pbTile30";
|
||||||
|
this.pbTile30.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile30.TabIndex = 16;
|
||||||
|
this.pbTile30.TabStop = false;
|
||||||
|
this.pbTile30.Click += new System.EventHandler(this.pbTile30_Click);
|
||||||
|
//
|
||||||
|
// pbTile24
|
||||||
|
//
|
||||||
|
this.pbTile24.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile24.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile24.Location = new System.Drawing.Point(200, 100);
|
||||||
|
this.pbTile24.Name = "pbTile24";
|
||||||
|
this.pbTile24.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile24.TabIndex = 15;
|
||||||
|
this.pbTile24.TabStop = false;
|
||||||
|
this.pbTile24.Click += new System.EventHandler(this.pbTile24_Click);
|
||||||
|
//
|
||||||
|
// pbTile23
|
||||||
|
//
|
||||||
|
this.pbTile23.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile23.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile23.Location = new System.Drawing.Point(150, 100);
|
||||||
|
this.pbTile23.Name = "pbTile23";
|
||||||
|
this.pbTile23.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile23.TabIndex = 14;
|
||||||
|
this.pbTile23.TabStop = false;
|
||||||
|
this.pbTile23.Click += new System.EventHandler(this.pbTile23_Click);
|
||||||
|
//
|
||||||
|
// pbTile22
|
||||||
|
//
|
||||||
|
this.pbTile22.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile22.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile22.Location = new System.Drawing.Point(100, 100);
|
||||||
|
this.pbTile22.Name = "pbTile22";
|
||||||
|
this.pbTile22.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile22.TabIndex = 13;
|
||||||
|
this.pbTile22.TabStop = false;
|
||||||
|
this.pbTile22.Click += new System.EventHandler(this.pbTile22_Click);
|
||||||
|
//
|
||||||
|
// pbTile21
|
||||||
|
//
|
||||||
|
this.pbTile21.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile21.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile21.Location = new System.Drawing.Point(50, 100);
|
||||||
|
this.pbTile21.Name = "pbTile21";
|
||||||
|
this.pbTile21.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile21.TabIndex = 12;
|
||||||
|
this.pbTile21.TabStop = false;
|
||||||
|
this.pbTile21.Click += new System.EventHandler(this.pbTile21_Click);
|
||||||
|
//
|
||||||
|
// pbTile20
|
||||||
|
//
|
||||||
|
this.pbTile20.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile20.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile20.Location = new System.Drawing.Point(0, 100);
|
||||||
|
this.pbTile20.Name = "pbTile20";
|
||||||
|
this.pbTile20.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile20.TabIndex = 11;
|
||||||
|
this.pbTile20.TabStop = false;
|
||||||
|
this.pbTile20.Click += new System.EventHandler(this.pbTile20_Click);
|
||||||
|
//
|
||||||
|
// pbTile54
|
||||||
|
//
|
||||||
|
this.pbTile54.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile54.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile54.Location = new System.Drawing.Point(200, 250);
|
||||||
|
this.pbTile54.Name = "pbTile54";
|
||||||
|
this.pbTile54.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile54.TabIndex = 30;
|
||||||
|
this.pbTile54.TabStop = false;
|
||||||
|
this.pbTile54.Click += new System.EventHandler(this.pbTile54_Click);
|
||||||
|
//
|
||||||
|
// pbTile53
|
||||||
|
//
|
||||||
|
this.pbTile53.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile53.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile53.Location = new System.Drawing.Point(150, 250);
|
||||||
|
this.pbTile53.Name = "pbTile53";
|
||||||
|
this.pbTile53.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile53.TabIndex = 29;
|
||||||
|
this.pbTile53.TabStop = false;
|
||||||
|
this.pbTile53.Click += new System.EventHandler(this.pbTile53_Click);
|
||||||
|
//
|
||||||
|
// pbTile52
|
||||||
|
//
|
||||||
|
this.pbTile52.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile52.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile52.Location = new System.Drawing.Point(100, 250);
|
||||||
|
this.pbTile52.Name = "pbTile52";
|
||||||
|
this.pbTile52.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile52.TabIndex = 28;
|
||||||
|
this.pbTile52.TabStop = false;
|
||||||
|
this.pbTile52.Click += new System.EventHandler(this.pbTile52_Click);
|
||||||
|
//
|
||||||
|
// pbTile51
|
||||||
|
//
|
||||||
|
this.pbTile51.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile51.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile51.Location = new System.Drawing.Point(50, 250);
|
||||||
|
this.pbTile51.Name = "pbTile51";
|
||||||
|
this.pbTile51.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile51.TabIndex = 27;
|
||||||
|
this.pbTile51.TabStop = false;
|
||||||
|
this.pbTile51.Click += new System.EventHandler(this.pbTile51_Click);
|
||||||
|
//
|
||||||
|
// pbTile50
|
||||||
|
//
|
||||||
|
this.pbTile50.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile50.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile50.Location = new System.Drawing.Point(0, 250);
|
||||||
|
this.pbTile50.Name = "pbTile50";
|
||||||
|
this.pbTile50.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile50.TabIndex = 26;
|
||||||
|
this.pbTile50.TabStop = false;
|
||||||
|
this.pbTile50.Click += new System.EventHandler(this.pbTile50_Click);
|
||||||
|
//
|
||||||
|
// pbTile44
|
||||||
|
//
|
||||||
|
this.pbTile44.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile44.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile44.Location = new System.Drawing.Point(200, 200);
|
||||||
|
this.pbTile44.Name = "pbTile44";
|
||||||
|
this.pbTile44.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile44.TabIndex = 25;
|
||||||
|
this.pbTile44.TabStop = false;
|
||||||
|
this.pbTile44.Click += new System.EventHandler(this.pbTile44_Click);
|
||||||
|
//
|
||||||
|
// pbTile43
|
||||||
|
//
|
||||||
|
this.pbTile43.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile43.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile43.Location = new System.Drawing.Point(150, 200);
|
||||||
|
this.pbTile43.Name = "pbTile43";
|
||||||
|
this.pbTile43.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile43.TabIndex = 24;
|
||||||
|
this.pbTile43.TabStop = false;
|
||||||
|
this.pbTile43.Click += new System.EventHandler(this.pbTile43_Click);
|
||||||
|
//
|
||||||
|
// pbTile42
|
||||||
|
//
|
||||||
|
this.pbTile42.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile42.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile42.Location = new System.Drawing.Point(100, 200);
|
||||||
|
this.pbTile42.Name = "pbTile42";
|
||||||
|
this.pbTile42.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile42.TabIndex = 23;
|
||||||
|
this.pbTile42.TabStop = false;
|
||||||
|
this.pbTile42.Click += new System.EventHandler(this.pbTile42_Click);
|
||||||
|
//
|
||||||
|
// pbTile41
|
||||||
|
//
|
||||||
|
this.pbTile41.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile41.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile41.Location = new System.Drawing.Point(50, 200);
|
||||||
|
this.pbTile41.Name = "pbTile41";
|
||||||
|
this.pbTile41.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile41.TabIndex = 22;
|
||||||
|
this.pbTile41.TabStop = false;
|
||||||
|
this.pbTile41.Click += new System.EventHandler(this.pbTile41_Click);
|
||||||
|
//
|
||||||
|
// pbTile40
|
||||||
|
//
|
||||||
|
this.pbTile40.BackColor = System.Drawing.Color.SteelBlue;
|
||||||
|
this.pbTile40.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.pbTile40.Location = new System.Drawing.Point(0, 200);
|
||||||
|
this.pbTile40.Name = "pbTile40";
|
||||||
|
this.pbTile40.Size = new System.Drawing.Size(50, 50);
|
||||||
|
this.pbTile40.TabIndex = 21;
|
||||||
|
this.pbTile40.TabStop = false;
|
||||||
|
this.pbTile40.Click += new System.EventHandler(this.pbTile40_Click);
|
||||||
|
//
|
||||||
|
// btnReset
|
||||||
|
//
|
||||||
|
this.btnReset.Location = new System.Drawing.Point(1, 313);
|
||||||
|
this.btnReset.Name = "btnReset";
|
||||||
|
this.btnReset.Size = new System.Drawing.Size(248, 36);
|
||||||
|
this.btnReset.TabIndex = 31;
|
||||||
|
this.btnReset.Text = "Reset";
|
||||||
|
this.btnReset.UseVisualStyleBackColor = true;
|
||||||
|
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
|
||||||
|
//
|
||||||
|
// MosicTiles
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.Controls.Add(this.btnReset);
|
||||||
|
this.Controls.Add(this.pbTile54);
|
||||||
|
this.Controls.Add(this.pbTile53);
|
||||||
|
this.Controls.Add(this.pbTile52);
|
||||||
|
this.Controls.Add(this.pbTile51);
|
||||||
|
this.Controls.Add(this.pbTile50);
|
||||||
|
this.Controls.Add(this.pbTile44);
|
||||||
|
this.Controls.Add(this.pbTile43);
|
||||||
|
this.Controls.Add(this.pbTile42);
|
||||||
|
this.Controls.Add(this.pbTile41);
|
||||||
|
this.Controls.Add(this.pbTile40);
|
||||||
|
this.Controls.Add(this.pbTile34);
|
||||||
|
this.Controls.Add(this.pbTile33);
|
||||||
|
this.Controls.Add(this.pbTile32);
|
||||||
|
this.Controls.Add(this.pbTile31);
|
||||||
|
this.Controls.Add(this.pbTile30);
|
||||||
|
this.Controls.Add(this.pbTile24);
|
||||||
|
this.Controls.Add(this.pbTile23);
|
||||||
|
this.Controls.Add(this.pbTile22);
|
||||||
|
this.Controls.Add(this.pbTile21);
|
||||||
|
this.Controls.Add(this.pbTile20);
|
||||||
|
this.Controls.Add(this.pbTile14);
|
||||||
|
this.Controls.Add(this.pbTile13);
|
||||||
|
this.Controls.Add(this.pbTile12);
|
||||||
|
this.Controls.Add(this.pbTile11);
|
||||||
|
this.Controls.Add(this.pbTile10);
|
||||||
|
this.Controls.Add(this.pbTile04);
|
||||||
|
this.Controls.Add(this.pbTile03);
|
||||||
|
this.Controls.Add(this.pbTile02);
|
||||||
|
this.Controls.Add(this.pbTile01);
|
||||||
|
this.Controls.Add(this.pbTile00);
|
||||||
|
this.Controls.Add(this.MainImage);
|
||||||
|
this.Name = "MosicTiles";
|
||||||
|
this.Size = new System.Drawing.Size(250, 350);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.MainImage)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile00)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile01)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile03)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile02)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile04)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile14)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile13)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile12)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile11)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile10)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile34)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile33)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile32)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile31)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile30)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile24)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile23)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile22)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile21)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile20)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile54)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile53)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile52)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile51)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile50)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile44)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile43)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile42)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile41)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pbTile40)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.PictureBox MainImage;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile00;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile01;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile03;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile02;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile04;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile14;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile13;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile12;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile11;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile10;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile34;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile33;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile32;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile31;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile30;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile24;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile23;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile22;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile21;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile20;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile54;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile53;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile52;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile51;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile50;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile44;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile43;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile42;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile41;
|
||||||
|
private System.Windows.Forms.PictureBox pbTile40;
|
||||||
|
private System.Windows.Forms.Button btnReset;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,278 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Data;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace MosaicTiles
|
||||||
|
{
|
||||||
|
public partial class MosicTiles: UserControl
|
||||||
|
{
|
||||||
|
private List<PictureBox> pictureBoxes;
|
||||||
|
|
||||||
|
|
||||||
|
public MosicTiles()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
IniPictureBoxList();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Image Image
|
||||||
|
{
|
||||||
|
get => MainImage.Image;
|
||||||
|
set => MainImage.Image = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void IniPictureBoxList()
|
||||||
|
{
|
||||||
|
pictureBoxes = new List<PictureBox>();
|
||||||
|
pictureBoxes.Add(pbTile00);
|
||||||
|
pictureBoxes.Add(pbTile01);
|
||||||
|
pictureBoxes.Add(pbTile02);
|
||||||
|
pictureBoxes.Add(pbTile03);
|
||||||
|
pictureBoxes.Add(pbTile04);
|
||||||
|
pictureBoxes.Add(pbTile10);
|
||||||
|
pictureBoxes.Add(pbTile11);
|
||||||
|
pictureBoxes.Add(pbTile12);
|
||||||
|
pictureBoxes.Add(pbTile13);
|
||||||
|
pictureBoxes.Add(pbTile14);
|
||||||
|
pictureBoxes.Add(pbTile20);
|
||||||
|
pictureBoxes.Add(pbTile21);
|
||||||
|
pictureBoxes.Add(pbTile22);
|
||||||
|
pictureBoxes.Add(pbTile23);
|
||||||
|
pictureBoxes.Add(pbTile24);
|
||||||
|
pictureBoxes.Add(pbTile30);
|
||||||
|
pictureBoxes.Add(pbTile31);
|
||||||
|
pictureBoxes.Add(pbTile32);
|
||||||
|
pictureBoxes.Add(pbTile33);
|
||||||
|
pictureBoxes.Add(pbTile34);
|
||||||
|
pictureBoxes.Add(pbTile40);
|
||||||
|
pictureBoxes.Add(pbTile41);
|
||||||
|
pictureBoxes.Add(pbTile42);
|
||||||
|
pictureBoxes.Add(pbTile43);
|
||||||
|
pictureBoxes.Add(pbTile44);
|
||||||
|
pictureBoxes.Add(pbTile50);
|
||||||
|
pictureBoxes.Add(pbTile51);
|
||||||
|
pictureBoxes.Add(pbTile52);
|
||||||
|
pictureBoxes.Add(pbTile53);
|
||||||
|
pictureBoxes.Add(pbTile54);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void TurnAllPictureBoxsVisible()
|
||||||
|
{
|
||||||
|
foreach(PictureBox pictureBox in pictureBoxes)
|
||||||
|
{
|
||||||
|
pictureBox.Visible = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void TurnPictureBoxTransparent(PictureBox target)
|
||||||
|
{
|
||||||
|
if (target.BackColor != Color.Transparent)
|
||||||
|
{
|
||||||
|
target.BackColor = Color.Transparent;
|
||||||
|
target.BorderStyle = BorderStyle.None;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
target.BackColor = Color.SteelBlue;
|
||||||
|
target.BorderStyle = BorderStyle.FixedSingle;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void TurnPictureBoxUnvisible(PictureBox target)
|
||||||
|
{
|
||||||
|
target.Visible = !target.Visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void pbTile00_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile01_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile02_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile03_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile04_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile10_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile11_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile12_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile13_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile14_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile20_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile21_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile22_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile23_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile24_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile30_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile31_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile32_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile33_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile34_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile40_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile41_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile42_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile43_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile44_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile50_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile51_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile52_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile53_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void pbTile54_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//TurnPictureBoxTransparent((PictureBox)sender);
|
||||||
|
TurnPictureBoxUnvisible((PictureBox)sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnReset_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
TurnAllPictureBoxsVisible();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
|
||||||
|
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
|
||||||
|
// 이러한 특성 값을 변경하세요.
|
||||||
|
[assembly: AssemblyTitle("MosaicTiles")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("MosaicTiles")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2021")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
|
||||||
|
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
|
||||||
|
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
|
||||||
|
[assembly: Guid("2cd7d4fb-1251-4305-9d23-5dd5a3df84b4")]
|
||||||
|
|
||||||
|
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
|
||||||
|
//
|
||||||
|
// 주 버전
|
||||||
|
// 부 버전
|
||||||
|
// 빌드 번호
|
||||||
|
// 수정 버전
|
||||||
|
//
|
||||||
|
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
|
||||||
|
// 기본값으로 할 수 있습니다.
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.2", FrameworkDisplayName = ".NET Framework 4.6.2")]
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
b0bafd7510f7c94083692e9136a5126858813601
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\bin\Debug\MosaicTiles.dll
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\bin\Debug\MosaicTiles.pdb
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\obj\Debug\MosaicTiles.csproj.AssemblyReference.cache
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\obj\Debug\MosaicTiles.MosicTiles.resources
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\obj\Debug\MosaicTiles.csproj.GenerateResource.cache
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\obj\Debug\MosaicTiles.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\obj\Debug\MosaicTiles.dll
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\obj\Debug\MosaicTiles.pdb
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.2", FrameworkDisplayName = ".NET Framework 4.6.2")]
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
e91e1dc9d2a27b8f84c3c90a66d4e7539ae41e9e
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\bin\Release\MosaicTiles.dll
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\bin\Release\MosaicTiles.pdb
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\obj\Release\MosaicTiles.csproj.AssemblyReference.cache
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\obj\Release\MosaicTiles.MosicTiles.resources
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\obj\Release\MosaicTiles.csproj.GenerateResource.cache
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\obj\Release\MosaicTiles.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\obj\Release\MosaicTiles.dll
|
||||||
|
C:\Users\songq\source\repos\MosaicTiles\MosaicTiles\obj\Release\MosaicTiles.pdb
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user