├── .gitattributes ├── .gitignore ├── AC_e-Reader_Card_Creator.sln ├── AC_e-Reader_Card_Creator ├── AC_e-Reader_Card_Creator.csproj ├── App.config ├── CCC-Frontend.Designer.cs ├── CCC-Frontend.cs ├── CCC-Frontend.resx ├── Decompression │ ├── External │ │ ├── Source Code │ │ │ ├── headerfix.c │ │ │ ├── nedcenc.cpp │ │ │ ├── nevpk.cpp │ │ │ └── raw2bmp.cpp │ │ ├── headerfix.exe │ │ ├── nedcenc.exe │ │ ├── nedclib.dll │ │ ├── nevpk.exe │ │ └── raw2bmp.exe │ └── Functions │ │ ├── Compress.cs │ │ ├── Decompress.cs │ │ └── Decompressed.cs ├── Print-Frontend.Designer.cs ├── Print-Frontend.cs ├── Print-Frontend.resx ├── Program.cs ├── Properties │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── References │ ├── AC_Greeting_List.txt │ ├── AC_Item_List.txt │ ├── AC_Sender_List.txt │ ├── AC_Special_Char.txt │ ├── AC_Stationery_List.txt │ ├── Common.cs │ ├── GBA_Blank.vpk │ └── Header_Blank.vpk ├── Resources │ ├── A.png │ ├── Airmail_Paper_PG.png │ ├── Aloha_Paper_PG.png │ ├── Animal_Crossing_PAL_Font.png │ ├── Bamboo_Paper_PG.png │ ├── Blossom_Paper_PG.png │ ├── Bluebell_Paper_PG.png │ ├── Butterfly_Paper_PG.png │ ├── Cloudy_Paper_PG.png │ ├── Cool_Neon_Paper_PG.png │ ├── Cool_Paper_PG.png │ ├── Dainty_Paper_PG.png │ ├── Daisy_Paper_PG.png │ ├── Deep_Sea_Paper_PG.png │ ├── Dragon_Paper_PG.png │ ├── Elegant_Paper_PG.png │ ├── Essay_Paper_PG.png │ ├── FOT-Rodin Pro M.ttf │ ├── Fantasy_Paper_PG.png │ ├── Felt_Paper_PG.png │ ├── Festive_Paper_PG.png │ ├── Fireworks_Paper_PG.png │ ├── Fortune_Paper_PG.png │ ├── Gingko_Paper_PG.png │ ├── Gyroid_Paper_PG.png │ ├── Honeybee_Paper_PG.png │ ├── Horsetail_Paper_PG.png │ ├── Hot_Neon_Paper_PG.png │ ├── Inky_Paper_PG.png │ ├── Ivy_Paper_PG.png │ ├── Lacy_Paper_PG.png │ ├── Lattice_Paper_PG.png │ ├── Maple_Leaf_Paper_PG.png │ ├── Misty_Paper_PG.png │ ├── Museum_Paper_PG.png │ ├── Mystic_Paper_PG.png │ ├── Neat_Paper_PG.png │ ├── New_Year's_Card_PG.png │ ├── Noodle_Paper_PG.png │ ├── Octopus_Paper_PG.png │ ├── Orange_Paper_PG.png │ ├── Panda_Paper_PG.png │ ├── Parchment_PG (1).png │ ├── Parchment_PG.png │ ├── Petal_Paper_PG.png │ ├── Polka-Dot_Paper_PG.png │ ├── Rainbow_Paper_PG.png │ ├── Rainy_Day_Paper_PG.png │ ├── Ranch_Paper_PG.png │ ├── Ribbon_Paper_PG.png │ ├── Simple_Paper_PG.png │ ├── Skyline_Paper_PG.png │ ├── Snowy_Paper_PG.png │ ├── Sparkly_Paper_PG.png │ ├── Spooky_Paper_PG.png │ ├── Stageshow_Paper_PG.png │ ├── Starry_Sky_Paper_PG.png │ ├── Steel_Paper_PG.png │ ├── Sunset_Paper_PG.png │ ├── Thick_Paper_PG.png │ ├── Tile_Paper_PG.png │ ├── Vine_Paper_PG (1).png │ ├── Vine_Paper_PG.png │ ├── Watermelon_Paper_PG.png │ ├── Wing_Paper_PG (1).png │ ├── Winter_Paper_PG.png │ ├── Woodcut_Paper_PG.png │ ├── Woodland_Paper_PG.png │ ├── e-reader-ccc.ico │ ├── infinity.png │ ├── print.ico │ ├── readme-ss-frontend.png │ ├── readme-ss-print.png │ └── sample_dotcode.bmp └── e-reader-ccc.ico ├── LICENSE.md └── README.md /.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/main/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.rsuser 8 | *.suo 9 | *.user 10 | *.userosscache 11 | *.sln.docstates 12 | 13 | # User-specific files (MonoDevelop/Xamarin Studio) 14 | *.userprefs 15 | 16 | # Mono auto generated files 17 | mono_crash.* 18 | 19 | # Build results 20 | [Dd]ebug/ 21 | [Dd]ebugPublic/ 22 | [Rr]elease/ 23 | [Rr]eleases/ 24 | x64/ 25 | x86/ 26 | [Ww][Ii][Nn]32/ 27 | [Aa][Rr][Mm]/ 28 | [Aa][Rr][Mm]64/ 29 | bld/ 30 | [Bb]in/ 31 | [Oo]bj/ 32 | [Ll]og/ 33 | [Ll]ogs/ 34 | 35 | # Visual Studio 2015/2017 cache/options directory 36 | .vs/ 37 | # Uncomment if you have tasks that create the project's static files in wwwroot 38 | #wwwroot/ 39 | 40 | # Visual Studio 2017 auto generated files 41 | Generated\ Files/ 42 | 43 | # MSTest test Results 44 | [Tt]est[Rr]esult*/ 45 | [Bb]uild[Ll]og.* 46 | 47 | # NUnit 48 | *.VisualState.xml 49 | TestResult.xml 50 | nunit-*.xml 51 | 52 | # Build Results of an ATL Project 53 | [Dd]ebugPS/ 54 | [Rr]eleasePS/ 55 | dlldata.c 56 | 57 | # Benchmark Results 58 | BenchmarkDotNet.Artifacts/ 59 | 60 | # .NET Core 61 | project.lock.json 62 | project.fragment.lock.json 63 | artifacts/ 64 | 65 | # ASP.NET Scaffolding 66 | ScaffoldingReadMe.txt 67 | 68 | # StyleCop 69 | StyleCopReport.xml 70 | 71 | # Files built by Visual Studio 72 | *_i.c 73 | *_p.c 74 | *_h.h 75 | *.ilk 76 | *.meta 77 | *.obj 78 | *.iobj 79 | *.pch 80 | *.pdb 81 | *.ipdb 82 | *.pgc 83 | *.pgd 84 | *.rsp 85 | *.sbr 86 | *.tlb 87 | *.tli 88 | *.tlh 89 | *.tmp 90 | *.tmp_proj 91 | *_wpftmp.csproj 92 | *.log 93 | *.tlog 94 | *.vspscc 95 | *.vssscc 96 | .builds 97 | *.pidb 98 | *.svclog 99 | *.scc 100 | 101 | # Chutzpah Test files 102 | _Chutzpah* 103 | 104 | # Visual C++ cache files 105 | ipch/ 106 | *.aps 107 | *.ncb 108 | *.opendb 109 | *.opensdf 110 | *.sdf 111 | *.cachefile 112 | *.VC.db 113 | *.VC.VC.opendb 114 | 115 | # Visual Studio profiler 116 | *.psess 117 | *.vsp 118 | *.vspx 119 | *.sap 120 | 121 | # Visual Studio Trace Files 122 | *.e2e 123 | 124 | # TFS 2012 Local Workspace 125 | $tf/ 126 | 127 | # Guidance Automation Toolkit 128 | *.gpState 129 | 130 | # ReSharper is a .NET coding add-in 131 | _ReSharper*/ 132 | *.[Rr]e[Ss]harper 133 | *.DotSettings.user 134 | 135 | # TeamCity is a build add-in 136 | _TeamCity* 137 | 138 | # DotCover is a Code Coverage Tool 139 | *.dotCover 140 | 141 | # AxoCover is a Code Coverage Tool 142 | .axoCover/* 143 | !.axoCover/settings.json 144 | 145 | # Coverlet is a free, cross platform Code Coverage Tool 146 | coverage*.json 147 | coverage*.xml 148 | coverage*.info 149 | 150 | # Visual Studio code coverage results 151 | *.coverage 152 | *.coveragexml 153 | 154 | # NCrunch 155 | _NCrunch_* 156 | .*crunch*.local.xml 157 | nCrunchTemp_* 158 | 159 | # MightyMoose 160 | *.mm.* 161 | AutoTest.Net/ 162 | 163 | # Web workbench (sass) 164 | .sass-cache/ 165 | 166 | # Installshield output folder 167 | [Ee]xpress/ 168 | 169 | # DocProject is a documentation generator add-in 170 | DocProject/buildhelp/ 171 | DocProject/Help/*.HxT 172 | DocProject/Help/*.HxC 173 | DocProject/Help/*.hhc 174 | DocProject/Help/*.hhk 175 | DocProject/Help/*.hhp 176 | DocProject/Help/Html2 177 | DocProject/Help/html 178 | 179 | # Click-Once directory 180 | publish/ 181 | 182 | # Publish Web Output 183 | *.[Pp]ublish.xml 184 | *.azurePubxml 185 | # Note: Comment the next line if you want to checkin your web deploy settings, 186 | # but database connection strings (with potential passwords) will be unencrypted 187 | *.pubxml 188 | *.publishproj 189 | 190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 191 | # checkin your Azure Web App publish settings, but sensitive information contained 192 | # in these scripts will be unencrypted 193 | PublishScripts/ 194 | 195 | # NuGet Packages 196 | *.nupkg 197 | # NuGet Symbol Packages 198 | *.snupkg 199 | # The packages folder can be ignored because of Package Restore 200 | **/[Pp]ackages/* 201 | # except build/, which is used as an MSBuild target. 202 | !**/[Pp]ackages/build/ 203 | # Uncomment if necessary however generally it will be regenerated when needed 204 | #!**/[Pp]ackages/repositories.config 205 | # NuGet v3's project.json files produces more ignorable files 206 | *.nuget.props 207 | *.nuget.targets 208 | 209 | # Microsoft Azure Build Output 210 | csx/ 211 | *.build.csdef 212 | 213 | # Microsoft Azure Emulator 214 | ecf/ 215 | rcf/ 216 | 217 | # Windows Store app package directories and files 218 | AppPackages/ 219 | BundleArtifacts/ 220 | Package.StoreAssociation.xml 221 | _pkginfo.txt 222 | *.appx 223 | *.appxbundle 224 | *.appxupload 225 | 226 | # Visual Studio cache files 227 | # files ending in .cache can be ignored 228 | *.[Cc]ache 229 | # but keep track of directories ending in .cache 230 | !?*.[Cc]ache/ 231 | 232 | # Others 233 | ClientBin/ 234 | ~$* 235 | *~ 236 | *.dbmdl 237 | *.dbproj.schemaview 238 | *.jfm 239 | *.pfx 240 | *.publishsettings 241 | orleans.codegen.cs 242 | 243 | # Including strong name files can present a security risk 244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 245 | *.snk 246 | 247 | # Since there are multiple workflows, uncomment next line to ignore bower_components 248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 249 | #bower_components/ 250 | 251 | # RIA/Silverlight projects 252 | Generated_Code/ 253 | 254 | # Backup & report files from converting an old project file 255 | # to a newer Visual Studio version. Backup files are not needed, 256 | # because we have git ;-) 257 | _UpgradeReport_Files/ 258 | Backup*/ 259 | UpgradeLog*.XML 260 | UpgradeLog*.htm 261 | ServiceFabricBackup/ 262 | *.rptproj.bak 263 | 264 | # SQL Server files 265 | *.mdf 266 | *.ldf 267 | *.ndf 268 | 269 | # Business Intelligence projects 270 | *.rdl.data 271 | *.bim.layout 272 | *.bim_*.settings 273 | *.rptproj.rsuser 274 | *- [Bb]ackup.rdl 275 | *- [Bb]ackup ([0-9]).rdl 276 | *- [Bb]ackup ([0-9][0-9]).rdl 277 | 278 | # Microsoft Fakes 279 | FakesAssemblies/ 280 | 281 | # GhostDoc plugin setting file 282 | *.GhostDoc.xml 283 | 284 | # Node.js Tools for Visual Studio 285 | .ntvs_analysis.dat 286 | node_modules/ 287 | 288 | # Visual Studio 6 build log 289 | *.plg 290 | 291 | # Visual Studio 6 workspace options file 292 | *.opt 293 | 294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 295 | *.vbw 296 | 297 | # Visual Studio 6 auto-generated project file (contains which files were open etc.) 298 | *.vbp 299 | 300 | # Visual Studio 6 workspace and project file (working project files containing files to include in project) 301 | *.dsw 302 | *.dsp 303 | 304 | # Visual Studio 6 technical files 305 | *.ncb 306 | *.aps 307 | 308 | # Visual Studio LightSwitch build output 309 | **/*.HTMLClient/GeneratedArtifacts 310 | **/*.DesktopClient/GeneratedArtifacts 311 | **/*.DesktopClient/ModelManifest.xml 312 | **/*.Server/GeneratedArtifacts 313 | **/*.Server/ModelManifest.xml 314 | _Pvt_Extensions 315 | 316 | # Paket dependency manager 317 | .paket/paket.exe 318 | paket-files/ 319 | 320 | # FAKE - F# Make 321 | .fake/ 322 | 323 | # CodeRush personal settings 324 | .cr/personal 325 | 326 | # Python Tools for Visual Studio (PTVS) 327 | __pycache__/ 328 | *.pyc 329 | 330 | # Cake - Uncomment if you are using it 331 | # tools/** 332 | # !tools/packages.config 333 | 334 | # Tabs Studio 335 | *.tss 336 | 337 | # Telerik's JustMock configuration file 338 | *.jmconfig 339 | 340 | # BizTalk build output 341 | *.btp.cs 342 | *.btm.cs 343 | *.odx.cs 344 | *.xsd.cs 345 | 346 | # OpenCover UI analysis results 347 | OpenCover/ 348 | 349 | # Azure Stream Analytics local run output 350 | ASALocalRun/ 351 | 352 | # MSBuild Binary and Structured Log 353 | *.binlog 354 | 355 | # NVidia Nsight GPU debugger configuration file 356 | *.nvuser 357 | 358 | # MFractors (Xamarin productivity tool) working folder 359 | .mfractor/ 360 | 361 | # Local History for Visual Studio 362 | .localhistory/ 363 | 364 | # Visual Studio History (VSHistory) files 365 | .vshistory/ 366 | 367 | # BeatPulse healthcheck temp database 368 | healthchecksdb 369 | 370 | # Backup folder for Package Reference Convert tool in Visual Studio 2017 371 | MigrationBackup/ 372 | 373 | # Ionide (cross platform F# VS Code tools) working folder 374 | .ionide/ 375 | 376 | # Fody - auto-generated XML schema 377 | FodyWeavers.xsd 378 | 379 | # VS Code files for those working on multiple tools 380 | .vscode/* 381 | !.vscode/settings.json 382 | !.vscode/tasks.json 383 | !.vscode/launch.json 384 | !.vscode/extensions.json 385 | *.code-workspace 386 | 387 | # Local History for Visual Studio Code 388 | .history/ 389 | 390 | # Windows Installer files from build outputs 391 | *.cab 392 | *.msi 393 | *.msix 394 | *.msm 395 | *.msp 396 | 397 | # JetBrains Rider 398 | *.sln.iml 399 | -------------------------------------------------------------------------------- /AC_e-Reader_Card_Creator.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 17 4 | VisualStudioVersion = 17.6.33829.357 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AC_e-Reader_Card_Creator", "AC_e-Reader_Card_Creator\AC_e-Reader_Card_Creator.csproj", "{61E3E092-ADF9-4613-B6FB-205DD4F5A7E9}" 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 | {61E3E092-ADF9-4613-B6FB-205DD4F5A7E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {61E3E092-ADF9-4613-B6FB-205DD4F5A7E9}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {61E3E092-ADF9-4613-B6FB-205DD4F5A7E9}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {61E3E092-ADF9-4613-B6FB-205DD4F5A7E9}.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 = {4A36C150-C874-4AEC-BA1A-882303D129A9} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /AC_e-Reader_Card_Creator/AC_e-Reader_Card_Creator.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | net8.0-windows 4 | WinExe 5 | AC_e_Reader_Card_Creator 6 | false 7 | true 8 | Disk 9 | false 10 | Foreground 11 | 7 12 | Days 13 | false 14 | false 15 | true 16 | 1 17 | 1.0.0.%2a 18 | false 19 | true 20 | true 21 | true 22 | true 23 | true 24 | true 25 | 26 | 27 | 28 | AC_e-Reader_Card_Creator_TemporaryKey.snk 29 | true 30 | 31 | 32 | 33 | 34 | 35 | 36 | e-reader-ccc.ico 37 | 38 | 39 | 40 | 41 | 42 | 43 | %(RecursiveDir)\Project Files\References\%(Filename)%(Extension) 44 | PreserveNewest 45 | 46 | 47 | %(RecursiveDir)\Project Files\References\%(Filename)%(Extension) 48 | PreserveNewest 49 | 50 | 51 | %(RecursiveDir)\Project Files\Decompression\External\%(Filename)%(Extension) 52 | PreserveNewest 53 | 54 | 55 | %(RecursiveDir)\Project Files\Decompression\External\%(Filename)%(Extension) 56 | PreserveNewest 57 | 58 | 59 | %(RecursiveDir)\Project Files\Resources\%(Filename)%(Extension) 60 | PreserveNewest 61 | 62 | 63 | %(RecursiveDir)\Project Files\Resources\%(Filename)%(Extension) 64 | PreserveNewest 65 | 66 | 67 | 68 | 69 | 70 | False 71 | Microsoft .NET Framework 4.7.2 %28x86 and x64%29 72 | true 73 | 74 | 75 | False 76 | .NET Framework 3.5 SP1 77 | false 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | -------------------------------------------------------------------------------- /AC_e-Reader_Card_Creator/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /AC_e-Reader_Card_Creator/CCC-Frontend.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Drawing; 4 | using System.Linq; 5 | using System.Windows.Forms; 6 | using System.IO; 7 | using AC_e_Reader_Card_Creator.Decompression.Functions; 8 | using System.Drawing.Text; 9 | using System.Runtime.InteropServices; 10 | using System.Diagnostics; 11 | using AC_e_Reader_Card_Creator.References; 12 | 13 | namespace AC_e_Reader_Card_Creator 14 | { 15 | public partial class eReaderCCC : Form 16 | { 17 | private readonly Dictionary itemIDs = []; 18 | private readonly Dictionary stationeryFontRGB = []; 19 | private readonly PrivateFontCollection AC_Letter_Font = new(); 20 | private bool isDarkModeEnabled = false; 21 | 22 | public eReaderCCC() 23 | { 24 | InitializeComponent(); 25 | LoadDirectories(); 26 | LoadStationeryIDs(); 27 | LoadItemIDs(); 28 | LoadSenderIDs(); 29 | LoadGreetings(); 30 | HandleFonts(); 31 | Common.LoadBlankVPKs(); 32 | 33 | label_Version.Text = Common.VERSION; 34 | comboBox_Stationery.SelectedIndex = 0; 35 | comboBox_Greeting.SelectedIndex = 5; 36 | label_Greeting.Text = comboBox_Greeting.Text; 37 | } 38 | 39 | private void LoadDirectories() 40 | { 41 | string[] directoryPath = [@"Project Files\Decompression\eCard", Common.RAW_OUTPUT, Common.BIN_OUTPUT, Common.VPK_OUTPUT, Common.DEC_OUTPUT, Common.BMP_OUTPUT]; 42 | foreach (string dir in directoryPath) 43 | { 44 | if (!Directory.Exists(dir)) 45 | { 46 | Directory.CreateDirectory(dir); 47 | } 48 | } 49 | } 50 | 51 | private void ItemIDChanged(object sender, EventArgs e) 52 | { 53 | string itemID = "0x" + textBox_ItemID.Text; 54 | 55 | if (itemID.Length == 6) 56 | { 57 | string item_name = Common.LookupListValue(itemID, Common.ITEM_LIST); 58 | 59 | if (item_name != null) 60 | { 61 | comboBox_ItemName.SelectedItem = item_name; 62 | } 63 | else 64 | { 65 | comboBox_ItemName.SelectedItem = "Invalid"; 66 | } 67 | } 68 | else 69 | { 70 | comboBox_ItemName.SelectedItem = null; 71 | } 72 | } 73 | 74 | private void LetterBodyChanged(object sender, EventArgs e) 75 | { 76 | int currentCharCount = textBox_Body.Text.Length; 77 | int maxCharBody = textBox_Body.MaxLength; 78 | header_Body.Text = $"Body ( {currentCharCount} / {maxCharBody} )"; 79 | 80 | List