├── .gitattributes ├── .gitignore ├── FodyWeavers.xml ├── LineKeyViewer.sln ├── LineKeyViewer ├── App.config ├── Form1.Designer.cs ├── Form1.cs ├── Form1.resx ├── Form2.Designer.cs ├── Form2.cs ├── Form2.resx ├── LineKeyViewer.csproj ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── Resources │ ├── Line1.png │ ├── Line_head.png │ ├── Line_key_16_1.png │ ├── Line_table.png │ ├── Line_table_wink.png │ ├── Line_wink.png │ ├── bongo.png │ ├── cat.png │ ├── cat_table.png │ ├── cat_table_wink.png │ ├── cat_wink.png │ ├── controller.png │ ├── empty.png │ ├── icon.ico │ ├── key1.png │ ├── key10.png │ ├── key11.png │ ├── key12.png │ ├── key13.png │ ├── key14.png │ ├── key15.png │ ├── key16.png │ ├── key2.png │ ├── key3.png │ ├── key4.png │ ├── key5.png │ ├── key6.png │ ├── key7.png │ ├── key8.png │ ├── key9.png │ ├── keyboard.png │ ├── piano.png │ ├── pressed_key1.png │ ├── pressed_key10.png │ ├── pressed_key11.png │ ├── pressed_key12.png │ ├── pressed_key13.png │ ├── pressed_key14.png │ ├── pressed_key15.png │ ├── pressed_key16.png │ ├── pressed_key2.png │ ├── pressed_key3.png │ ├── pressed_key4.png │ ├── pressed_key5.png │ ├── pressed_key6.png │ ├── pressed_key7.png │ ├── pressed_key8.png │ ├── pressed_key9.png │ ├── pressed_left.png │ ├── pressed_left_wave.png │ ├── pressed_right.png │ ├── pressed_right_wave.png │ ├── table.png │ ├── unpressed_left.png │ └── unpressed_right.png └── packages.config ├── README.md ├── SECURITY.md └── docs └── 1.gif /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.suo 8 | *.user 9 | *.userosscache 10 | *.sln.docstates 11 | 12 | # User-specific files (MonoDevelop/Xamarin Studio) 13 | *.userprefs 14 | 15 | # Build results 16 | [Dd]ebug/ 17 | [Dd]ebugPublic/ 18 | [Rr]elease/ 19 | [Rr]eleases/ 20 | x64/ 21 | x86/ 22 | bld/ 23 | [Bb]in/ 24 | [Oo]bj/ 25 | [Ll]og/ 26 | 27 | # Visual Studio 2015/2017 cache/options directory 28 | .vs/ 29 | # Uncomment if you have tasks that create the project's static files in wwwroot 30 | #wwwroot/ 31 | 32 | # Visual Studio 2017 auto generated files 33 | Generated\ Files/ 34 | 35 | # MSTest test Results 36 | [Tt]est[Rr]esult*/ 37 | [Bb]uild[Ll]og.* 38 | 39 | # NUNIT 40 | *.VisualState.xml 41 | TestResult.xml 42 | 43 | # Build Results of an ATL Project 44 | [Dd]ebugPS/ 45 | [Rr]eleasePS/ 46 | dlldata.c 47 | 48 | # Benchmark Results 49 | BenchmarkDotNet.Artifacts/ 50 | 51 | # .NET Core 52 | project.lock.json 53 | project.fragment.lock.json 54 | artifacts/ 55 | 56 | # StyleCop 57 | StyleCopReport.xml 58 | 59 | # Files built by Visual Studio 60 | *_i.c 61 | *_p.c 62 | *_h.h 63 | *.ilk 64 | *.meta 65 | *.obj 66 | *.iobj 67 | *.pch 68 | *.pdb 69 | *.ipdb 70 | *.pgc 71 | *.pgd 72 | *.rsp 73 | *.sbr 74 | *.tlb 75 | *.tli 76 | *.tlh 77 | *.tmp 78 | *.tmp_proj 79 | *_wpftmp.csproj 80 | *.log 81 | *.vspscc 82 | *.vssscc 83 | .builds 84 | *.pidb 85 | *.svclog 86 | *.scc 87 | 88 | # Chutzpah Test files 89 | _Chutzpah* 90 | 91 | # Visual C++ cache files 92 | ipch/ 93 | *.aps 94 | *.ncb 95 | *.opendb 96 | *.opensdf 97 | *.sdf 98 | *.cachefile 99 | *.VC.db 100 | *.VC.VC.opendb 101 | 102 | # Visual Studio profiler 103 | *.psess 104 | *.vsp 105 | *.vspx 106 | *.sap 107 | 108 | # Visual Studio Trace Files 109 | *.e2e 110 | 111 | # TFS 2012 Local Workspace 112 | $tf/ 113 | 114 | # Guidance Automation Toolkit 115 | *.gpState 116 | 117 | # ReSharper is a .NET coding add-in 118 | _ReSharper*/ 119 | *.[Rr]e[Ss]harper 120 | *.DotSettings.user 121 | 122 | # JustCode is a .NET coding add-in 123 | .JustCode 124 | 125 | # TeamCity is a build add-in 126 | _TeamCity* 127 | 128 | # DotCover is a Code Coverage Tool 129 | *.dotCover 130 | 131 | # AxoCover is a Code Coverage Tool 132 | .axoCover/* 133 | !.axoCover/settings.json 134 | 135 | # Visual Studio code coverage results 136 | *.coverage 137 | *.coveragexml 138 | 139 | # NCrunch 140 | _NCrunch_* 141 | .*crunch*.local.xml 142 | nCrunchTemp_* 143 | 144 | # MightyMoose 145 | *.mm.* 146 | AutoTest.Net/ 147 | 148 | # Web workbench (sass) 149 | .sass-cache/ 150 | 151 | # Installshield output folder 152 | [Ee]xpress/ 153 | 154 | # DocProject is a documentation generator add-in 155 | DocProject/buildhelp/ 156 | DocProject/Help/*.HxT 157 | DocProject/Help/*.HxC 158 | DocProject/Help/*.hhc 159 | DocProject/Help/*.hhk 160 | DocProject/Help/*.hhp 161 | DocProject/Help/Html2 162 | DocProject/Help/html 163 | 164 | # Click-Once directory 165 | publish/ 166 | 167 | # Publish Web Output 168 | *.[Pp]ublish.xml 169 | *.azurePubxml 170 | # Note: Comment the next line if you want to checkin your web deploy settings, 171 | # but database connection strings (with potential passwords) will be unencrypted 172 | *.pubxml 173 | *.publishproj 174 | 175 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 176 | # checkin your Azure Web App publish settings, but sensitive information contained 177 | # in these scripts will be unencrypted 178 | PublishScripts/ 179 | 180 | # NuGet Packages 181 | *.nupkg 182 | # The packages folder can be ignored because of Package Restore 183 | **/[Pp]ackages/* 184 | # except build/, which is used as an MSBuild target. 185 | !**/[Pp]ackages/build/ 186 | # Uncomment if necessary however generally it will be regenerated when needed 187 | #!**/[Pp]ackages/repositories.config 188 | # NuGet v3's project.json files produces more ignorable files 189 | *.nuget.props 190 | *.nuget.targets 191 | 192 | # Microsoft Azure Build Output 193 | csx/ 194 | *.build.csdef 195 | 196 | # Microsoft Azure Emulator 197 | ecf/ 198 | rcf/ 199 | 200 | # Windows Store app package directories and files 201 | AppPackages/ 202 | BundleArtifacts/ 203 | Package.StoreAssociation.xml 204 | _pkginfo.txt 205 | *.appx 206 | 207 | # Visual Studio cache files 208 | # files ending in .cache can be ignored 209 | *.[Cc]ache 210 | # but keep track of directories ending in .cache 211 | !*.[Cc]ache/ 212 | 213 | # Others 214 | ClientBin/ 215 | ~$* 216 | *~ 217 | *.dbmdl 218 | *.dbproj.schemaview 219 | *.jfm 220 | *.pfx 221 | *.publishsettings 222 | orleans.codegen.cs 223 | 224 | # Including strong name files can present a security risk 225 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 226 | #*.snk 227 | 228 | # Since there are multiple workflows, uncomment next line to ignore bower_components 229 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 230 | #bower_components/ 231 | 232 | # RIA/Silverlight projects 233 | Generated_Code/ 234 | 235 | # Backup & report files from converting an old project file 236 | # to a newer Visual Studio version. Backup files are not needed, 237 | # because we have git ;-) 238 | _UpgradeReport_Files/ 239 | Backup*/ 240 | UpgradeLog*.XML 241 | UpgradeLog*.htm 242 | ServiceFabricBackup/ 243 | *.rptproj.bak 244 | 245 | # SQL Server files 246 | *.mdf 247 | *.ldf 248 | *.ndf 249 | 250 | # Business Intelligence projects 251 | *.rdl.data 252 | *.bim.layout 253 | *.bim_*.settings 254 | *.rptproj.rsuser 255 | 256 | # Microsoft Fakes 257 | FakesAssemblies/ 258 | 259 | # GhostDoc plugin setting file 260 | *.GhostDoc.xml 261 | 262 | # Node.js Tools for Visual Studio 263 | .ntvs_analysis.dat 264 | node_modules/ 265 | 266 | # Visual Studio 6 build log 267 | *.plg 268 | 269 | # Visual Studio 6 workspace options file 270 | *.opt 271 | 272 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 273 | *.vbw 274 | 275 | # Visual Studio LightSwitch build output 276 | **/*.HTMLClient/GeneratedArtifacts 277 | **/*.DesktopClient/GeneratedArtifacts 278 | **/*.DesktopClient/ModelManifest.xml 279 | **/*.Server/GeneratedArtifacts 280 | **/*.Server/ModelManifest.xml 281 | _Pvt_Extensions 282 | 283 | # Paket dependency manager 284 | .paket/paket.exe 285 | paket-files/ 286 | 287 | # FAKE - F# Make 288 | .fake/ 289 | 290 | # JetBrains Rider 291 | .idea/ 292 | *.sln.iml 293 | 294 | # CodeRush personal settings 295 | .cr/personal 296 | 297 | # Python Tools for Visual Studio (PTVS) 298 | __pycache__/ 299 | *.pyc 300 | 301 | # Cake - Uncomment if you are using it 302 | # tools/** 303 | # !tools/packages.config 304 | 305 | # Tabs Studio 306 | *.tss 307 | 308 | # Telerik's JustMock configuration file 309 | *.jmconfig 310 | 311 | # BizTalk build output 312 | *.btp.cs 313 | *.btm.cs 314 | *.odx.cs 315 | *.xsd.cs 316 | 317 | # OpenCover UI analysis results 318 | OpenCover/ 319 | 320 | # Azure Stream Analytics local run output 321 | ASALocalRun/ 322 | 323 | # MSBuild Binary and Structured Log 324 | *.binlog 325 | 326 | # NVidia Nsight GPU debugger configuration file 327 | *.nvuser 328 | 329 | # MFractors (Xamarin productivity tool) working folder 330 | .mfractor/ 331 | 332 | # Local History for Visual Studio 333 | .localhistory/ -------------------------------------------------------------------------------- /FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /LineKeyViewer.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26730.16 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LineKeyViewer", "LineKeyViewer\LineKeyViewer.csproj", "{97164F86-0DDE-4696-8C3B-93DE016E0A93}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {97164F86-0DDE-4696-8C3B-93DE016E0A93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {97164F86-0DDE-4696-8C3B-93DE016E0A93}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {97164F86-0DDE-4696-8C3B-93DE016E0A93}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {97164F86-0DDE-4696-8C3B-93DE016E0A93}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {F3D5CA7C-B029-4CBD-85EA-8274F5544C7D} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /LineKeyViewer/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | <?xml version="1.0" encoding="utf-16"?> 15 | <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 16 | <string>Z</string> 17 | </ArrayOfString> 18 | 19 | 20 | <?xml version="1.0" encoding="utf-16"?> 21 | <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 22 | <string>X</string> 23 | </ArrayOfString> 24 | 25 | 26 | False 27 | 28 | 29 | False 30 | 31 | 32 | 128, 255, 255 33 | 34 | 35 | None 36 | 37 | 38 | Default 39 | 40 | 41 | False 42 | 43 | 44 | A 45 | 46 | 47 | S 48 | 49 | 50 | D 51 | 52 | 53 | F 54 | 55 | 56 | J 57 | 58 | 59 | K 60 | 61 | 62 | L 63 | 64 | 65 | Oem1 66 | 67 | 68 | 128, 255, 255 69 | 70 | 71 | Z 72 | 73 | 74 | X 75 | 76 | 77 | C 78 | 79 | 80 | V 81 | 82 | 83 | N 84 | 85 | 86 | M 87 | 88 | 89 | Oemcomma 90 | 91 | 92 | OemPeriod 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | -------------------------------------------------------------------------------- /LineKeyViewer/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace LineKeyViewer 2 | { 3 | partial class App 4 | { 5 | /// 6 | /// Обязательная переменная конструктора. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Освободить все используемые ресурсы. 12 | /// 13 | /// истинно, если управляемый ресурс должен быть удален; иначе ложно. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Код, автоматически созданный конструктором форм Windows 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() { 30 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(App)); 31 | this.Hands = new System.Windows.Forms.PictureBox(); 32 | this.Cat = new System.Windows.Forms.PictureBox(); 33 | ((System.ComponentModel.ISupportInitialize) (this.Hands)).BeginInit(); 34 | ((System.ComponentModel.ISupportInitialize) (this.Cat)).BeginInit(); 35 | this.SuspendLayout(); 36 | // 37 | // Hands 38 | // 39 | this.Hands.BackColor = System.Drawing.Color.Transparent; 40 | this.Hands.Location = new System.Drawing.Point(0, 0); 41 | this.Hands.Name = "Hands"; 42 | this.Hands.Size = new System.Drawing.Size(540, 420); 43 | this.Hands.TabIndex = 1; 44 | this.Hands.TabStop = false; 45 | // 46 | // Cat 47 | // 48 | this.Cat.BackColor = System.Drawing.Color.Transparent; 49 | this.Cat.BackgroundImage = global::LineKeyViewer.Properties.Resources.cat_table; 50 | this.Cat.Location = new System.Drawing.Point(0, 0); 51 | this.Cat.Name = "Cat"; 52 | this.Cat.Size = new System.Drawing.Size(540, 420); 53 | this.Cat.TabIndex = 0; 54 | this.Cat.TabStop = false; 55 | // 56 | // App 57 | // 58 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); 59 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 60 | this.ClientSize = new System.Drawing.Size(540, 420); 61 | this.Controls.Add(this.Hands); 62 | this.Controls.Add(this.Cat); 63 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; 64 | this.Icon = ((System.Drawing.Icon) (resources.GetObject("$this.Icon"))); 65 | this.MaximizeBox = false; 66 | this.MinimizeBox = false; 67 | this.Name = "App"; 68 | this.Text = "LineKeyViewer | Press \'O\' to open settings"; 69 | ((System.ComponentModel.ISupportInitialize) (this.Hands)).EndInit(); 70 | ((System.ComponentModel.ISupportInitialize) (this.Cat)).EndInit(); 71 | this.ResumeLayout(false); 72 | } 73 | 74 | #endregion 75 | private System.Windows.Forms.PictureBox Hands; 76 | public System.Windows.Forms.PictureBox Cat; 77 | } 78 | } 79 | 80 | -------------------------------------------------------------------------------- /LineKeyViewer/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Drawing; 4 | using System.Drawing.Drawing2D; 5 | using System.Globalization; 6 | using System.Net; 7 | using System.Threading.Tasks; 8 | using System.Windows.Forms; 9 | using Gma.System.MouseKeyHook; 10 | using Octokit; 11 | 12 | namespace LineKeyViewer { 13 | public partial class App : Form { 14 | private IKeyboardMouseEvents hook = Hook.GlobalEvents(); 15 | 16 | private List right_pressed = new List(); 17 | private List left_pressed = new List(); 18 | 19 | public int key1 = -1; 20 | public int key2 = -1; 21 | public int key3 = -1; 22 | public int key4 = -1; 23 | public int key5 = -1; 24 | public int key6 = -1; 25 | public int key7 = -1; 26 | public int key8 = -1; 27 | public int key9 = -1; 28 | public int key10 = -1; 29 | public int key11 = -1; 30 | public int key12 = -1; 31 | public int key13 = -1; 32 | public int key14 = -1; 33 | public int key15 = -1; 34 | public int key16 = -1; 35 | public bool table, headClick; 36 | 37 | private Bitmap bg = Properties.Resources.empty; 38 | private Bitmap front = Properties.Resources.empty; 39 | public bool korean = CultureInfo.CurrentCulture.Name == "ko-KR"; 40 | private bool adofaiAvailable = false; 41 | 42 | public App() { 43 | Task.Run(CheckUpdates); 44 | Task.Run(CheckMods); 45 | InitializeComponent(); 46 | 47 | KeyPreview = true; 48 | KeyDown += AppKeyDown; 49 | hook.KeyDown += HookKeyDown; 50 | hook.KeyUp += HookKeyUp; 51 | Disposed += OnDispose; 52 | 53 | Cat.Controls.Add(Hands); 54 | SetupMode(); 55 | Task.Run(Winking); 56 | if(korean) Text = "LineKeyViewer | \'O\'키를 눌러 설정을 여세요"; 57 | } 58 | 59 | private void OnDispose(object sender, EventArgs e) { 60 | hook.Dispose(); 61 | } 62 | 63 | private async void CheckUpdates() { 64 | try { 65 | GitHubClient client = new GitHubClient(new ProductHeaderValue("Line-KeyViewer")); 66 | IReadOnlyList releases = await client.Repository.Release.GetAll("Jongye0l", "Line-KeyViewer"); 67 | string message = ""; 68 | string version = 'v' + typeof(Program).Assembly.GetName().Version.ToString(); 69 | for(int i = 0; releases[i].TagName != version; ++i) 70 | message += "\n" + releases[i].TagName + ":\n" + releases[i].Body + "\n"; 71 | if(message != "") { 72 | DialogResult result = MessageBox.Show(string.Format(korean ? "새 버전 발견:\n{0}\n새 버전으로 설치하시겠습니까?" : "Updates avaliable:\n{0}\nWould you like to download now?", message), "Line KeyViewer", MessageBoxButtons.YesNo, MessageBoxIcon.Asterisk); 73 | if(result == DialogResult.Yes) System.Diagnostics.Process.Start("https://github.com/Jongye0l/Line-Keyviewer/releases/download/" + releases[0].TagName + "/LineKeyViewer.exe"); 74 | } 75 | } catch { 76 | // ignored 77 | } 78 | } 79 | 80 | private async void CheckMods() { 81 | try { 82 | WebClient webClient = new WebClient(); 83 | byte[] data = await webClient.DownloadDataTaskAsync("http://jalib.jongyeol.kr/modInfoV2/LineKeyViewer/latest/0"); 84 | if(data[0] == 0) return; 85 | if(!Properties.Settings.Default.NotificationMod) { 86 | int size = data[1] << 24 | data[2] << 16 | data[3] << 8 | data[4]; 87 | byte[] stringData = new byte[size]; 88 | Array.Copy(data, 5, stringData, 0, size); 89 | string version = System.Text.Encoding.UTF8.GetString(stringData); 90 | DialogResult result = MessageBox.Show(string.Format(korean ? "얼불춤 모드 발견\n버전: {0}\n얼불춤 모드를 적용하시겠습니까?" : "Adofai mod available:\n{0}\nWould you like to apply mod now?", version), "Line KeyViewer Adofai Mods", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Asterisk); 91 | if(result == DialogResult.Yes) System.Diagnostics.Process.Start("http://jalib.jongyeol.kr/modApplicator/LineKeyViewer/latest"); 92 | else if(result == DialogResult.No) { 93 | Properties.Settings.Default.NotificationMod = true; 94 | Properties.Settings.Default.Save(); 95 | } 96 | } 97 | adofaiAvailable = true; 98 | Text = korean ? "LineKeyViewer | \'O\'키를 눌러 설정을 여세요 | \'P\'키를 눌러 얼불춤 모드를 적용하세요" : "LineKeyViewer | Press \'O\' to open settings | Press \'P\' to apply adofai mod"; 99 | } catch (Exception) { 100 | // ignored 101 | } 102 | } 103 | 104 | private void AppKeyDown(object sender, KeyEventArgs e) { 105 | if(e.KeyValue == 79) { 106 | Settings s = new Settings(this); 107 | s.Show(); 108 | } else if(adofaiAvailable && e.KeyValue == 80) System.Diagnostics.Process.Start("http://jalib.jongyeol.kr/modApplicator/LineKeyViewer/latest"); 109 | } 110 | 111 | private async void Winking() { 112 | Random rnd = new Random(); 113 | while(!IsDisposed) { 114 | do { 115 | await Task.Delay(rnd.Next(3000, 7000)); 116 | } while(headClick); 117 | Cat.BackgroundImage = table ? Properties.Resources.line_wink : Properties.Resources.line_table_wink; 118 | await Task.Delay(rnd.Next(100, 250)); 119 | if(!headClick) Cat.BackgroundImage = table ? Properties.Resources.line : Properties.Resources.line_table; 120 | } 121 | } 122 | 123 | public void TransparentTable(bool Value) { 124 | Cat.BackgroundImage = Value ? 125 | headClick ? Properties.Resources.empty : Properties.Resources.line : 126 | headClick ? Properties.Resources.table : Properties.Resources.line_table; 127 | } 128 | 129 | public void SetupMode() { 130 | Hands.Image = Impose(front, Properties.Resources.unpressed_right, 0, 0); 131 | Hands.Image = Impose(front, Properties.Resources.unpressed_left, 270, 0); 132 | right_pressed.Clear(); 133 | left_pressed.Clear(); 134 | key1 = Properties.Settings.Default.pianoKey1; 135 | key2 = Properties.Settings.Default.pianoKey2; 136 | key3 = Properties.Settings.Default.pianoKey3; 137 | key4 = Properties.Settings.Default.pianoKey4; 138 | key5 = Properties.Settings.Default.pianoKey5; 139 | key6 = Properties.Settings.Default.pianoKey6; 140 | key7 = Properties.Settings.Default.pianoKey7; 141 | key8 = Properties.Settings.Default.pianoKey8; 142 | key9 = Properties.Settings.Default.pianoKey9; 143 | key10 = Properties.Settings.Default.pianoKey10; 144 | key11 = Properties.Settings.Default.pianoKey11; 145 | key12 = Properties.Settings.Default.pianoKey12; 146 | key13 = Properties.Settings.Default.pianoKey13; 147 | key14 = Properties.Settings.Default.pianoKey14; 148 | key15 = Properties.Settings.Default.pianoKey15; 149 | key16 = Properties.Settings.Default.pianoKey16; 150 | table = Properties.Settings.Default.pianoTable; 151 | Cat.BackColor = Properties.Settings.Default.pianoBackground; 152 | TransparentTable(Properties.Settings.Default.pianoTable); 153 | Cat.Image = Properties.Resources.piano; 154 | Cat.Update(); 155 | } 156 | 157 | private async void HookKeyDown(object sender, KeyEventArgs e) { 158 | try { 159 | await Task.Yield(); 160 | int keyCode = e.KeyValue; 161 | if(key1 == keyCode) Press1(); 162 | else if(key2 == keyCode) Press2(); 163 | else if(key3 == keyCode) Press3(); 164 | else if(key4 == keyCode) Press4(); 165 | else if(key5 == keyCode) Press5(); 166 | else if(key6 == keyCode) Press6(); 167 | else if(key7 == keyCode) Press7(); 168 | else if(key8 == keyCode) Press8(); 169 | else if(key9 == keyCode) Press9(); 170 | else if(key10 == keyCode) Press10(); 171 | else if(key11 == keyCode) Press11(); 172 | else if(key12 == keyCode) Press12(); 173 | else if(key13 == keyCode) Press13(); 174 | else if(key14 == keyCode) Press14(); 175 | else if(key15 == keyCode) Press15(); 176 | else if(key16 == keyCode) Press16(); 177 | CheckHeadClick(); 178 | } catch (Exception) { 179 | // ignored 180 | } 181 | } 182 | 183 | private async void HookKeyUp(object sender, KeyEventArgs e) { 184 | try { 185 | await Task.Yield(); 186 | int keyCode = e.KeyValue; 187 | if(key1 == keyCode && right_pressed.Contains(keyCode)) UnPress1(); 188 | else if(key2 == keyCode && right_pressed.Contains(keyCode)) UnPress2(); 189 | else if(key3 == keyCode && right_pressed.Contains(keyCode)) UnPress3(); 190 | else if(key4 == keyCode && right_pressed.Contains(keyCode)) UnPress4(); 191 | else if(key5 == keyCode && left_pressed.Contains(keyCode)) UnPress5(); 192 | else if(key6 == keyCode && left_pressed.Contains(keyCode)) UnPress6(); 193 | else if(key7 == keyCode && left_pressed.Contains(keyCode)) UnPress7(); 194 | else if(key8 == keyCode && left_pressed.Contains(keyCode)) UnPress8(); 195 | else if(key9 == keyCode && right_pressed.Contains(keyCode)) UnPress9(); 196 | else if(key10 == keyCode && right_pressed.Contains(keyCode)) UnPress10(); 197 | else if(key11 == keyCode && right_pressed.Contains(keyCode)) UnPress11(); 198 | else if(key12 == keyCode && right_pressed.Contains(keyCode)) UnPress12(); 199 | else if(key13 == keyCode && left_pressed.Contains(keyCode)) UnPress13(); 200 | else if(key14 == keyCode && left_pressed.Contains(keyCode)) UnPress14(); 201 | else if(key15 == keyCode && left_pressed.Contains(keyCode)) UnPress15(); 202 | else if(key16 == keyCode && left_pressed.Contains(keyCode)) UnPress16(); 203 | CheckHeadClick(); 204 | } catch (Exception) { 205 | // ignored 206 | } 207 | } 208 | 209 | private void Press1() { 210 | if(!right_pressed.Contains(key1)) { 211 | right_pressed.Add(key1); 212 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key1, 117, 232); 213 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key1, 0, 0); 214 | } 215 | } 216 | 217 | private void Press2() { 218 | if(!right_pressed.Contains(key2)) { 219 | right_pressed.Add(key2); 220 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key2, 151, 239); 221 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key2, 0, 0); 222 | } 223 | } 224 | 225 | private void Press3() { 226 | if(!right_pressed.Contains(key3)) { 227 | right_pressed.Add(key3); 228 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key3, 186, 246); 229 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key3, 0, 0); 230 | } 231 | } 232 | 233 | private void Press4() { 234 | if(!right_pressed.Contains(key4)) { 235 | right_pressed.Add(key4); 236 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key4, 217, 254); 237 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key4, 0, 0); 238 | } 239 | } 240 | 241 | private void Press5() { 242 | if(!left_pressed.Contains(key5)) { 243 | left_pressed.Add(key5); 244 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key5, 247, 262); 245 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key5, headClick ? 0 : 270, 0); 246 | } 247 | } 248 | 249 | private void Press6() { 250 | if(!left_pressed.Contains(key6)) { 251 | left_pressed.Add(key6); 252 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key6, 277, 269); 253 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key6, headClick ? 0 : 270, 0); 254 | } 255 | } 256 | 257 | private void Press7() { 258 | if(!left_pressed.Contains(key7)) { 259 | left_pressed.Add(key7); 260 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key7, 307, 275); 261 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key7, headClick ? 0 : 270, 0); 262 | } 263 | } 264 | 265 | private void Press8() { 266 | if(!left_pressed.Contains(key8)) { 267 | left_pressed.Add(key8); 268 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key8, 336, 283); 269 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key8, headClick ? 0 : 270, 0); 270 | } 271 | } 272 | 273 | private void Press9() { 274 | if(!right_pressed.Contains(key9)) { 275 | right_pressed.Add(key9); 276 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key9, 158, 215); 277 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key9, 0, 0); 278 | } 279 | } 280 | 281 | private void Press10() { 282 | if(!right_pressed.Contains(key10)) { 283 | right_pressed.Add(key10); 284 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key10, 185, 221); 285 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key10, 0, 0); 286 | } 287 | } 288 | 289 | private void Press11() { 290 | if(!right_pressed.Contains(key11)) { 291 | right_pressed.Add(key11); 292 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key11, 215, 227); 293 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key11, 0, 0); 294 | } 295 | } 296 | 297 | private void Press12() { 298 | if(!right_pressed.Contains(key12)) { 299 | right_pressed.Add(key12); 300 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key12, 244, 234); 301 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key12, 0, 0); 302 | } 303 | } 304 | 305 | private void Press13() { 306 | if(!left_pressed.Contains(key13)) { 307 | left_pressed.Add(key13); 308 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key13, 273, 240); 309 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key13, headClick ? 0 : 270, 0); 310 | } 311 | } 312 | 313 | private void Press14() { 314 | if(!left_pressed.Contains(key14)) { 315 | left_pressed.Add(key14); 316 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key14, 301, 247); 317 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key14, headClick ? 0 : 270, 0); 318 | } 319 | } 320 | 321 | private void Press15() { 322 | if(!left_pressed.Contains(key15)) { 323 | left_pressed.Add(key15); 324 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key15, 330, 254); 325 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key15, headClick ? 0 : 270, 0); 326 | } 327 | } 328 | 329 | private void Press16() { 330 | if(!left_pressed.Contains(key16)) { 331 | left_pressed.Add(key16); 332 | Hands.BackgroundImage = Superimpose(bg, Properties.Resources.key16, 359, 261); 333 | Hands.Image = Impose(front, headClick ? Properties.Resources.line_head : Properties.Resources.pressed_key16, headClick ? 0 : 270, 0); 334 | } 335 | } 336 | 337 | private void CheckHeadClick() { 338 | if((right_pressed.Count >= 8 || right_pressed.Contains(key1) && right_pressed.Contains(key2) && right_pressed.Contains(key3) && right_pressed.Contains(key4)) && 339 | (left_pressed.Count >= 8 || left_pressed.Contains(key5) && left_pressed.Contains(key6) && left_pressed.Contains(key7) && left_pressed.Contains(key8))) { 340 | if(headClick) return; 341 | headClick = true; 342 | TransparentTable(Properties.Settings.Default.pianoTable); 343 | Hands.Image = Impose(front, Properties.Resources.line_head, 0, 0); 344 | } else if(headClick) { 345 | headClick = false; 346 | TransparentTable(Properties.Settings.Default.pianoTable); 347 | PressLastRight(); 348 | PressLastLeft(); 349 | } 350 | } 351 | 352 | private void UnPress1() { 353 | right_pressed.Remove(key1); 354 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key1, 117, 232); 355 | PressLastRight(); 356 | } 357 | 358 | private void UnPress2() { 359 | right_pressed.Remove(key2); 360 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key2, 151, 239); 361 | PressLastRight(); 362 | } 363 | 364 | private void UnPress3() { 365 | right_pressed.Remove(key3); 366 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key3, 186, 246); 367 | PressLastRight(); 368 | } 369 | 370 | private void UnPress4() { 371 | right_pressed.Remove(key4); 372 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key4, 217, 254); 373 | PressLastRight(); 374 | } 375 | 376 | private void UnPress5() { 377 | left_pressed.Remove(key5); 378 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key5, 247, 262); 379 | PressLastLeft(); 380 | } 381 | 382 | private void UnPress6() { 383 | left_pressed.Remove(key6); 384 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key6, 277, 269); 385 | PressLastLeft(); 386 | } 387 | 388 | private void UnPress7() { 389 | left_pressed.Remove(key7); 390 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key7, 307, 275); 391 | PressLastLeft(); 392 | } 393 | 394 | private void UnPress8() { 395 | left_pressed.Remove(key8); 396 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key8, 336, 283); 397 | PressLastLeft(); 398 | } 399 | 400 | private void UnPress9() { 401 | right_pressed.Remove(key9); 402 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key9, 158, 215); 403 | PressLastRight(); 404 | } 405 | 406 | private void UnPress10() { 407 | right_pressed.Remove(key10); 408 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key10, 185, 221); 409 | PressLastRight(); 410 | } 411 | 412 | private void UnPress11() { 413 | right_pressed.Remove(key11); 414 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key11, 215, 227); 415 | PressLastRight(); 416 | } 417 | 418 | private void UnPress12() { 419 | right_pressed.Remove(key12); 420 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key12, 244, 234); 421 | PressLastRight(); 422 | } 423 | 424 | private void UnPress13() { 425 | left_pressed.Remove(key13); 426 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key13, 273, 240); 427 | PressLastLeft(); 428 | } 429 | 430 | private void UnPress14() { 431 | left_pressed.Remove(key14); 432 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key14, 301, 247); 433 | PressLastLeft(); 434 | } 435 | 436 | private void UnPress15() { 437 | left_pressed.Remove(key15); 438 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key15, 330, 254); 439 | PressLastLeft(); 440 | } 441 | 442 | private void UnPress16() { 443 | left_pressed.Remove(key16); 444 | Hands.BackgroundImage = UnSuperimpose(bg, Properties.Resources.key16, 359, 261); 445 | PressLastLeft(); 446 | } 447 | 448 | private void PressLastRight() { 449 | if(headClick) { 450 | Hands.Image = Impose(front, Properties.Resources.line_head, 0, 0); 451 | return; 452 | } 453 | try { 454 | int k = right_pressed[right_pressed.Count - 1]; 455 | Hands.Image = Impose(front, k == key1 ? Properties.Resources.pressed_key1 : 456 | k == key2 ? Properties.Resources.pressed_key2 : 457 | k == key3 ? Properties.Resources.pressed_key3 : 458 | k == key4 ? Properties.Resources.pressed_key4 : 459 | k == key9 ? Properties.Resources.pressed_key9 : 460 | k == key10 ? Properties.Resources.pressed_key10 : 461 | k == key11 ? Properties.Resources.pressed_key11 : 462 | k == key12 ? Properties.Resources.pressed_key12 : Properties.Resources.unpressed_right, 0, 0); 463 | } catch { 464 | Hands.Image = Impose(front, Properties.Resources.unpressed_right, 0, 0); 465 | } 466 | } 467 | 468 | private void PressLastLeft() { 469 | if(headClick) { 470 | Hands.Image = Impose(front, Properties.Resources.line_head, 0, 0); 471 | return; 472 | } 473 | try { 474 | int k = left_pressed[left_pressed.Count - 1]; 475 | Hands.Image = Impose(front, k == key5 ? Properties.Resources.pressed_key5 : 476 | k == key6 ? Properties.Resources.pressed_key6 : 477 | k == key7 ? Properties.Resources.pressed_key7 : 478 | k == key8 ? Properties.Resources.pressed_key8 : 479 | k == key13 ? Properties.Resources.pressed_key13 : 480 | k == key14 ? Properties.Resources.pressed_key14 : 481 | k == key15 ? Properties.Resources.pressed_key15 : 482 | k == key16 ? Properties.Resources.pressed_key16 : Properties.Resources.unpressed_left, 270, 0); 483 | } catch { 484 | Hands.Image = Impose(front, Properties.Resources.unpressed_left, 270, 0); 485 | } 486 | } 487 | 488 | private static Bitmap Superimpose(Bitmap largeBmp, Bitmap smallBmp, int x, int y) { 489 | Graphics g = Graphics.FromImage(largeBmp); 490 | g.CompositingMode = CompositingMode.SourceOver; 491 | smallBmp.MakeTransparent(); 492 | g.DrawImageUnscaled(smallBmp, new Point(x, y)); 493 | return largeBmp; 494 | } 495 | 496 | private static Bitmap Impose(Bitmap largeBmp, Bitmap smallBmp, int x, int y) { 497 | Graphics g = Graphics.FromImage(largeBmp); 498 | g.CompositingMode = CompositingMode.SourceCopy; 499 | g.DrawImageUnscaled(smallBmp, new Point(x, y)); 500 | return largeBmp; 501 | } 502 | 503 | private static Bitmap UnSuperimpose(Bitmap largeBpm, Bitmap smallBpm, int x, int y) { 504 | for(int i = 0; i < smallBpm.Width; i++) 505 | for(int j = 0; j < smallBpm.Height; j++) 506 | if(x + i >= 0 && x + i < largeBpm.Width && y + j >= 0 && y + j < largeBpm.Height && smallBpm.GetPixel(i, j).A != 0) 507 | largeBpm.SetPixel(x + i, j + y, Color.Transparent); 508 | return largeBpm; 509 | } 510 | } 511 | } -------------------------------------------------------------------------------- /LineKeyViewer/Form2.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace LineKeyViewer 2 | { 3 | partial class Settings 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() { 30 | this.Modes = new System.Windows.Forms.TabControl(); 31 | this.Default = new System.Windows.Forms.TabPage(); 32 | this.pianoTable = new System.Windows.Forms.CheckBox(); 33 | this.pianoBackground = new System.Windows.Forms.Button(); 34 | this.label12 = new System.Windows.Forms.Label(); 35 | this.groupBox4 = new System.Windows.Forms.GroupBox(); 36 | this.button16 = new System.Windows.Forms.Button(); 37 | this.button15 = new System.Windows.Forms.Button(); 38 | this.button14 = new System.Windows.Forms.Button(); 39 | this.button13 = new System.Windows.Forms.Button(); 40 | this.label20 = new System.Windows.Forms.Label(); 41 | this.label19 = new System.Windows.Forms.Label(); 42 | this.label18 = new System.Windows.Forms.Label(); 43 | this.label17 = new System.Windows.Forms.Label(); 44 | this.button12 = new System.Windows.Forms.Button(); 45 | this.label11 = new System.Windows.Forms.Label(); 46 | this.button11 = new System.Windows.Forms.Button(); 47 | this.label10 = new System.Windows.Forms.Label(); 48 | this.button10 = new System.Windows.Forms.Button(); 49 | this.label9 = new System.Windows.Forms.Label(); 50 | this.button9 = new System.Windows.Forms.Button(); 51 | this.label8 = new System.Windows.Forms.Label(); 52 | this.groupBox3 = new System.Windows.Forms.GroupBox(); 53 | this.button8 = new System.Windows.Forms.Button(); 54 | this.button7 = new System.Windows.Forms.Button(); 55 | this.button6 = new System.Windows.Forms.Button(); 56 | this.button5 = new System.Windows.Forms.Button(); 57 | this.label16 = new System.Windows.Forms.Label(); 58 | this.label15 = new System.Windows.Forms.Label(); 59 | this.label14 = new System.Windows.Forms.Label(); 60 | this.label13 = new System.Windows.Forms.Label(); 61 | this.button4 = new System.Windows.Forms.Button(); 62 | this.label7 = new System.Windows.Forms.Label(); 63 | this.button3 = new System.Windows.Forms.Button(); 64 | this.label6 = new System.Windows.Forms.Label(); 65 | this.button2 = new System.Windows.Forms.Button(); 66 | this.label5 = new System.Windows.Forms.Label(); 67 | this.button1 = new System.Windows.Forms.Button(); 68 | this.label4 = new System.Windows.Forms.Label(); 69 | this.statusStrip1 = new System.Windows.Forms.StatusStrip(); 70 | this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); 71 | this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel(); 72 | this.Modes.SuspendLayout(); 73 | this.Default.SuspendLayout(); 74 | this.groupBox4.SuspendLayout(); 75 | this.groupBox3.SuspendLayout(); 76 | this.statusStrip1.SuspendLayout(); 77 | this.SuspendLayout(); 78 | // 79 | // Modes 80 | // 81 | this.Modes.Controls.Add(this.Default); 82 | this.Modes.Location = new System.Drawing.Point(0, 0); 83 | this.Modes.Name = "Modes"; 84 | this.Modes.SelectedIndex = 0; 85 | this.Modes.Size = new System.Drawing.Size(287, 251); 86 | this.Modes.TabIndex = 0; 87 | this.Modes.TabStop = false; 88 | // 89 | // Default 90 | // 91 | this.Default.Controls.Add(this.pianoTable); 92 | this.Default.Controls.Add(this.pianoBackground); 93 | this.Default.Controls.Add(this.label12); 94 | this.Default.Controls.Add(this.groupBox4); 95 | this.Default.Controls.Add(this.groupBox3); 96 | this.Default.Location = new System.Drawing.Point(4, 22); 97 | this.Default.Name = "Default"; 98 | this.Default.Size = new System.Drawing.Size(279, 225); 99 | this.Default.TabIndex = 1; 100 | this.Default.Text = "Default"; 101 | this.Default.UseVisualStyleBackColor = true; 102 | // 103 | // pianoTable 104 | // 105 | this.pianoTable.AutoSize = true; 106 | this.pianoTable.Location = new System.Drawing.Point(180, 185); 107 | this.pianoTable.Name = "pianoTable"; 108 | this.pianoTable.Size = new System.Drawing.Size(80, 16); 109 | this.pianoTable.TabIndex = 4; 110 | this.pianoTable.Text = "Hide table"; 111 | this.pianoTable.UseVisualStyleBackColor = true; 112 | this.pianoTable.CheckedChanged += new System.EventHandler(this.pianoTable_CheckedChanged); 113 | // 114 | // pianoBackground 115 | // 116 | this.pianoBackground.Location = new System.Drawing.Point(9, 200); 117 | this.pianoBackground.Name = "pianoBackground"; 118 | this.pianoBackground.Size = new System.Drawing.Size(257, 21); 119 | this.pianoBackground.TabIndex = 3; 120 | this.pianoBackground.UseVisualStyleBackColor = true; 121 | this.pianoBackground.Click += new System.EventHandler(this.pianoBackground_Click); 122 | // 123 | // label12 124 | // 125 | this.label12.AutoSize = true; 126 | this.label12.Location = new System.Drawing.Point(10, 186); 127 | this.label12.Name = "label12"; 128 | this.label12.Size = new System.Drawing.Size(76, 12); 129 | this.label12.TabIndex = 2; 130 | this.label12.Text = "Background:"; 131 | // 132 | // groupBox4 133 | // 134 | this.groupBox4.Controls.Add(this.button16); 135 | this.groupBox4.Controls.Add(this.button15); 136 | this.groupBox4.Controls.Add(this.button14); 137 | this.groupBox4.Controls.Add(this.button13); 138 | this.groupBox4.Controls.Add(this.label20); 139 | this.groupBox4.Controls.Add(this.label19); 140 | this.groupBox4.Controls.Add(this.label18); 141 | this.groupBox4.Controls.Add(this.label17); 142 | this.groupBox4.Controls.Add(this.button12); 143 | this.groupBox4.Controls.Add(this.label11); 144 | this.groupBox4.Controls.Add(this.button11); 145 | this.groupBox4.Controls.Add(this.label10); 146 | this.groupBox4.Controls.Add(this.button10); 147 | this.groupBox4.Controls.Add(this.label9); 148 | this.groupBox4.Controls.Add(this.button9); 149 | this.groupBox4.Controls.Add(this.label8); 150 | this.groupBox4.Location = new System.Drawing.Point(138, 3); 151 | this.groupBox4.Name = "groupBox4"; 152 | this.groupBox4.Size = new System.Drawing.Size(128, 180); 153 | this.groupBox4.TabIndex = 1; 154 | this.groupBox4.TabStop = false; 155 | this.groupBox4.Text = "Under Key"; 156 | // 157 | // button16 158 | // 159 | this.button16.Location = new System.Drawing.Point(51, 152); 160 | this.button16.Name = "button16"; 161 | this.button16.Size = new System.Drawing.Size(70, 21); 162 | this.button16.TabIndex = 23; 163 | this.button16.Text = "button16"; 164 | this.button16.UseVisualStyleBackColor = true; 165 | this.button16.Click += new System.EventHandler(this.button16_Click); 166 | // 167 | // button15 168 | // 169 | this.button15.Location = new System.Drawing.Point(51, 132); 170 | this.button15.Name = "button15"; 171 | this.button15.Size = new System.Drawing.Size(70, 21); 172 | this.button15.TabIndex = 22; 173 | this.button15.Text = "button15"; 174 | this.button15.UseVisualStyleBackColor = true; 175 | this.button15.Click += new System.EventHandler(this.button15_Click); 176 | // 177 | // button14 178 | // 179 | this.button14.Location = new System.Drawing.Point(51, 112); 180 | this.button14.Name = "button14"; 181 | this.button14.Size = new System.Drawing.Size(70, 21); 182 | this.button14.TabIndex = 21; 183 | this.button14.Text = "button14"; 184 | this.button14.UseVisualStyleBackColor = true; 185 | this.button14.Click += new System.EventHandler(this.button14_Click); 186 | // 187 | // button13 188 | // 189 | this.button13.Location = new System.Drawing.Point(51, 92); 190 | this.button13.Name = "button13"; 191 | this.button13.Size = new System.Drawing.Size(70, 21); 192 | this.button13.TabIndex = 20; 193 | this.button13.Text = "button13"; 194 | this.button13.UseVisualStyleBackColor = true; 195 | this.button13.Click += new System.EventHandler(this.button13_Click); 196 | // 197 | // label20 198 | // 199 | this.label20.AutoSize = true; 200 | this.label20.Location = new System.Drawing.Point(8, 157); 201 | this.label20.Name = "label20"; 202 | this.label20.Size = new System.Drawing.Size(39, 12); 203 | this.label20.TabIndex = 19; 204 | this.label20.Text = "Key16"; 205 | // 206 | // label19 207 | // 208 | this.label19.AutoSize = true; 209 | this.label19.Location = new System.Drawing.Point(8, 137); 210 | this.label19.Name = "label19"; 211 | this.label19.Size = new System.Drawing.Size(39, 12); 212 | this.label19.TabIndex = 18; 213 | this.label19.Text = "Key15"; 214 | // 215 | // label18 216 | // 217 | this.label18.AutoSize = true; 218 | this.label18.Location = new System.Drawing.Point(8, 117); 219 | this.label18.Name = "label18"; 220 | this.label18.Size = new System.Drawing.Size(39, 12); 221 | this.label18.TabIndex = 17; 222 | this.label18.Text = "Key14"; 223 | // 224 | // label17 225 | // 226 | this.label17.AutoSize = true; 227 | this.label17.Location = new System.Drawing.Point(8, 97); 228 | this.label17.Name = "label17"; 229 | this.label17.Size = new System.Drawing.Size(39, 12); 230 | this.label17.TabIndex = 16; 231 | this.label17.Text = "Key13"; 232 | // 233 | // button12 234 | // 235 | this.button12.Location = new System.Drawing.Point(51, 72); 236 | this.button12.Name = "button12"; 237 | this.button12.Size = new System.Drawing.Size(70, 21); 238 | this.button12.TabIndex = 15; 239 | this.button12.Text = "button12"; 240 | this.button12.UseVisualStyleBackColor = true; 241 | this.button12.Click += new System.EventHandler(this.button12_Click); 242 | // 243 | // label11 244 | // 245 | this.label11.AutoSize = true; 246 | this.label11.Location = new System.Drawing.Point(8, 77); 247 | this.label11.Name = "label11"; 248 | this.label11.Size = new System.Drawing.Size(39, 12); 249 | this.label11.TabIndex = 14; 250 | this.label11.Text = "Key12"; 251 | // 252 | // button11 253 | // 254 | this.button11.Location = new System.Drawing.Point(51, 52); 255 | this.button11.Name = "button11"; 256 | this.button11.Size = new System.Drawing.Size(70, 21); 257 | this.button11.TabIndex = 13; 258 | this.button11.Text = "button11"; 259 | this.button11.UseVisualStyleBackColor = true; 260 | this.button11.Click += new System.EventHandler(this.button11_Click); 261 | // 262 | // label10 263 | // 264 | this.label10.AutoSize = true; 265 | this.label10.Location = new System.Drawing.Point(8, 57); 266 | this.label10.Name = "label10"; 267 | this.label10.Size = new System.Drawing.Size(39, 12); 268 | this.label10.TabIndex = 12; 269 | this.label10.Text = "Key11"; 270 | // 271 | // button10 272 | // 273 | this.button10.Location = new System.Drawing.Point(51, 32); 274 | this.button10.Name = "button10"; 275 | this.button10.Size = new System.Drawing.Size(70, 21); 276 | this.button10.TabIndex = 11; 277 | this.button10.Text = "button10"; 278 | this.button10.UseVisualStyleBackColor = true; 279 | this.button10.Click += new System.EventHandler(this.button10_Click); 280 | // 281 | // label9 282 | // 283 | this.label9.AutoSize = true; 284 | this.label9.Location = new System.Drawing.Point(8, 37); 285 | this.label9.Name = "label9"; 286 | this.label9.Size = new System.Drawing.Size(39, 12); 287 | this.label9.TabIndex = 10; 288 | this.label9.Text = "Key10"; 289 | // 290 | // button9 291 | // 292 | this.button9.Location = new System.Drawing.Point(51, 12); 293 | this.button9.Name = "button9"; 294 | this.button9.Size = new System.Drawing.Size(70, 21); 295 | this.button9.TabIndex = 9; 296 | this.button9.Text = "button9"; 297 | this.button9.UseVisualStyleBackColor = true; 298 | this.button9.Click += new System.EventHandler(this.button9_Click); 299 | // 300 | // label8 301 | // 302 | this.label8.AutoSize = true; 303 | this.label8.Location = new System.Drawing.Point(8, 16); 304 | this.label8.Name = "label8"; 305 | this.label8.Size = new System.Drawing.Size(33, 12); 306 | this.label8.TabIndex = 8; 307 | this.label8.Text = "Key9"; 308 | // 309 | // groupBox3 310 | // 311 | this.groupBox3.Controls.Add(this.button8); 312 | this.groupBox3.Controls.Add(this.button7); 313 | this.groupBox3.Controls.Add(this.button6); 314 | this.groupBox3.Controls.Add(this.button5); 315 | this.groupBox3.Controls.Add(this.label16); 316 | this.groupBox3.Controls.Add(this.label15); 317 | this.groupBox3.Controls.Add(this.label14); 318 | this.groupBox3.Controls.Add(this.label13); 319 | this.groupBox3.Controls.Add(this.button4); 320 | this.groupBox3.Controls.Add(this.label7); 321 | this.groupBox3.Controls.Add(this.button3); 322 | this.groupBox3.Controls.Add(this.label6); 323 | this.groupBox3.Controls.Add(this.button2); 324 | this.groupBox3.Controls.Add(this.label5); 325 | this.groupBox3.Controls.Add(this.button1); 326 | this.groupBox3.Controls.Add(this.label4); 327 | this.groupBox3.Location = new System.Drawing.Point(9, 3); 328 | this.groupBox3.Name = "groupBox3"; 329 | this.groupBox3.Size = new System.Drawing.Size(128, 180); 330 | this.groupBox3.TabIndex = 0; 331 | this.groupBox3.TabStop = false; 332 | this.groupBox3.Text = "Main Key"; 333 | // 334 | // button8 335 | // 336 | this.button8.Location = new System.Drawing.Point(51, 152); 337 | this.button8.Name = "button8"; 338 | this.button8.Size = new System.Drawing.Size(70, 21); 339 | this.button8.TabIndex = 15; 340 | this.button8.Text = "button8"; 341 | this.button8.UseVisualStyleBackColor = true; 342 | this.button8.Click += new System.EventHandler(this.button8_Click); 343 | // 344 | // button7 345 | // 346 | this.button7.Location = new System.Drawing.Point(51, 132); 347 | this.button7.Name = "button7"; 348 | this.button7.Size = new System.Drawing.Size(70, 21); 349 | this.button7.TabIndex = 14; 350 | this.button7.Text = "button7"; 351 | this.button7.UseVisualStyleBackColor = true; 352 | this.button7.Click += new System.EventHandler(this.button7_Click); 353 | // 354 | // button6 355 | // 356 | this.button6.Location = new System.Drawing.Point(51, 112); 357 | this.button6.Name = "button6"; 358 | this.button6.Size = new System.Drawing.Size(70, 21); 359 | this.button6.TabIndex = 13; 360 | this.button6.Text = "button6"; 361 | this.button6.UseVisualStyleBackColor = true; 362 | this.button6.Click += new System.EventHandler(this.button6_Click); 363 | // 364 | // button5 365 | // 366 | this.button5.Location = new System.Drawing.Point(51, 92); 367 | this.button5.Name = "button5"; 368 | this.button5.Size = new System.Drawing.Size(70, 21); 369 | this.button5.TabIndex = 12; 370 | this.button5.Text = "button5"; 371 | this.button5.UseVisualStyleBackColor = true; 372 | this.button5.Click += new System.EventHandler(this.button5_Click); 373 | // 374 | // label16 375 | // 376 | this.label16.AutoSize = true; 377 | this.label16.Location = new System.Drawing.Point(7, 157); 378 | this.label16.Name = "label16"; 379 | this.label16.Size = new System.Drawing.Size(33, 12); 380 | this.label16.TabIndex = 11; 381 | this.label16.Text = "Key8"; 382 | // 383 | // label15 384 | // 385 | this.label15.AutoSize = true; 386 | this.label15.Location = new System.Drawing.Point(7, 137); 387 | this.label15.Name = "label15"; 388 | this.label15.Size = new System.Drawing.Size(33, 12); 389 | this.label15.TabIndex = 10; 390 | this.label15.Text = "Key7"; 391 | // 392 | // label14 393 | // 394 | this.label14.AutoSize = true; 395 | this.label14.Location = new System.Drawing.Point(7, 117); 396 | this.label14.Name = "label14"; 397 | this.label14.Size = new System.Drawing.Size(33, 12); 398 | this.label14.TabIndex = 9; 399 | this.label14.Text = "Key6"; 400 | // 401 | // label13 402 | // 403 | this.label13.AutoSize = true; 404 | this.label13.Location = new System.Drawing.Point(7, 97); 405 | this.label13.Name = "label13"; 406 | this.label13.Size = new System.Drawing.Size(33, 12); 407 | this.label13.TabIndex = 8; 408 | this.label13.Text = "Key5"; 409 | // 410 | // button4 411 | // 412 | this.button4.Location = new System.Drawing.Point(51, 72); 413 | this.button4.Name = "button4"; 414 | this.button4.Size = new System.Drawing.Size(70, 21); 415 | this.button4.TabIndex = 7; 416 | this.button4.Text = "button4"; 417 | this.button4.UseVisualStyleBackColor = true; 418 | this.button4.Click += new System.EventHandler(this.button4_Click); 419 | // 420 | // label7 421 | // 422 | this.label7.AutoSize = true; 423 | this.label7.Location = new System.Drawing.Point(7, 77); 424 | this.label7.Name = "label7"; 425 | this.label7.Size = new System.Drawing.Size(33, 12); 426 | this.label7.TabIndex = 6; 427 | this.label7.Text = "Key4"; 428 | // 429 | // button3 430 | // 431 | this.button3.Location = new System.Drawing.Point(51, 52); 432 | this.button3.Name = "button3"; 433 | this.button3.Size = new System.Drawing.Size(70, 21); 434 | this.button3.TabIndex = 5; 435 | this.button3.Text = "button3"; 436 | this.button3.UseVisualStyleBackColor = true; 437 | this.button3.Click += new System.EventHandler(this.button3_Click); 438 | // 439 | // label6 440 | // 441 | this.label6.AutoSize = true; 442 | this.label6.Location = new System.Drawing.Point(8, 57); 443 | this.label6.Name = "label6"; 444 | this.label6.Size = new System.Drawing.Size(33, 12); 445 | this.label6.TabIndex = 4; 446 | this.label6.Text = "Key3"; 447 | // 448 | // button2 449 | // 450 | this.button2.Location = new System.Drawing.Point(51, 32); 451 | this.button2.Name = "button2"; 452 | this.button2.Size = new System.Drawing.Size(70, 21); 453 | this.button2.TabIndex = 3; 454 | this.button2.Text = "button2"; 455 | this.button2.UseVisualStyleBackColor = true; 456 | this.button2.Click += new System.EventHandler(this.button2_Click); 457 | // 458 | // label5 459 | // 460 | this.label5.AutoSize = true; 461 | this.label5.Location = new System.Drawing.Point(8, 37); 462 | this.label5.Name = "label5"; 463 | this.label5.Size = new System.Drawing.Size(33, 12); 464 | this.label5.TabIndex = 2; 465 | this.label5.Text = "Key2"; 466 | // 467 | // button1 468 | // 469 | this.button1.Location = new System.Drawing.Point(51, 11); 470 | this.button1.Name = "button1"; 471 | this.button1.Size = new System.Drawing.Size(70, 21); 472 | this.button1.TabIndex = 1; 473 | this.button1.Text = "button1"; 474 | this.button1.UseVisualStyleBackColor = true; 475 | this.button1.Click += new System.EventHandler(this.button1_Click); 476 | // 477 | // label4 478 | // 479 | this.label4.AutoSize = true; 480 | this.label4.Location = new System.Drawing.Point(8, 16); 481 | this.label4.Name = "label4"; 482 | this.label4.Size = new System.Drawing.Size(33, 12); 483 | this.label4.TabIndex = 0; 484 | this.label4.Text = "Key1"; 485 | // 486 | // statusStrip1 487 | // 488 | this.statusStrip1.AllowMerge = false; 489 | this.statusStrip1.Font = new System.Drawing.Font("맑은 고딕", 6F); 490 | this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { 491 | this.toolStripStatusLabel1, this.toolStripStatusLabel2 492 | }); 493 | this.statusStrip1.Location = new System.Drawing.Point(0, 247); 494 | this.statusStrip1.Name = "statusStrip1"; 495 | this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 16, 0); 496 | this.statusStrip1.Size = new System.Drawing.Size(285, 22); 497 | this.statusStrip1.SizingGrip = false; 498 | this.statusStrip1.TabIndex = 1; 499 | this.statusStrip1.Text = "statusStrip1"; 500 | // 501 | // toolStripStatusLabel1 502 | // 503 | this.toolStripStatusLabel1.Font = new System.Drawing.Font("맑은 고딕", 7F); 504 | this.toolStripStatusLabel1.ForeColor = System.Drawing.SystemColors.ControlDarkDark; 505 | this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; 506 | this.toolStripStatusLabel1.Size = new System.Drawing.Size(85, 17); 507 | this.toolStripStatusLabel1.Text = "Version Unknown"; 508 | // 509 | // toolStripStatusLabel2 510 | // 511 | this.toolStripStatusLabel2.Font = new System.Drawing.Font("맑은 고딕", 7F); 512 | this.toolStripStatusLabel2.ForeColor = System.Drawing.SystemColors.ControlDarkDark; 513 | this.toolStripStatusLabel2.Name = "toolStripStatusLabel2"; 514 | this.toolStripStatusLabel2.Size = new System.Drawing.Size(188, 17); 515 | this.toolStripStatusLabel2.Text = "App by Jongyeol(Original by PunyFlash)"; 516 | // 517 | // Settings 518 | // 519 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); 520 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 521 | this.ClientSize = new System.Drawing.Size(285, 269); 522 | this.Controls.Add(this.statusStrip1); 523 | this.Controls.Add(this.Modes); 524 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; 525 | this.MaximizeBox = false; 526 | this.MinimizeBox = false; 527 | this.Name = "Settings"; 528 | this.ShowIcon = false; 529 | this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; 530 | this.Text = "Settings"; 531 | this.Modes.ResumeLayout(false); 532 | this.Default.ResumeLayout(false); 533 | this.Default.PerformLayout(); 534 | this.groupBox4.ResumeLayout(false); 535 | this.groupBox4.PerformLayout(); 536 | this.groupBox3.ResumeLayout(false); 537 | this.groupBox3.PerformLayout(); 538 | this.statusStrip1.ResumeLayout(false); 539 | this.statusStrip1.PerformLayout(); 540 | this.ResumeLayout(false); 541 | this.PerformLayout(); 542 | } 543 | 544 | private System.Windows.Forms.Label label13; 545 | private System.Windows.Forms.Label label14; 546 | private System.Windows.Forms.Label label15; 547 | private System.Windows.Forms.Label label16; 548 | private System.Windows.Forms.Button button5; 549 | private System.Windows.Forms.Button button6; 550 | private System.Windows.Forms.Button button7; 551 | private System.Windows.Forms.Button button8; 552 | private System.Windows.Forms.Label label17; 553 | private System.Windows.Forms.Label label18; 554 | private System.Windows.Forms.Label label19; 555 | private System.Windows.Forms.Label label20; 556 | private System.Windows.Forms.Button button13; 557 | private System.Windows.Forms.Button button14; 558 | private System.Windows.Forms.Button button15; 559 | private System.Windows.Forms.Button button16; 560 | 561 | #endregion 562 | 563 | private System.Windows.Forms.TabControl Modes; 564 | private System.Windows.Forms.StatusStrip statusStrip1; 565 | private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1; 566 | private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel2; 567 | private System.Windows.Forms.TabPage Default; 568 | private System.Windows.Forms.GroupBox groupBox4; 569 | private System.Windows.Forms.GroupBox groupBox3; 570 | private System.Windows.Forms.Button button4; 571 | private System.Windows.Forms.Label label7; 572 | private System.Windows.Forms.Button button3; 573 | private System.Windows.Forms.Label label6; 574 | private System.Windows.Forms.Button button2; 575 | private System.Windows.Forms.Label label5; 576 | private System.Windows.Forms.Button button1; 577 | private System.Windows.Forms.Label label4; 578 | private System.Windows.Forms.Button pianoBackground; 579 | private System.Windows.Forms.Label label12; 580 | private System.Windows.Forms.Button button12; 581 | private System.Windows.Forms.Label label11; 582 | private System.Windows.Forms.Button button11; 583 | private System.Windows.Forms.Label label10; 584 | private System.Windows.Forms.Button button10; 585 | private System.Windows.Forms.Label label9; 586 | private System.Windows.Forms.Button button9; 587 | private System.Windows.Forms.Label label8; 588 | private System.Windows.Forms.CheckBox pianoTable; 589 | } 590 | } -------------------------------------------------------------------------------- /LineKeyViewer/Form2.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Drawing; 3 | using System.Windows.Forms; 4 | using Gma.System.MouseKeyHook; 5 | 6 | namespace LineKeyViewer { 7 | public partial class Settings : Form { 8 | private App app; 9 | 10 | private bool key1_trigger; 11 | private bool key2_trigger; 12 | private bool key3_trigger; 13 | private bool key4_trigger; 14 | private bool key5_trigger; 15 | private bool key6_trigger; 16 | private bool key7_trigger; 17 | private bool key8_trigger; 18 | private bool key9_trigger; 19 | private bool key10_trigger; 20 | private bool key11_trigger; 21 | private bool key12_trigger; 22 | private bool key13_trigger; 23 | private bool key14_trigger; 24 | private bool key15_trigger; 25 | private bool key16_trigger; 26 | private bool isSpace; 27 | 28 | private ColorDialog color = new ColorDialog(); 29 | private IKeyboardMouseEvents hook = Hook.GlobalEvents(); 30 | 31 | public Settings(App app) { 32 | this.app = app; 33 | Location = new Point(app.Location.X + 25, app.Location.Y + 25); 34 | InitializeComponent(); 35 | if(Properties.Settings.Default.pianoTable) pianoTable.Checked = true; 36 | pianoBackground.BackColor = Properties.Settings.Default.pianoBackground; 37 | button1.Text = ((Keys) Properties.Settings.Default.pianoKey1).ToString(); 38 | button2.Text = ((Keys) Properties.Settings.Default.pianoKey2).ToString(); 39 | button3.Text = ((Keys) Properties.Settings.Default.pianoKey3).ToString(); 40 | button4.Text = ((Keys) Properties.Settings.Default.pianoKey4).ToString(); 41 | button5.Text = ((Keys) Properties.Settings.Default.pianoKey5).ToString(); 42 | button6.Text = ((Keys) Properties.Settings.Default.pianoKey6).ToString(); 43 | button7.Text = ((Keys) Properties.Settings.Default.pianoKey7).ToString(); 44 | button8.Text = ((Keys) Properties.Settings.Default.pianoKey8).ToString(); 45 | button9.Text = ((Keys) Properties.Settings.Default.pianoKey9).ToString(); 46 | button10.Text = ((Keys) Properties.Settings.Default.pianoKey10).ToString(); 47 | button11.Text = ((Keys) Properties.Settings.Default.pianoKey11).ToString(); 48 | button12.Text = ((Keys) Properties.Settings.Default.pianoKey12).ToString(); 49 | button13.Text = ((Keys) Properties.Settings.Default.pianoKey13).ToString(); 50 | button14.Text = ((Keys) Properties.Settings.Default.pianoKey14).ToString(); 51 | button15.Text = ((Keys) Properties.Settings.Default.pianoKey15).ToString(); 52 | button16.Text = ((Keys) Properties.Settings.Default.pianoKey16).ToString(); 53 | 54 | toolStripStatusLabel1.Text = (app.korean ? "버전 " : "Version ") + typeof(Program).Assembly.GetName().Version; 55 | if(app.korean) { 56 | groupBox3.Text = "기본 키"; 57 | groupBox4.Text = "아래쪽 키"; 58 | label12.Text = "배경 색"; 59 | pianoTable.Text = "책상 가리기"; 60 | Text = "설정"; 61 | } 62 | 63 | KeyPreview = true; 64 | hook.KeyDown += Settings_KeyDown; 65 | Disposed += Settings_Disposed; 66 | } 67 | 68 | private void Settings_Disposed(object sender, EventArgs e) { 69 | hook.Dispose(); 70 | } 71 | 72 | private void ChangeKey(int fromKey, int toKey) { 73 | if(app.key1 == fromKey) { 74 | Properties.Settings.Default.pianoKey1 = toKey; 75 | app.key1 = toKey; 76 | button1.Text = ((Keys) toKey).ToString(); 77 | } else if(app.key2 == fromKey) { 78 | Properties.Settings.Default.pianoKey2 = toKey; 79 | app.key2 = toKey; 80 | button2.Text = ((Keys) toKey).ToString(); 81 | } else if(app.key3 == fromKey) { 82 | Properties.Settings.Default.pianoKey3 = toKey; 83 | app.key3 = toKey; 84 | button3.Text = ((Keys) toKey).ToString(); 85 | } else if(app.key4 == fromKey) { 86 | Properties.Settings.Default.pianoKey4 = toKey; 87 | app.key4 = toKey; 88 | button4.Text = ((Keys) toKey).ToString(); 89 | } else if(app.key5 == fromKey) { 90 | Properties.Settings.Default.pianoKey5 = toKey; 91 | app.key5 = toKey; 92 | button5.Text = ((Keys) toKey).ToString(); 93 | } else if(app.key6 == fromKey) { 94 | Properties.Settings.Default.pianoKey6 = toKey; 95 | app.key6 = toKey; 96 | button6.Text = ((Keys) toKey).ToString(); 97 | } else if(app.key7 == fromKey) { 98 | Properties.Settings.Default.pianoKey7 = toKey; 99 | app.key7 = toKey; 100 | button7.Text = ((Keys) toKey).ToString(); 101 | } else if(app.key8 == fromKey) { 102 | Properties.Settings.Default.pianoKey8 = toKey; 103 | app.key8 = toKey; 104 | button8.Text = ((Keys) toKey).ToString(); 105 | } else if(app.key9 == fromKey) { 106 | Properties.Settings.Default.pianoKey9 = toKey; 107 | app.key9 = toKey; 108 | button9.Text = ((Keys) toKey).ToString(); 109 | } else if(app.key10 == fromKey) { 110 | Properties.Settings.Default.pianoKey10 = toKey; 111 | app.key10 = toKey; 112 | button10.Text = ((Keys) toKey).ToString(); 113 | } else if(app.key11 == fromKey) { 114 | Properties.Settings.Default.pianoKey11 = toKey; 115 | app.key11 = toKey; 116 | button11.Text = ((Keys) toKey).ToString(); 117 | } else if(app.key12 == fromKey) { 118 | Properties.Settings.Default.pianoKey12 = toKey; 119 | app.key12 = toKey; 120 | button12.Text = ((Keys) toKey).ToString(); 121 | } else if(app.key13 == fromKey) { 122 | Properties.Settings.Default.pianoKey13 = toKey; 123 | app.key13 = toKey; 124 | button13.Text = ((Keys) toKey).ToString(); 125 | } else if(app.key14 == fromKey) { 126 | Properties.Settings.Default.pianoKey14 = toKey; 127 | app.key14 = toKey; 128 | button14.Text = ((Keys) toKey).ToString(); 129 | } else if(app.key15 == fromKey) { 130 | Properties.Settings.Default.pianoKey15 = toKey; 131 | app.key15 = toKey; 132 | button15.Text = ((Keys) toKey).ToString(); 133 | } else if(app.key16 == fromKey) { 134 | Properties.Settings.Default.pianoKey16 = toKey; 135 | app.key16 = toKey; 136 | button16.Text = ((Keys) toKey).ToString(); 137 | } 138 | } 139 | 140 | private void Settings_KeyDown(object sender, KeyEventArgs e) { 141 | int keyCode = e.KeyValue; 142 | if(e.KeyCode == Keys.Space || e.KeyCode == Keys.Return) isSpace = true; 143 | if(key1_trigger) { 144 | key1_trigger = false; 145 | if(keyCode != app.key1) { 146 | ChangeKey(keyCode, app.key1); 147 | Properties.Settings.Default.pianoKey1 = keyCode; 148 | app.key1 = keyCode; 149 | Properties.Settings.Default.Save(); 150 | } 151 | button1.Text = ((Keys) app.key1).ToString(); 152 | } else if(key2_trigger) { 153 | key2_trigger = false; 154 | if(keyCode != app.key2) { 155 | ChangeKey(keyCode, app.key2); 156 | Properties.Settings.Default.pianoKey2 = keyCode; 157 | app.key2 = keyCode; 158 | Properties.Settings.Default.Save(); 159 | } 160 | button2.Text = ((Keys) app.key2).ToString(); 161 | } else if(key3_trigger) { 162 | key3_trigger = false; 163 | if(keyCode != app.key3) { 164 | ChangeKey(keyCode, app.key3); 165 | Properties.Settings.Default.pianoKey3 = keyCode; 166 | app.key3 = keyCode; 167 | Properties.Settings.Default.Save(); 168 | } 169 | button3.Text = ((Keys) app.key3).ToString(); 170 | } else if(key4_trigger) { 171 | key4_trigger = false; 172 | if(keyCode != app.key4) { 173 | ChangeKey(keyCode, app.key4); 174 | Properties.Settings.Default.pianoKey4 = keyCode; 175 | app.key4 = keyCode; 176 | Properties.Settings.Default.Save(); 177 | } 178 | button4.Text = ((Keys) app.key4).ToString(); 179 | } else if(key5_trigger) { 180 | key5_trigger = false; 181 | if(keyCode != app.key5) { 182 | ChangeKey(keyCode, app.key5); 183 | Properties.Settings.Default.pianoKey5 = keyCode; 184 | app.key5 = keyCode; 185 | Properties.Settings.Default.Save(); 186 | } 187 | button5.Text = ((Keys) app.key5).ToString(); 188 | } else if(key6_trigger) { 189 | key6_trigger = false; 190 | if(keyCode != app.key6) { 191 | ChangeKey(keyCode, app.key6); 192 | Properties.Settings.Default.pianoKey6 = keyCode; 193 | app.key6 = keyCode; 194 | Properties.Settings.Default.Save(); 195 | } 196 | button6.Text = ((Keys) app.key6).ToString(); 197 | } else if(key7_trigger) { 198 | key7_trigger = false; 199 | if(keyCode != app.key7) { 200 | ChangeKey(keyCode, app.key7); 201 | Properties.Settings.Default.pianoKey7 = keyCode; 202 | app.key7 = keyCode; 203 | Properties.Settings.Default.Save(); 204 | } 205 | button7.Text = ((Keys) app.key7).ToString(); 206 | } else if(key8_trigger) { 207 | key8_trigger = false; 208 | if(keyCode != app.key8) { 209 | ChangeKey(keyCode, app.key8); 210 | Properties.Settings.Default.pianoKey8 = keyCode; 211 | app.key8 = keyCode; 212 | Properties.Settings.Default.Save(); 213 | } 214 | button8.Text = ((Keys) app.key8).ToString(); 215 | } else if(key9_trigger) { 216 | key9_trigger = false; 217 | if(keyCode != app.key9) { 218 | ChangeKey(keyCode, app.key9); 219 | Properties.Settings.Default.pianoKey9 = keyCode; 220 | app.key9 = keyCode; 221 | Properties.Settings.Default.Save(); 222 | } 223 | button9.Text = ((Keys) app.key9).ToString(); 224 | } else if(key10_trigger) { 225 | key10_trigger = false; 226 | if(keyCode != app.key10) { 227 | ChangeKey(keyCode, app.key10); 228 | Properties.Settings.Default.pianoKey10 = keyCode; 229 | app.key10 = keyCode; 230 | Properties.Settings.Default.Save(); 231 | } 232 | button10.Text = ((Keys) app.key10).ToString(); 233 | } else if(key11_trigger) { 234 | key11_trigger = false; 235 | if(keyCode != app.key11) { 236 | ChangeKey(keyCode, app.key11); 237 | Properties.Settings.Default.pianoKey11 = keyCode; 238 | app.key11 = keyCode; 239 | Properties.Settings.Default.Save(); 240 | } 241 | button11.Text = ((Keys) app.key11).ToString(); 242 | } else if(key12_trigger) { 243 | key12_trigger = false; 244 | if(keyCode != app.key12) { 245 | ChangeKey(keyCode, app.key12); 246 | Properties.Settings.Default.pianoKey12 = keyCode; 247 | app.key12 = keyCode; 248 | Properties.Settings.Default.Save(); 249 | } 250 | button12.Text = ((Keys) app.key12).ToString(); 251 | } else if(key13_trigger) { 252 | key13_trigger = false; 253 | if(keyCode != app.key13) { 254 | ChangeKey(keyCode, app.key13); 255 | Properties.Settings.Default.pianoKey13 = keyCode; 256 | app.key13 = keyCode; 257 | Properties.Settings.Default.Save(); 258 | } 259 | button13.Text = ((Keys) app.key13).ToString(); 260 | } else if(key14_trigger) { 261 | key14_trigger = false; 262 | if(keyCode != app.key14) { 263 | ChangeKey(keyCode, app.key14); 264 | Properties.Settings.Default.pianoKey14 = keyCode; 265 | app.key14 = keyCode; 266 | Properties.Settings.Default.Save(); 267 | } 268 | button14.Text = ((Keys) app.key14).ToString(); 269 | } else if(key15_trigger) { 270 | key15_trigger = false; 271 | if(keyCode != app.key15) { 272 | ChangeKey(keyCode, app.key15); 273 | Properties.Settings.Default.pianoKey15 = keyCode; 274 | app.key15 = keyCode; 275 | Properties.Settings.Default.Save(); 276 | } 277 | button15.Text = ((Keys) app.key15).ToString(); 278 | } else if(key16_trigger) { 279 | key16_trigger = false; 280 | if(keyCode != app.key16) { 281 | ChangeKey(keyCode, app.key16); 282 | Properties.Settings.Default.pianoKey16 = keyCode; 283 | app.key16 = keyCode; 284 | Properties.Settings.Default.Save(); 285 | } 286 | button16.Text = ((Keys) app.key16).ToString(); 287 | } 288 | } 289 | 290 | private void DisableTriggers() { 291 | if(key1_trigger) { 292 | key1_trigger = false; 293 | button1.Text = ((Keys) app.key1).ToString(); 294 | } else if(key2_trigger) { 295 | key2_trigger = false; 296 | button2.Text = ((Keys) app.key2).ToString(); 297 | } else if(key3_trigger) { 298 | key3_trigger = false; 299 | button3.Text = ((Keys) app.key3).ToString(); 300 | } else if(key4_trigger) { 301 | key4_trigger = false; 302 | button4.Text = ((Keys) app.key4).ToString(); 303 | } else if(key5_trigger) { 304 | key5_trigger = false; 305 | button5.Text = ((Keys) app.key5).ToString(); 306 | } else if(key6_trigger) { 307 | key6_trigger = false; 308 | button6.Text = ((Keys) app.key6).ToString(); 309 | } else if(key7_trigger) { 310 | key7_trigger = false; 311 | button7.Text = ((Keys) app.key7).ToString(); 312 | } else if(key8_trigger) { 313 | key8_trigger = false; 314 | button8.Text = ((Keys) app.key8).ToString(); 315 | } else if(key9_trigger) { 316 | key9_trigger = false; 317 | button9.Text = ((Keys) app.key9).ToString(); 318 | } else if(key10_trigger) { 319 | key10_trigger = false; 320 | button10.Text = ((Keys) app.key10).ToString(); 321 | } else if(key11_trigger) { 322 | key11_trigger = false; 323 | button11.Text = ((Keys) app.key11).ToString(); 324 | } else if(key12_trigger) { 325 | key12_trigger = false; 326 | button12.Text = ((Keys) app.key12).ToString(); 327 | } else if(key13_trigger) { 328 | key13_trigger = false; 329 | button13.Text = ((Keys) app.key13).ToString(); 330 | } else if(key14_trigger) { 331 | key14_trigger = false; 332 | button14.Text = ((Keys) app.key14).ToString(); 333 | } else if(key15_trigger) { 334 | key15_trigger = false; 335 | button15.Text = ((Keys) app.key15).ToString(); 336 | } else if(key16_trigger) { 337 | key16_trigger = false; 338 | button16.Text = ((Keys) app.key16).ToString(); 339 | } 340 | } 341 | 342 | private void button1_Click(object sender, EventArgs e) { 343 | if(isSpace) { 344 | isSpace = false; 345 | return; 346 | } 347 | DisableTriggers(); 348 | key1_trigger = true; 349 | button1.Text = "*Press"; 350 | } 351 | 352 | private void button2_Click(object sender, EventArgs e) { 353 | if(isSpace) { 354 | isSpace = false; 355 | return; 356 | } 357 | DisableTriggers(); 358 | key2_trigger = true; 359 | button2.Text = "*Press"; 360 | } 361 | 362 | private void button3_Click(object sender, EventArgs e) { 363 | if(isSpace) { 364 | isSpace = false; 365 | return; 366 | } 367 | DisableTriggers(); 368 | key3_trigger = true; 369 | button3.Text = "*Press"; 370 | } 371 | 372 | private void button4_Click(object sender, EventArgs e) { 373 | if(isSpace) { 374 | isSpace = false; 375 | return; 376 | } 377 | DisableTriggers(); 378 | key4_trigger = true; 379 | button4.Text = "*Press"; 380 | } 381 | 382 | private void button5_Click(object sender, EventArgs e) { 383 | if(isSpace) { 384 | isSpace = false; 385 | return; 386 | } 387 | DisableTriggers(); 388 | key5_trigger = true; 389 | button5.Text = "*Press"; 390 | } 391 | 392 | private void button6_Click(object sender, EventArgs e) { 393 | if(isSpace) { 394 | isSpace = false; 395 | return; 396 | } 397 | DisableTriggers(); 398 | key6_trigger = true; 399 | button6.Text = "*Press"; 400 | } 401 | 402 | private void button7_Click(object sender, EventArgs e) { 403 | if(isSpace) { 404 | isSpace = false; 405 | return; 406 | } 407 | DisableTriggers(); 408 | key7_trigger = true; 409 | button7.Text = "*Press"; 410 | } 411 | 412 | private void button8_Click(object sender, EventArgs e) { 413 | if(isSpace) { 414 | isSpace = false; 415 | return; 416 | } 417 | DisableTriggers(); 418 | key8_trigger = true; 419 | button8.Text = "*Press"; 420 | } 421 | 422 | private void button9_Click(object sender, EventArgs e) { 423 | if(isSpace) { 424 | isSpace = false; 425 | return; 426 | } 427 | DisableTriggers(); 428 | key9_trigger = true; 429 | button9.Text = "*Press"; 430 | } 431 | 432 | private void button10_Click(object sender, EventArgs e) { 433 | if(isSpace) { 434 | isSpace = false; 435 | return; 436 | } 437 | DisableTriggers(); 438 | key10_trigger = true; 439 | button10.Text = "*Press"; 440 | } 441 | 442 | private void button11_Click(object sender, EventArgs e) { 443 | if(isSpace) { 444 | isSpace = false; 445 | return; 446 | } 447 | DisableTriggers(); 448 | key11_trigger = true; 449 | button11.Text = "*Press"; 450 | } 451 | 452 | private void button12_Click(object sender, EventArgs e) { 453 | if(isSpace) { 454 | isSpace = false; 455 | return; 456 | } 457 | DisableTriggers(); 458 | key12_trigger = true; 459 | button12.Text = "*Press"; 460 | } 461 | 462 | private void button13_Click(object sender, EventArgs e) { 463 | if(isSpace) { 464 | isSpace = false; 465 | return; 466 | } 467 | DisableTriggers(); 468 | key13_trigger = true; 469 | button13.Text = "*Press"; 470 | } 471 | 472 | private void button14_Click(object sender, EventArgs e) { 473 | if(isSpace) { 474 | isSpace = false; 475 | return; 476 | } 477 | DisableTriggers(); 478 | key14_trigger = true; 479 | button14.Text = "*Press"; 480 | } 481 | 482 | private void button15_Click(object sender, EventArgs e) { 483 | if(isSpace) { 484 | isSpace = false; 485 | return; 486 | } 487 | DisableTriggers(); 488 | key15_trigger = true; 489 | button15.Text = "*Press"; 490 | } 491 | 492 | private void button16_Click(object sender, EventArgs e) { 493 | if(isSpace) { 494 | isSpace = false; 495 | return; 496 | } 497 | DisableTriggers(); 498 | key16_trigger = true; 499 | button16.Text = "*Press"; 500 | } 501 | 502 | private void pianoBackground_Click(object sender, EventArgs e) { 503 | if(color.ShowDialog() == DialogResult.OK) { 504 | pianoBackground.BackColor = color.Color; 505 | Properties.Settings.Default.pianoBackground = color.Color; 506 | Properties.Settings.Default.Save(); 507 | app.Cat.BackColor = color.Color; 508 | } 509 | } 510 | 511 | private void pianoTable_CheckedChanged(object sender, EventArgs e) { 512 | if(pianoTable.Checked) { 513 | Properties.Settings.Default.pianoTable = true; 514 | Properties.Settings.Default.Save(); 515 | app.table = true; 516 | app.TransparentTable(true); 517 | } else { 518 | Properties.Settings.Default.pianoTable = false; 519 | Properties.Settings.Default.Save(); 520 | app.table = false; 521 | app.TransparentTable(false); 522 | } 523 | } 524 | } 525 | } -------------------------------------------------------------------------------- /LineKeyViewer/Form2.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | 144, 17 122 | 123 | -------------------------------------------------------------------------------- /LineKeyViewer/LineKeyViewer.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {97164F86-0DDE-4696-8C3B-93DE016E0A93} 8 | WinExe 9 | LineKeyViewer 10 | LineKeyViewer 11 | v4.8.1 12 | 512 13 | true 14 | 15 | 16 | publish\ 17 | true 18 | Disk 19 | false 20 | Foreground 21 | 7 22 | Days 23 | false 24 | false 25 | true 26 | 0 27 | 1.0.0.%2a 28 | false 29 | false 30 | true 31 | Resources\icon.ico 32 | 33 | 34 | AnyCPU 35 | true 36 | full 37 | false 38 | bin\Debug\ 39 | DEBUG;TRACE 40 | prompt 41 | 4 42 | 43 | 44 | AnyCPU 45 | pdbonly 46 | true 47 | bin\Release\ 48 | TRACE 49 | prompt 50 | 4 51 | 52 | 53 | 54 | ..\packages\Costura.Fody.3.1.2\lib\net46\Costura.dll 55 | 56 | 57 | ..\packages\MouseKeyHook.5.6.0\lib\net40\Gma.System.MouseKeyHook.dll 58 | 59 | 60 | ..\packages\Octokit.0.32.0\lib\net45\Octokit.dll 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | Form 84 | 85 | 86 | Form1.cs 87 | 88 | 89 | Form 90 | 91 | 92 | Form2.cs 93 | 94 | 95 | 96 | 97 | Form1.cs 98 | 99 | 100 | Form2.cs 101 | 102 | 103 | ResXFileCodeGenerator 104 | Resources.Designer.cs 105 | Designer 106 | 107 | 108 | True 109 | Resources.resx 110 | True 111 | 112 | 113 | 114 | SettingsSingleFileGenerator 115 | Settings.Designer.cs 116 | 117 | 118 | True 119 | Settings.settings 120 | True 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | False 212 | Microsoft .NET Framework 4.6.1 %28x86 и x64%29 213 | true 214 | 215 | 216 | False 217 | .NET Framework 3.5 SP1 218 | false 219 | 220 | 221 | 222 | 223 | 224 | 225 | Данный проект ссылается на пакеты NuGet, отсутствующие на этом компьютере. Используйте восстановление пакетов NuGet, чтобы скачать их. Дополнительную информацию см. по адресу: http://go.microsoft.com/fwlink/?LinkID=322105. Отсутствует следующий файл: {0}. 226 | 227 | 228 | 229 | 230 | 231 | -------------------------------------------------------------------------------- /LineKeyViewer/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | namespace LineKeyViewer { 5 | static class Program { 6 | [STAThread] 7 | static void Main() { 8 | Application.EnableVisualStyles(); 9 | Application.SetCompatibleTextRenderingDefault(false); 10 | Application.Run(new App()); 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /LineKeyViewer/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // Общие сведения об этой сборке предоставляются следующим набором 6 | // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, 7 | // связанные со сборкой. 8 | [assembly: AssemblyTitle("LineKeyViewer")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Jongyeol")] 12 | [assembly: AssemblyProduct("LineKeyViewer")] 13 | [assembly: AssemblyCopyright("Copyright ©Jongyeol, YOON 2025")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми 18 | // для компонентов COM. Если необходимо обратиться к типу в этой сборке через 19 | // COM, задайте атрибуту ComVisible значение TRUE для этого типа. 20 | [assembly: ComVisible(false)] 21 | 22 | // Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM 23 | [assembly: Guid("97164f86-0dde-4696-8c3b-93de016e0a93")] 24 | 25 | // Сведения о версии сборки состоят из следующих четырех значений: 26 | // 27 | // Основной номер версии 28 | // Дополнительный номер версии 29 | // Номер сборки 30 | // Редакция 31 | // 32 | // Можно задать все значения или принять номер сборки и номер редакции по умолчанию. 33 | // используя "*", как показано ниже: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.1.0")] 36 | [assembly: AssemblyFileVersion("1.0.1.0")] 37 | -------------------------------------------------------------------------------- /LineKeyViewer/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | namespace LineKeyViewer.Properties { 11 | using System; 12 | 13 | 14 | /// 15 | /// A strongly-typed resource class, for looking up localized strings, etc. 16 | /// 17 | // This class was auto-generated by the StronglyTypedResourceBuilder 18 | // class via a tool like ResGen or Visual Studio. 19 | // To add or remove a member, edit your .ResX file then rerun ResGen 20 | // with the /str option, or rebuild your VS project. 21 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] 22 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 23 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 24 | internal class Resources { 25 | 26 | private static global::System.Resources.ResourceManager resourceMan; 27 | 28 | private static global::System.Globalization.CultureInfo resourceCulture; 29 | 30 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 31 | internal Resources() { 32 | } 33 | 34 | /// 35 | /// Returns the cached ResourceManager instance used by this class. 36 | /// 37 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 38 | internal static global::System.Resources.ResourceManager ResourceManager { 39 | get { 40 | if (object.ReferenceEquals(resourceMan, null)) { 41 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LineKeyViewer.Properties.Resources", typeof(Resources).Assembly); 42 | resourceMan = temp; 43 | } 44 | return resourceMan; 45 | } 46 | } 47 | 48 | /// 49 | /// Overrides the current thread's CurrentUICulture property for all 50 | /// resource lookups using this strongly typed resource class. 51 | /// 52 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 53 | internal static global::System.Globalization.CultureInfo Culture { 54 | get { 55 | return resourceCulture; 56 | } 57 | set { 58 | resourceCulture = value; 59 | } 60 | } 61 | 62 | /// 63 | /// Looks up a localized resource of type System.Drawing.Bitmap. 64 | /// 65 | internal static System.Drawing.Bitmap bongo { 66 | get { 67 | object obj = ResourceManager.GetObject("bongo", resourceCulture); 68 | return ((System.Drawing.Bitmap)(obj)); 69 | } 70 | } 71 | 72 | /// 73 | /// Looks up a localized resource of type System.Drawing.Bitmap. 74 | /// 75 | internal static System.Drawing.Bitmap cat { 76 | get { 77 | object obj = ResourceManager.GetObject("cat", resourceCulture); 78 | return ((System.Drawing.Bitmap)(obj)); 79 | } 80 | } 81 | 82 | /// 83 | /// Looks up a localized resource of type System.Drawing.Bitmap. 84 | /// 85 | internal static System.Drawing.Bitmap cat_table { 86 | get { 87 | object obj = ResourceManager.GetObject("cat_table", resourceCulture); 88 | return ((System.Drawing.Bitmap)(obj)); 89 | } 90 | } 91 | 92 | /// 93 | /// Looks up a localized resource of type System.Drawing.Bitmap. 94 | /// 95 | internal static System.Drawing.Bitmap cat_table_wink { 96 | get { 97 | object obj = ResourceManager.GetObject("cat_table_wink", resourceCulture); 98 | return ((System.Drawing.Bitmap)(obj)); 99 | } 100 | } 101 | 102 | /// 103 | /// Looks up a localized resource of type System.Drawing.Bitmap. 104 | /// 105 | internal static System.Drawing.Bitmap cat_wink { 106 | get { 107 | object obj = ResourceManager.GetObject("cat_wink", resourceCulture); 108 | return ((System.Drawing.Bitmap)(obj)); 109 | } 110 | } 111 | 112 | /// 113 | /// Looks up a localized resource of type System.Drawing.Bitmap. 114 | /// 115 | internal static System.Drawing.Bitmap controller { 116 | get { 117 | object obj = ResourceManager.GetObject("controller", resourceCulture); 118 | return ((System.Drawing.Bitmap)(obj)); 119 | } 120 | } 121 | 122 | /// 123 | /// Looks up a localized resource of type System.Drawing.Bitmap. 124 | /// 125 | internal static System.Drawing.Bitmap empty { 126 | get { 127 | object obj = ResourceManager.GetObject("empty", resourceCulture); 128 | return ((System.Drawing.Bitmap)(obj)); 129 | } 130 | } 131 | 132 | /// 133 | /// Looks up a localized resource of type System.Drawing.Bitmap. 134 | /// 135 | internal static System.Drawing.Bitmap key1 { 136 | get { 137 | object obj = ResourceManager.GetObject("key1", resourceCulture); 138 | return ((System.Drawing.Bitmap)(obj)); 139 | } 140 | } 141 | 142 | /// 143 | /// Looks up a localized resource of type System.Drawing.Bitmap. 144 | /// 145 | internal static System.Drawing.Bitmap key10 { 146 | get { 147 | object obj = ResourceManager.GetObject("key10", resourceCulture); 148 | return ((System.Drawing.Bitmap)(obj)); 149 | } 150 | } 151 | 152 | /// 153 | /// Looks up a localized resource of type System.Drawing.Bitmap. 154 | /// 155 | internal static System.Drawing.Bitmap key11 { 156 | get { 157 | object obj = ResourceManager.GetObject("key11", resourceCulture); 158 | return ((System.Drawing.Bitmap)(obj)); 159 | } 160 | } 161 | 162 | /// 163 | /// Looks up a localized resource of type System.Drawing.Bitmap. 164 | /// 165 | internal static System.Drawing.Bitmap key12 { 166 | get { 167 | object obj = ResourceManager.GetObject("key12", resourceCulture); 168 | return ((System.Drawing.Bitmap)(obj)); 169 | } 170 | } 171 | 172 | /// 173 | /// Looks up a localized resource of type System.Drawing.Bitmap. 174 | /// 175 | internal static System.Drawing.Bitmap key13 { 176 | get { 177 | object obj = ResourceManager.GetObject("key13", resourceCulture); 178 | return ((System.Drawing.Bitmap)(obj)); 179 | } 180 | } 181 | 182 | /// 183 | /// Looks up a localized resource of type System.Drawing.Bitmap. 184 | /// 185 | internal static System.Drawing.Bitmap key14 { 186 | get { 187 | object obj = ResourceManager.GetObject("key14", resourceCulture); 188 | return ((System.Drawing.Bitmap)(obj)); 189 | } 190 | } 191 | 192 | /// 193 | /// Looks up a localized resource of type System.Drawing.Bitmap. 194 | /// 195 | internal static System.Drawing.Bitmap key15 { 196 | get { 197 | object obj = ResourceManager.GetObject("key15", resourceCulture); 198 | return ((System.Drawing.Bitmap)(obj)); 199 | } 200 | } 201 | 202 | /// 203 | /// Looks up a localized resource of type System.Drawing.Bitmap. 204 | /// 205 | internal static System.Drawing.Bitmap key16 { 206 | get { 207 | object obj = ResourceManager.GetObject("key16", resourceCulture); 208 | return ((System.Drawing.Bitmap)(obj)); 209 | } 210 | } 211 | 212 | /// 213 | /// Looks up a localized resource of type System.Drawing.Bitmap. 214 | /// 215 | internal static System.Drawing.Bitmap key2 { 216 | get { 217 | object obj = ResourceManager.GetObject("key2", resourceCulture); 218 | return ((System.Drawing.Bitmap)(obj)); 219 | } 220 | } 221 | 222 | /// 223 | /// Looks up a localized resource of type System.Drawing.Bitmap. 224 | /// 225 | internal static System.Drawing.Bitmap key3 { 226 | get { 227 | object obj = ResourceManager.GetObject("key3", resourceCulture); 228 | return ((System.Drawing.Bitmap)(obj)); 229 | } 230 | } 231 | 232 | /// 233 | /// Looks up a localized resource of type System.Drawing.Bitmap. 234 | /// 235 | internal static System.Drawing.Bitmap key4 { 236 | get { 237 | object obj = ResourceManager.GetObject("key4", resourceCulture); 238 | return ((System.Drawing.Bitmap)(obj)); 239 | } 240 | } 241 | 242 | /// 243 | /// Looks up a localized resource of type System.Drawing.Bitmap. 244 | /// 245 | internal static System.Drawing.Bitmap key5 { 246 | get { 247 | object obj = ResourceManager.GetObject("key5", resourceCulture); 248 | return ((System.Drawing.Bitmap)(obj)); 249 | } 250 | } 251 | 252 | /// 253 | /// Looks up a localized resource of type System.Drawing.Bitmap. 254 | /// 255 | internal static System.Drawing.Bitmap key6 { 256 | get { 257 | object obj = ResourceManager.GetObject("key6", resourceCulture); 258 | return ((System.Drawing.Bitmap)(obj)); 259 | } 260 | } 261 | 262 | /// 263 | /// Looks up a localized resource of type System.Drawing.Bitmap. 264 | /// 265 | internal static System.Drawing.Bitmap key7 { 266 | get { 267 | object obj = ResourceManager.GetObject("key7", resourceCulture); 268 | return ((System.Drawing.Bitmap)(obj)); 269 | } 270 | } 271 | 272 | /// 273 | /// Looks up a localized resource of type System.Drawing.Bitmap. 274 | /// 275 | internal static System.Drawing.Bitmap key8 { 276 | get { 277 | object obj = ResourceManager.GetObject("key8", resourceCulture); 278 | return ((System.Drawing.Bitmap)(obj)); 279 | } 280 | } 281 | 282 | /// 283 | /// Looks up a localized resource of type System.Drawing.Bitmap. 284 | /// 285 | internal static System.Drawing.Bitmap key9 { 286 | get { 287 | object obj = ResourceManager.GetObject("key9", resourceCulture); 288 | return ((System.Drawing.Bitmap)(obj)); 289 | } 290 | } 291 | 292 | /// 293 | /// Looks up a localized resource of type System.Drawing.Bitmap. 294 | /// 295 | internal static System.Drawing.Bitmap keyboard { 296 | get { 297 | object obj = ResourceManager.GetObject("keyboard", resourceCulture); 298 | return ((System.Drawing.Bitmap)(obj)); 299 | } 300 | } 301 | 302 | /// 303 | /// Looks up a localized resource of type System.Drawing.Bitmap. 304 | /// 305 | internal static System.Drawing.Bitmap line { 306 | get { 307 | object obj = ResourceManager.GetObject("line", resourceCulture); 308 | return ((System.Drawing.Bitmap)(obj)); 309 | } 310 | } 311 | 312 | /// 313 | /// Looks up a localized resource of type System.Drawing.Bitmap. 314 | /// 315 | internal static System.Drawing.Bitmap line_head { 316 | get { 317 | object obj = ResourceManager.GetObject("line_head", resourceCulture); 318 | return ((System.Drawing.Bitmap)(obj)); 319 | } 320 | } 321 | 322 | /// 323 | /// Looks up a localized resource of type System.Drawing.Bitmap. 324 | /// 325 | internal static System.Drawing.Bitmap line_table { 326 | get { 327 | object obj = ResourceManager.GetObject("line_table", resourceCulture); 328 | return ((System.Drawing.Bitmap)(obj)); 329 | } 330 | } 331 | 332 | /// 333 | /// Looks up a localized resource of type System.Drawing.Bitmap. 334 | /// 335 | internal static System.Drawing.Bitmap line_table_wink { 336 | get { 337 | object obj = ResourceManager.GetObject("line_table_wink", resourceCulture); 338 | return ((System.Drawing.Bitmap)(obj)); 339 | } 340 | } 341 | 342 | /// 343 | /// Looks up a localized resource of type System.Drawing.Bitmap. 344 | /// 345 | internal static System.Drawing.Bitmap line_wink { 346 | get { 347 | object obj = ResourceManager.GetObject("line_wink", resourceCulture); 348 | return ((System.Drawing.Bitmap)(obj)); 349 | } 350 | } 351 | 352 | /// 353 | /// Looks up a localized resource of type System.Drawing.Bitmap. 354 | /// 355 | internal static System.Drawing.Bitmap piano { 356 | get { 357 | object obj = ResourceManager.GetObject("piano", resourceCulture); 358 | return ((System.Drawing.Bitmap)(obj)); 359 | } 360 | } 361 | 362 | /// 363 | /// Looks up a localized resource of type System.Drawing.Bitmap. 364 | /// 365 | internal static System.Drawing.Bitmap pressed_key1 { 366 | get { 367 | object obj = ResourceManager.GetObject("pressed_key1", resourceCulture); 368 | return ((System.Drawing.Bitmap)(obj)); 369 | } 370 | } 371 | 372 | /// 373 | /// Looks up a localized resource of type System.Drawing.Bitmap. 374 | /// 375 | internal static System.Drawing.Bitmap pressed_key10 { 376 | get { 377 | object obj = ResourceManager.GetObject("pressed_key10", resourceCulture); 378 | return ((System.Drawing.Bitmap)(obj)); 379 | } 380 | } 381 | 382 | /// 383 | /// Looks up a localized resource of type System.Drawing.Bitmap. 384 | /// 385 | internal static System.Drawing.Bitmap pressed_key11 { 386 | get { 387 | object obj = ResourceManager.GetObject("pressed_key11", resourceCulture); 388 | return ((System.Drawing.Bitmap)(obj)); 389 | } 390 | } 391 | 392 | /// 393 | /// Looks up a localized resource of type System.Drawing.Bitmap. 394 | /// 395 | internal static System.Drawing.Bitmap pressed_key12 { 396 | get { 397 | object obj = ResourceManager.GetObject("pressed_key12", resourceCulture); 398 | return ((System.Drawing.Bitmap)(obj)); 399 | } 400 | } 401 | 402 | /// 403 | /// Looks up a localized resource of type System.Drawing.Bitmap. 404 | /// 405 | internal static System.Drawing.Bitmap pressed_key13 { 406 | get { 407 | object obj = ResourceManager.GetObject("pressed_key13", resourceCulture); 408 | return ((System.Drawing.Bitmap)(obj)); 409 | } 410 | } 411 | 412 | /// 413 | /// Looks up a localized resource of type System.Drawing.Bitmap. 414 | /// 415 | internal static System.Drawing.Bitmap pressed_key14 { 416 | get { 417 | object obj = ResourceManager.GetObject("pressed_key14", resourceCulture); 418 | return ((System.Drawing.Bitmap)(obj)); 419 | } 420 | } 421 | 422 | /// 423 | /// Looks up a localized resource of type System.Drawing.Bitmap. 424 | /// 425 | internal static System.Drawing.Bitmap pressed_key15 { 426 | get { 427 | object obj = ResourceManager.GetObject("pressed_key15", resourceCulture); 428 | return ((System.Drawing.Bitmap)(obj)); 429 | } 430 | } 431 | 432 | /// 433 | /// Looks up a localized resource of type System.Drawing.Bitmap. 434 | /// 435 | internal static System.Drawing.Bitmap pressed_key16 { 436 | get { 437 | object obj = ResourceManager.GetObject("pressed_key16", resourceCulture); 438 | return ((System.Drawing.Bitmap)(obj)); 439 | } 440 | } 441 | 442 | /// 443 | /// Looks up a localized resource of type System.Drawing.Bitmap. 444 | /// 445 | internal static System.Drawing.Bitmap pressed_key2 { 446 | get { 447 | object obj = ResourceManager.GetObject("pressed_key2", resourceCulture); 448 | return ((System.Drawing.Bitmap)(obj)); 449 | } 450 | } 451 | 452 | /// 453 | /// Looks up a localized resource of type System.Drawing.Bitmap. 454 | /// 455 | internal static System.Drawing.Bitmap pressed_key3 { 456 | get { 457 | object obj = ResourceManager.GetObject("pressed_key3", resourceCulture); 458 | return ((System.Drawing.Bitmap)(obj)); 459 | } 460 | } 461 | 462 | /// 463 | /// Looks up a localized resource of type System.Drawing.Bitmap. 464 | /// 465 | internal static System.Drawing.Bitmap pressed_key4 { 466 | get { 467 | object obj = ResourceManager.GetObject("pressed_key4", resourceCulture); 468 | return ((System.Drawing.Bitmap)(obj)); 469 | } 470 | } 471 | 472 | /// 473 | /// Looks up a localized resource of type System.Drawing.Bitmap. 474 | /// 475 | internal static System.Drawing.Bitmap pressed_key5 { 476 | get { 477 | object obj = ResourceManager.GetObject("pressed_key5", resourceCulture); 478 | return ((System.Drawing.Bitmap)(obj)); 479 | } 480 | } 481 | 482 | /// 483 | /// Looks up a localized resource of type System.Drawing.Bitmap. 484 | /// 485 | internal static System.Drawing.Bitmap pressed_key6 { 486 | get { 487 | object obj = ResourceManager.GetObject("pressed_key6", resourceCulture); 488 | return ((System.Drawing.Bitmap)(obj)); 489 | } 490 | } 491 | 492 | /// 493 | /// Looks up a localized resource of type System.Drawing.Bitmap. 494 | /// 495 | internal static System.Drawing.Bitmap pressed_key7 { 496 | get { 497 | object obj = ResourceManager.GetObject("pressed_key7", resourceCulture); 498 | return ((System.Drawing.Bitmap)(obj)); 499 | } 500 | } 501 | 502 | /// 503 | /// Looks up a localized resource of type System.Drawing.Bitmap. 504 | /// 505 | internal static System.Drawing.Bitmap pressed_key8 { 506 | get { 507 | object obj = ResourceManager.GetObject("pressed_key8", resourceCulture); 508 | return ((System.Drawing.Bitmap)(obj)); 509 | } 510 | } 511 | 512 | /// 513 | /// Looks up a localized resource of type System.Drawing.Bitmap. 514 | /// 515 | internal static System.Drawing.Bitmap pressed_key9 { 516 | get { 517 | object obj = ResourceManager.GetObject("pressed_key9", resourceCulture); 518 | return ((System.Drawing.Bitmap)(obj)); 519 | } 520 | } 521 | 522 | /// 523 | /// Looks up a localized resource of type System.Drawing.Bitmap. 524 | /// 525 | internal static System.Drawing.Bitmap pressed_left { 526 | get { 527 | object obj = ResourceManager.GetObject("pressed_left", resourceCulture); 528 | return ((System.Drawing.Bitmap)(obj)); 529 | } 530 | } 531 | 532 | /// 533 | /// Looks up a localized resource of type System.Drawing.Bitmap. 534 | /// 535 | internal static System.Drawing.Bitmap pressed_left_wave { 536 | get { 537 | object obj = ResourceManager.GetObject("pressed_left_wave", resourceCulture); 538 | return ((System.Drawing.Bitmap)(obj)); 539 | } 540 | } 541 | 542 | /// 543 | /// Looks up a localized resource of type System.Drawing.Bitmap. 544 | /// 545 | internal static System.Drawing.Bitmap pressed_right { 546 | get { 547 | object obj = ResourceManager.GetObject("pressed_right", resourceCulture); 548 | return ((System.Drawing.Bitmap)(obj)); 549 | } 550 | } 551 | 552 | /// 553 | /// Looks up a localized resource of type System.Drawing.Bitmap. 554 | /// 555 | internal static System.Drawing.Bitmap pressed_right_wave { 556 | get { 557 | object obj = ResourceManager.GetObject("pressed_right_wave", resourceCulture); 558 | return ((System.Drawing.Bitmap)(obj)); 559 | } 560 | } 561 | 562 | /// 563 | /// Looks up a localized resource of type System.Drawing.Bitmap. 564 | /// 565 | internal static System.Drawing.Bitmap table { 566 | get { 567 | object obj = ResourceManager.GetObject("table", resourceCulture); 568 | return ((System.Drawing.Bitmap)(obj)); 569 | } 570 | } 571 | 572 | /// 573 | /// Looks up a localized resource of type System.Drawing.Bitmap. 574 | /// 575 | internal static System.Drawing.Bitmap unpressed_left { 576 | get { 577 | object obj = ResourceManager.GetObject("unpressed_left", resourceCulture); 578 | return ((System.Drawing.Bitmap)(obj)); 579 | } 580 | } 581 | 582 | /// 583 | /// Looks up a localized resource of type System.Drawing.Bitmap. 584 | /// 585 | internal static System.Drawing.Bitmap unpressed_right { 586 | get { 587 | object obj = ResourceManager.GetObject("unpressed_right", resourceCulture); 588 | return ((System.Drawing.Bitmap)(obj)); 589 | } 590 | } 591 | } 592 | } 593 | -------------------------------------------------------------------------------- /LineKeyViewer/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | 122 | ..\Resources\cat_table.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 123 | 124 | 125 | ..\Resources\Line_table.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 126 | 127 | 128 | ..\Resources\table.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 129 | 130 | 131 | ..\Resources\empty.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 132 | 133 | 134 | ..\Resources\keyboard.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 135 | 136 | 137 | ..\Resources\key4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 138 | 139 | 140 | ..\Resources\key2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 141 | 142 | 143 | ..\Resources\unpressed_left.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 144 | 145 | 146 | ..\Resources\cat.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 147 | 148 | 149 | ..\Resources\Line1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 150 | 151 | 152 | ..\Resources\controller.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 153 | 154 | 155 | ..\Resources\key1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 156 | 157 | 158 | ..\Resources\bongo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 159 | 160 | 161 | ..\Resources\cat_table_wink.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 162 | 163 | 164 | ..\Resources\Line_table_wink.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 165 | 166 | 167 | ..\Resources\unpressed_right.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 168 | 169 | 170 | ..\Resources\pressed_right.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 171 | 172 | 173 | ..\Resources\cat_wink.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 174 | 175 | 176 | ..\Resources\Line_wink.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 177 | 178 | 179 | ..\Resources\key6.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 180 | 181 | 182 | ..\Resources\piano.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 183 | 184 | 185 | ..\Resources\key3.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 186 | 187 | 188 | ..\Resources\key5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 189 | 190 | 191 | ..\Resources\key7.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 192 | 193 | 194 | ..\Resources\pressed_right_wave.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 195 | 196 | 197 | ..\Resources\pressed_left_wave.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 198 | 199 | 200 | ..\Resources\pressed_left.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 201 | 202 | 203 | ..\Resources\key8.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 204 | 205 | 206 | ..\Resources\key9.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 207 | 208 | 209 | ..\Resources\key10.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 210 | 211 | 212 | ..\Resources\key11.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 213 | 214 | 215 | ..\Resources\key12.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 216 | 217 | 218 | ..\Resources\key13.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 219 | 220 | 221 | ..\Resources\key14.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 222 | 223 | 224 | ..\Resources\key15.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 225 | 226 | 227 | ..\Resources\key16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 228 | 229 | 230 | ..\Resources\Line_head.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 231 | 232 | 233 | ..\Resources\pressed_key1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 234 | 235 | 236 | ..\Resources\pressed_key2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 237 | 238 | 239 | ..\Resources\pressed_key3.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 240 | 241 | 242 | ..\Resources\pressed_key4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 243 | 244 | 245 | ..\Resources\pressed_key5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 246 | 247 | 248 | ..\Resources\pressed_key6.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 249 | 250 | 251 | ..\Resources\pressed_key7.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 252 | 253 | 254 | ..\Resources\pressed_key8.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 255 | 256 | 257 | ..\Resources\pressed_key9.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 258 | 259 | 260 | ..\Resources\pressed_key10.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 261 | 262 | 263 | ..\Resources\pressed_key11.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 264 | 265 | 266 | ..\Resources\pressed_key12.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 267 | 268 | 269 | ..\Resources\pressed_key13.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 270 | 271 | 272 | ..\Resources\pressed_key14.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 273 | 274 | 275 | ..\Resources\pressed_key15.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 276 | 277 | 278 | ..\Resources\pressed_key16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 279 | 280 | -------------------------------------------------------------------------------- /LineKeyViewer/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | namespace LineKeyViewer.Properties { 11 | 12 | 13 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 14 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")] 15 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 16 | 17 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 18 | 19 | public static Settings Default { 20 | get { 21 | return defaultInstance; 22 | } 23 | } 24 | 25 | [global::System.Configuration.UserScopedSettingAttribute()] 26 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 27 | [global::System.Configuration.DefaultSettingValueAttribute("\n\n Z\n")] 30 | public global::System.Collections.Specialized.StringCollection defaultRight { 31 | get { 32 | return ((global::System.Collections.Specialized.StringCollection)(this["defaultRight"])); 33 | } 34 | set { 35 | this["defaultRight"] = value; 36 | } 37 | } 38 | 39 | [global::System.Configuration.UserScopedSettingAttribute()] 40 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 41 | [global::System.Configuration.DefaultSettingValueAttribute("\n\n X\n")] 44 | public global::System.Collections.Specialized.StringCollection defaultLeft { 45 | get { 46 | return ((global::System.Collections.Specialized.StringCollection)(this["defaultLeft"])); 47 | } 48 | set { 49 | this["defaultLeft"] = value; 50 | } 51 | } 52 | 53 | [global::System.Configuration.UserScopedSettingAttribute()] 54 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 55 | [global::System.Configuration.DefaultSettingValueAttribute("False")] 56 | public bool defaultMouse { 57 | get { 58 | return ((bool)(this["defaultMouse"])); 59 | } 60 | set { 61 | this["defaultMouse"] = value; 62 | } 63 | } 64 | 65 | [global::System.Configuration.UserScopedSettingAttribute()] 66 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 67 | [global::System.Configuration.DefaultSettingValueAttribute("False")] 68 | public bool defaultTable { 69 | get { 70 | return ((bool)(this["defaultTable"])); 71 | } 72 | set { 73 | this["defaultTable"] = value; 74 | } 75 | } 76 | 77 | [global::System.Configuration.UserScopedSettingAttribute()] 78 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 79 | [global::System.Configuration.DefaultSettingValueAttribute("128, 255, 255")] 80 | public global::System.Drawing.Color defaultBackground { 81 | get { 82 | return ((global::System.Drawing.Color)(this["defaultBackground"])); 83 | } 84 | set { 85 | this["defaultBackground"] = value; 86 | } 87 | } 88 | 89 | [global::System.Configuration.UserScopedSettingAttribute()] 90 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 91 | [global::System.Configuration.DefaultSettingValueAttribute("None")] 92 | public string defaultInstrument { 93 | get { 94 | return ((string)(this["defaultInstrument"])); 95 | } 96 | set { 97 | this["defaultInstrument"] = value; 98 | } 99 | } 100 | 101 | [global::System.Configuration.UserScopedSettingAttribute()] 102 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 103 | [global::System.Configuration.DefaultSettingValueAttribute("Default")] 104 | public string Mode { 105 | get { 106 | return ((string)(this["Mode"])); 107 | } 108 | set { 109 | this["Mode"] = value; 110 | } 111 | } 112 | 113 | [global::System.Configuration.UserScopedSettingAttribute()] 114 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 115 | [global::System.Configuration.DefaultSettingValueAttribute("False")] 116 | public bool pianoTable { 117 | get { 118 | return ((bool)(this["pianoTable"])); 119 | } 120 | set { 121 | this["pianoTable"] = value; 122 | } 123 | } 124 | 125 | [global::System.Configuration.UserScopedSettingAttribute()] 126 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 127 | [global::System.Configuration.DefaultSettingValueAttribute("65")] 128 | public int pianoKey1 { 129 | get { 130 | return ((int)(this["pianoKey1"])); 131 | } 132 | set { 133 | this["pianoKey1"] = value; 134 | } 135 | } 136 | 137 | [global::System.Configuration.UserScopedSettingAttribute()] 138 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 139 | [global::System.Configuration.DefaultSettingValueAttribute("83")] 140 | public int pianoKey2 { 141 | get { 142 | return ((int)(this["pianoKey2"])); 143 | } 144 | set { 145 | this["pianoKey2"] = value; 146 | } 147 | } 148 | 149 | [global::System.Configuration.UserScopedSettingAttribute()] 150 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 151 | [global::System.Configuration.DefaultSettingValueAttribute("68")] 152 | public int pianoKey3 { 153 | get { 154 | return ((int)(this["pianoKey3"])); 155 | } 156 | set { 157 | this["pianoKey3"] = value; 158 | } 159 | } 160 | 161 | [global::System.Configuration.UserScopedSettingAttribute()] 162 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 163 | [global::System.Configuration.DefaultSettingValueAttribute("70")] 164 | public int pianoKey4 { 165 | get { 166 | return ((int)(this["pianoKey4"])); 167 | } 168 | set { 169 | this["pianoKey4"] = value; 170 | } 171 | } 172 | 173 | [global::System.Configuration.UserScopedSettingAttribute()] 174 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 175 | [global::System.Configuration.DefaultSettingValueAttribute("74")] 176 | public int pianoKey5 { 177 | get { 178 | return ((int)(this["pianoKey5"])); 179 | } 180 | set { 181 | this["pianoKey5"] = value; 182 | } 183 | } 184 | 185 | [global::System.Configuration.UserScopedSettingAttribute()] 186 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 187 | [global::System.Configuration.DefaultSettingValueAttribute("75")] 188 | public int pianoKey6 { 189 | get { 190 | return ((int)(this["pianoKey6"])); 191 | } 192 | set { 193 | this["pianoKey6"] = value; 194 | } 195 | } 196 | 197 | [global::System.Configuration.UserScopedSettingAttribute()] 198 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 199 | [global::System.Configuration.DefaultSettingValueAttribute("76")] 200 | public int pianoKey7 { 201 | get { 202 | return ((int)(this["pianoKey7"])); 203 | } 204 | set { 205 | this["pianoKey7"] = value; 206 | } 207 | } 208 | 209 | [global::System.Configuration.UserScopedSettingAttribute()] 210 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 211 | [global::System.Configuration.DefaultSettingValueAttribute("186")] 212 | public int pianoKey8 { 213 | get { 214 | return ((int)(this["pianoKey8"])); 215 | } 216 | set { 217 | this["pianoKey8"] = value; 218 | } 219 | } 220 | 221 | [global::System.Configuration.UserScopedSettingAttribute()] 222 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 223 | [global::System.Configuration.DefaultSettingValueAttribute("128, 255, 255")] 224 | public global::System.Drawing.Color pianoBackground { 225 | get { 226 | return ((global::System.Drawing.Color)(this["pianoBackground"])); 227 | } 228 | set { 229 | this["pianoBackground"] = value; 230 | } 231 | } 232 | 233 | [global::System.Configuration.UserScopedSettingAttribute()] 234 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 235 | [global::System.Configuration.DefaultSettingValueAttribute("90")] 236 | public int pianoKey9 { 237 | get { 238 | return ((int)(this["pianoKey9"])); 239 | } 240 | set { 241 | this["pianoKey9"] = value; 242 | } 243 | } 244 | 245 | [global::System.Configuration.UserScopedSettingAttribute()] 246 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 247 | [global::System.Configuration.DefaultSettingValueAttribute("88")] 248 | public int pianoKey10 { 249 | get { 250 | return ((int)(this["pianoKey10"])); 251 | } 252 | set { 253 | this["pianoKey10"] = value; 254 | } 255 | } 256 | 257 | [global::System.Configuration.UserScopedSettingAttribute()] 258 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 259 | [global::System.Configuration.DefaultSettingValueAttribute("67")] 260 | public int pianoKey11 { 261 | get { 262 | return ((int)(this["pianoKey11"])); 263 | } 264 | set { 265 | this["pianoKey11"] = value; 266 | } 267 | } 268 | 269 | [global::System.Configuration.UserScopedSettingAttribute()] 270 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 271 | [global::System.Configuration.DefaultSettingValueAttribute("86")] 272 | public int pianoKey12 { 273 | get { 274 | return ((int)(this["pianoKey12"])); 275 | } 276 | set { 277 | this["pianoKey12"] = value; 278 | } 279 | } 280 | 281 | [global::System.Configuration.UserScopedSettingAttribute()] 282 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 283 | [global::System.Configuration.DefaultSettingValueAttribute("78")] 284 | public int pianoKey13 { 285 | get { 286 | return ((int)(this["pianoKey13"])); 287 | } 288 | set { 289 | this["pianoKey13"] = value; 290 | } 291 | } 292 | 293 | [global::System.Configuration.UserScopedSettingAttribute()] 294 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 295 | [global::System.Configuration.DefaultSettingValueAttribute("77")] 296 | public int pianoKey14 { 297 | get { 298 | return ((int)(this["pianoKey14"])); 299 | } 300 | set { 301 | this["pianoKey14"] = value; 302 | } 303 | } 304 | 305 | [global::System.Configuration.UserScopedSettingAttribute()] 306 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 307 | [global::System.Configuration.DefaultSettingValueAttribute("188")] 308 | public int pianoKey15 { 309 | get { 310 | return ((int)(this["pianoKey15"])); 311 | } 312 | set { 313 | this["pianoKey15"] = value; 314 | } 315 | } 316 | 317 | [global::System.Configuration.UserScopedSettingAttribute()] 318 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 319 | [global::System.Configuration.DefaultSettingValueAttribute("190")] 320 | public int pianoKey16 { 321 | get { 322 | return ((int)(this["pianoKey16"])); 323 | } 324 | set { 325 | this["pianoKey16"] = value; 326 | } 327 | } 328 | 329 | [global::System.Configuration.UserScopedSettingAttribute()] 330 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 331 | [global::System.Configuration.DefaultSettingValueAttribute("False")] 332 | public bool NotificationMod { 333 | get { 334 | return ((bool)(this["NotificationMod"])); 335 | } 336 | set { 337 | this["NotificationMod"] = value; 338 | } 339 | } 340 | } 341 | } 342 | -------------------------------------------------------------------------------- /LineKeyViewer/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | <?xml version="1.0" encoding="utf-16"?> 7 | <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 8 | <string>Z</string> 9 | </ArrayOfString> 10 | 11 | 12 | <?xml version="1.0" encoding="utf-16"?> 13 | <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 14 | <string>X</string> 15 | </ArrayOfString> 16 | 17 | 18 | False 19 | 20 | 21 | False 22 | 23 | 24 | 128, 255, 255 25 | 26 | 27 | None 28 | 29 | 30 | Default 31 | 32 | 33 | False 34 | 35 | 36 | 65 37 | 38 | 39 | 83 40 | 41 | 42 | 68 43 | 44 | 45 | 70 46 | 47 | 48 | 74 49 | 50 | 51 | 75 52 | 53 | 54 | 76 55 | 56 | 57 | 186 58 | 59 | 60 | 128, 255, 255 61 | 62 | 63 | 90 64 | 65 | 66 | 88 67 | 68 | 69 | 67 70 | 71 | 72 | 86 73 | 74 | 75 | 78 76 | 77 | 78 | 77 79 | 80 | 81 | 188 82 | 83 | 84 | 190 85 | 86 | 87 | False 88 | 89 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /LineKeyViewer/Resources/Line1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/Line1.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/Line_head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/Line_head.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/Line_key_16_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/Line_key_16_1.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/Line_table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/Line_table.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/Line_table_wink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/Line_table_wink.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/Line_wink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/Line_wink.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/bongo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/bongo.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/cat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/cat.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/cat_table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/cat_table.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/cat_table_wink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/cat_table_wink.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/cat_wink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/cat_wink.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/controller.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/empty.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/icon.ico -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key1.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key10.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key11.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key12.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key13.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key14.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key15.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key16.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key2.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key3.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key4.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key5.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key6.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key7.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key8.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/key9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/key9.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/keyboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/keyboard.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/piano.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/piano.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key1.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key10.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key11.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key12.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key13.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key14.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key15.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key16.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key2.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key3.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key4.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key5.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key6.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key7.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key8.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_key9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_key9.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_left.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_left_wave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_left_wave.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_right.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/pressed_right_wave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/pressed_right_wave.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/table.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/unpressed_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/unpressed_left.png -------------------------------------------------------------------------------- /LineKeyViewer/Resources/unpressed_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/LineKeyViewer/Resources/unpressed_right.png -------------------------------------------------------------------------------- /LineKeyViewer/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## LineKeyViewer Program 2 | ![C#](https://img.shields.io/badge/Lang-Csharp-c9c8e4.svg?&logo=c#) 3 | ![Rider](https://img.shields.io/badge/IDE-Rider-c9c8e4.svg?&logo=rider) 4 | ![Download](https://img.shields.io/github/downloads/Jongye0l/Line-KeyViewer/LineKeyViewer.exe) 5 | 6 | ![](docs/1.gif) 7 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Supported Versions 4 | 5 | Use this section to tell people about which versions of your project are 6 | currently being supported with security updates. 7 | 8 | | Version | Supported | 9 | | ------- | ------------------ | 10 | | 5.1.x | :white_check_mark: | 11 | | 5.0.x | :x: | 12 | | 4.0.x | :white_check_mark: | 13 | | < 4.0 | :x: | 14 | 15 | ## Reporting a Vulnerability 16 | 17 | Use this section to tell people how to report a vulnerability. 18 | 19 | Tell them where to go, how often they can expect to get an update on a 20 | reported vulnerability, what to expect if the vulnerability is accepted or 21 | declined, etc. 22 | -------------------------------------------------------------------------------- /docs/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jongye0l/Line-KeyViewer/adb06d91004862a8ffccab8808ff05f50cc3e7d4/docs/1.gif --------------------------------------------------------------------------------