Compare commits

...

572 commits

Author SHA1 Message Date
Oleksandr
2a63ee57f1
Change contact email for contributions
Updated contact information for contributions.
2025-11-15 11:21:14 +02:00
Oleksandr
776c256634
Update contact email for reporting incidents 2025-11-15 11:20:12 +02:00
Oleksandr
8af684412d
Update README.md 2025-05-02 15:04:00 +03:00
Oleksandr
977a645146
Update README.md 2024-12-21 00:51:38 +02:00
Oleksandr
6261879d48
Update README.md 2023-03-05 18:53:02 +02:00
Oleksandr
efb1f7d129
Update README.md 2023-03-05 18:52:14 +02:00
Oleksandr
2940ddad92
Merge pull request #61 from Crypto-Notepad/dev
readme update
2022-09-09 13:49:23 +03:00
Alexander
3388b68ea7
readme update 2022-09-09 13:47:48 +03:00
Oleksandr
1b80d3c21d
Merge pull request #60 from Crypto-Notepad/dev
v1.7.3
2022-09-09 13:30:33 +03:00
Alexander
cfb8f66138
Update v1.7.3 2022-09-09 13:28:40 +03:00
Alexander
3078871bd4
changed build configuration 2022-09-09 13:27:51 +03:00
Alexander
d65c0c4d26
version bump 2022-09-06 13:17:39 +03:00
Oleksandr
9580fee1aa
Update LICENSE 2022-07-21 00:21:25 +03:00
Oleksandr
24f42c99fb
Merge pull request #58 from Crypto-Notepad/dev
fixed bug with inserting date/time
2022-05-30 22:20:14 +03:00
Alexander
342bedaabc
fixed bug with inserting date/time 2022-05-30 22:19:37 +03:00
Alexander
3a5e786eea
Update v1.7.2 2022-05-30 22:18:50 +03:00
Oleksandr
7a4be053db
Merge pull request #57 from Crypto-Notepad/dev
Increased font size for some inputs / Added #56
2022-05-22 11:11:29 +03:00
Alexander
3f4efbb5e1
Update v1.7.1 2022-05-22 11:09:08 +03:00
Alexander
1b6acc4e06
Increased font size for input 2022-05-22 11:08:54 +03:00
Alexander
fd24d61401
Added #56 2022-05-22 11:07:48 +03:00
Alexander
9f1c7de776
Update README.md 2022-03-22 19:23:03 +02:00
Alexander
cfcc6f7908
Update FUNDING.yml 2022-03-19 23:12:13 +02:00
Alexander
7b548e6c6b
Update FUNDING.yml 2022-03-19 23:02:49 +02:00
Alexander
806b7e875e
Update FUNDING.yml 2021-12-04 17:35:31 +02:00
Alexander
e780323592
Update FUNDING.yml 2021-11-03 00:42:31 +02:00
Alexander
6776221477
Update v1.7.0 2021-04-11 11:50:31 +03:00
Alexander
c1c222d0bc
Update v1.7.0 2021-04-10 13:22:10 +03:00
Alexander
0db3f4847f
Fixed bug when "settings" item from tray menu was disabled after file unlock 2021-04-08 00:39:45 +03:00
Alexander
19b6f660d7
Fixed bug with visibility of editor on editor lock 2021-04-08 00:02:40 +03:00
Alexander
e8503110a4
Fixed typo 2021-04-07 14:28:22 +03:00
Alexander
f0eb38f35b
Added Paste Board function #53 2021-04-07 14:19:36 +03:00
Alexander
eced4a332b
Fixed bug when after file locking was able to open settings 2021-04-07 02:27:16 +03:00
Alexander
00d20db932
Fixed bug with disappearing text after showing app from the tray 2021-04-06 18:02:56 +03:00
Alexander
b97a5ca76f
Update v1.6.9 2021-03-28 21:14:11 +03:00
Alexander
1f3c48f2c7
Fixed connection error in updater 2021-03-28 21:10:43 +03:00
Alexander
279efb7d70
Update v1.6.9 2021-03-28 20:56:15 +03:00
Alexander
566c4e5a0c Update v1.6.9 2021-03-28 20:53:04 +03:00
Александр
3e1ef07105 Update v1.6.9
Added
- New items in tray menu.
- Able to reset window location (from tray menu).
- Able to enable tray menu without enabling
- Minimize to tray/Close to tray settings.

Improved
- If app is completely out off screen at the start, window location will be reset automatically.
- Now settings from the Integration section will be applied at the app start, if settings file was imported.

Fixed
- Bugs with some settings load.
2021-03-28 20:46:45 +03:00
Alexander
2635269c39
Merge branch 'master' of https://github.com/Crypto-Notepad/Crypto-Notepad 2020-09-09 12:23:53 +03:00
Alexander
9436f3c0d7
Update v1.6.8 2020-09-09 12:23:26 +03:00
Alexander
ee2aa4d8c2
Update README.md 2020-09-02 20:54:43 +03:00
Alexander
c0c4916cef
Update README.md 2020-09-01 10:09:05 +03:00
Alexander
22acc5e29d
Update README.md 2020-09-01 01:24:01 +03:00
Alexander
872ce5196a
Update README.md 2020-09-01 01:21:22 +03:00
Alexander
8400e04d52
Update README.md 2020-09-01 01:18:44 +03:00
Alexander
d4d43b31ad
Merge branch 'master' of https://github.com/Crypto-Notepad/Crypto-Notepad 2020-08-24 00:08:12 +03:00
Alexander
c1bff79c02
v1.6.8
- Added optional able to open all files except *.cnp without message "Try to decrypt file?" #52
- Added menu item and toolbar icon "Try to decrypt".
- Fixed minor bugs while file open.
- Now some items of the main menu become inactive when it's not necessary to use.
2020-08-24 00:07:27 +03:00
Alexander
282096fb83
Update FUNDING.yml 2020-08-22 03:37:47 +03:00
Alexander
ea60c0ffb6
Update FUNDING.yml 2020-08-21 04:43:58 +03:00
Alexander
d79f5b59da
Merge branch 'master' of https://github.com/Crypto-Notepad/Crypto-Notepad 2020-08-08 12:28:37 +03:00
Alexander
6a30579d57
Update v1.6.7 2020-08-08 12:28:32 +03:00
Alexander
ffb2016e48
Fixed bug when editor was invisible after window maximized 2020-08-08 12:28:09 +03:00
Alexander
1cc8332458
Buttons in the "Password generator" window was swapped 2020-08-08 12:23:00 +03:00
Alexander
6d08b85c45
Updated url to app website
Now website stored at https://crypto-notepad.github.io/
2020-08-08 12:17:26 +03:00
Alexander
80b5321170
Update README.md 2020-06-18 15:53:08 +03:00
Alexander
1de5e93273
Update v1.6.6 2020-01-20 11:51:51 +02:00
Alexander
6fdb986ba9
Fixed bug when shortcut keys doesn't work or worked when it's not necessary. 2020-01-19 16:38:08 +02:00
Alexander
3f2997afa6
Clipboard auto-clear progress bar is enabled by default 2020-01-19 15:07:43 +02:00
Alexander
ba10e5a2a7
Minor design changes 2020-01-19 14:56:26 +02:00
Alexander
656a2c9e92
Remapped some shortcut keys #49 2020-01-19 14:54:49 +02:00
Alexander
b6736fb518
Clear Clipboard menu item disabled when clipboard is empty 2020-01-19 14:54:00 +02:00
Alexander
d15194f789
Code formatting 2020-01-19 14:53:08 +02:00
Alexander
9e18e19eec
Added able to auto-clear clipboard on app close 2020-01-19 14:52:38 +02:00
Alexander
6a2adbbf65
Added able to disable all shortcut keys 2020-01-19 14:50:46 +02:00
Alexander
05cf0f19ff
Auto-clear clipboard after copy text from the editor 2020-01-17 23:43:15 +02:00
Alexander
4903a4f91d
Added able to clear clipboard 2020-01-17 22:23:02 +02:00
Alexander
151887a8c1
Fody version update 2020-01-17 16:17:56 +02:00
Alexander
07d39c221e
PasswordGenerator version update 2020-01-17 16:17:17 +02:00
Alexander
46b65d1972
Removed unused code 2020-01-13 13:00:22 +02:00
Alexander
9a73b34433
App version bump 2020-01-13 12:46:53 +02:00
Alexander
ea2fdb730d
Added word wrap indicator to the status panel 2020-01-13 12:46:31 +02:00
Alexander
664ab8cfd2
Categories in Settings window was reorganized. 2020-01-13 12:45:20 +02:00
Alexander
ea61a872c0
Auto lock if the app is inactive #48 2020-01-13 12:44:46 +02:00
Alexander
e7583a09a5
Added able to make editor readonly 2020-01-13 12:40:14 +02:00
Alexander
392f5d8a3b
Editor text now is hidden in windows thumbnail previews 2019-12-29 00:26:58 +02:00
Alexander
a021398788
Update v1.6.5 2019-12-12 18:08:25 +02:00
Alexander
bcba67909a
Сhanged minimum and maximum password length to 4 and 256 2019-12-11 16:21:41 +02:00
Alexander
0b04274ad0
Extended types of special characters #47 2019-12-11 16:21:26 +02:00
Alexander
be8dfa895c
Bump PasswordGenerator from 2.0.1 to 2.0.3 2019-12-11 16:16:07 +02:00
Alexander
8c7770c9dc
App version updated 2019-12-11 16:13:41 +02:00
Alexander
3a82131251
Update CONTRIBUTING.md 2019-12-02 19:47:01 +02:00
Alexander
7f23e1d026
Code formatting 2019-12-02 19:38:46 +02:00
Alexander
230e199212
Update CONTRIBUTING.md 2019-12-02 19:37:59 +02:00
Alexander
c7c1d39b2d
Update v1.6.4 2019-12-01 09:14:10 +02:00
Alexander
d321380f34
Update v1.6.4 2019-11-30 20:01:24 +02:00
Alexander
1dc168fa11
Update README.md 2019-11-30 20:00:11 +02:00
Alexander
092a02cc73
Update README.md 2019-11-30 19:54:50 +02:00
Alexander
c739b82665
Merge remote-tracking branch 'origin/master' 2019-11-28 22:37:04 +02:00
Alexander
e921869371
Renamed ChangeKeyForm to ChangePasswordForm 2019-11-28 22:36:49 +02:00
Alexander
5534ebc507
Renamed ChangeKeyForm to ChangePasswordForm 2019-11-28 22:36:43 +02:00
Alexander
674b9746b1
Renamed ChangeKeyForm to ChangePasswordForm 2019-11-28 22:34:30 +02:00
Alexander
69f93b57a5
Renamed EnterKeyForm to EnterPasswordForm 2019-11-28 22:28:23 +02:00
Alexander
7d0133ee9f
Removed unused code 2019-11-28 22:25:58 +02:00
Alexander
9a443a4c45
Removed empty new line 2019-11-27 20:16:23 +02:00
Alexander
bd8c01a967 Saving setting when window was deactivated
For situations when form closed not by [X] clicking
2019-11-27 19:22:48 +02:00
Alexander
da954934f9 Repeatable code was moved to a separate method 2019-11-27 16:31:23 +02:00
Alexander
9435d311c2 Changed tooltip delay 2019-11-27 15:53:45 +02:00
Alexander
1f589473f7 Update CONTRIBUTING.md 2019-11-27 15:46:01 +02:00
Alexander
a682b24164 Added warning that text file must be in UTF-8 Encoding 2019-11-27 15:27:34 +02:00
Alexander
7996c273b4 Removed unused code 2019-11-27 15:02:27 +02:00
Alexander
78f5ce692c Fixed bug when integrate with explorer context menu doesn't work on new systems 2019-11-27 15:02:05 +02:00
Alexander
674920964c Changed text from uppercase to lowercase 2019-11-27 14:20:35 +02:00
Alexander
b7e0158cd5 Update README.md 2019-11-27 12:08:17 +02:00
Alexander
45eba62f5d Password generator window now showing in taskbar 2019-11-27 12:02:36 +02:00
Alexander
bef0cc4cf7 Removed unused code 2019-11-27 12:00:49 +02:00
Alexander
8730e1a05a Enabled AutoGenerateBindingRedirects 2019-11-27 12:00:13 +02:00
Alexander
db405c1e92 Encryption key renamed to password 2019-11-27 11:59:42 +02:00
Alexander
e500c95f5d Returned missing backward compatibility for decryption with custom salt. 2019-11-27 11:56:53 +02:00
Alexander
31a8838919 Fixed typos 2019-11-26 16:20:05 +02:00
Alexander
08b53d1919 Changed tooltip initial delay from 500 to 1 2019-11-24 22:36:50 +02:00
Alexander
b6bdfae6e3 Removed "Service Pack" from copied debug info 2019-11-24 22:36:03 +02:00
Alexander
163d23565e Code formatting 2019-11-24 22:06:42 +02:00
Alexander
ff2201d06b Popup notification timeout increased 2019-11-24 22:06:24 +02:00
Alexander
dc5a2a8394 Files sorted by folders 2019-11-24 22:03:20 +02:00
Alexander
7e346eae89 Improved password generator
- Minor design changes;
- Added able to copy all list of generated passwords;
- Added able to copy last password in list;
- Added ability to specify the number of generated passwords [1-1000];
2019-11-24 09:39:14 +02:00
Alexander
ee36ea1ae6 Fixed bug with wrong update messages 2019-11-24 09:34:52 +02:00
Alexander
4b87b4cfe6 dev 2019-11-24 09:34:04 +02:00
Alexander
d9fb8d28d7 Notifications replaced with tooltip 2019-11-24 09:33:10 +02:00
Alexander
1508d5d4b3 Debug information was simplified 2019-11-24 09:33:02 +02:00
Alexander
e0b5d616f4 Some methods was moved to a separate file 2019-11-24 09:30:31 +02:00
Alexander
e671088df7 External libraries moved to own folder 2019-11-23 22:22:53 +02:00
Alexander
e3e5449bb9 Update checking now async 2019-11-22 17:39:10 +02:00
Alexander
1f3a6ba959 Fixed missing icon 2019-11-22 17:38:41 +02:00
Alexander
81eaf98047 Improved app updater 2019-11-22 17:37:58 +02:00
Alexander
349570e97d Debug info now can display info about latest .Net Framework Information (4.8) 2019-11-21 19:56:14 +02:00
Alexander
e547eab329 Debug info was edited, now contains only app version/OS Information/.Net Framework version 2019-11-21 19:54:48 +02:00
Alexander
2947d2b4a4 "copied to clipboard" changed to "copied" 2019-11-20 20:18:06 +02:00
Alexander
6c5cdbe6b0 Update AboutFrom.Designer.cs 2019-11-20 19:53:54 +02:00
Alexander
e31188da69 Changed "copied to clipboard" fore color 2019-11-20 19:50:27 +02:00
Alexander
b7b6328c54 "debug info was copied to clipboard" changed to "copied to clipboard" 2019-11-20 19:50:03 +02:00
Alexander
420697662e Debug info now copied even by double click 2019-11-20 19:47:06 +02:00
Alexander
60352d5e4c Update README.md 2019-11-20 15:52:12 +02:00
Alexander
56f6cd8e90 Merge branch 'master' of https://github.com/Crypto-Notepad/Crypto-Notepad 2019-11-20 15:51:39 +02:00
Alexander
a56e93ae3f Update README.md 2019-11-20 15:49:51 +02:00
Alexander
d3c57215e2 Changed text of "Auto check updates" in "Settings" window 2019-11-20 15:49:32 +02:00
Alexander
c0fc18601c Changed message to enable automatic updates at program startup 2019-11-20 15:48:49 +02:00
Alexander
0acea85613 Code formatting 2019-11-20 13:59:38 +02:00
Alexander
cf376d223a Added tooltip while hovering app version text 2019-11-20 13:59:13 +02:00
Alexander
1c1c072a0f Minor design/functionality changes in "About" window
- Removed app logo;
-  Able to get (copied to clipboard) debug info by clicking to app version text;
- Left only the main information about the app;
2019-11-20 13:49:47 +02:00
Alexander
52c9adc044 Fixed bug with file name when creating the new file 2019-11-19 16:08:12 +02:00
Alexander
0582e34e1b Dialog window "Delete file" now placed in the center of the parent window 2019-11-19 16:05:29 +02:00
Alexander
b20d2c71d9 Code formatting 2019-11-19 15:57:30 +02:00
Alexander
0a50567b05 dev 2019-11-19 15:57:15 +02:00
Alexander
7111741633 Minor functionality improvements in "Password generator" window
- Added icon to the title bar;
- Saving password parameters after window closing;
- Button "Generate" disabling when the password length is less than 8 or more than 128 or when all checkboxes are unchecked;
2019-11-19 15:55:05 +02:00
Alexander
9776aaf3e9 RichTextBox updated to RICHEDIT50W 2019-11-19 15:44:18 +02:00
Alexander
e14f35b51e Added title icon to the "Change key" window 2019-11-19 15:42:49 +02:00
Alexander
e27e453ecd Fody updated to v6.0.5 2019-11-19 15:41:28 +02:00
Alexander
c29a623926 Downgrade to .NET Framework v4.6.1 2019-11-19 15:38:18 +02:00
Alexander
31971a3fd6
Update README.md 2019-11-13 15:20:48 +02:00
Alexander
04eadc4537 Update v1.6.3 2019-11-11 21:23:19 +02:00
Alexander
852fbcb5cf Updated credentials in "About" window 2019-11-11 21:13:02 +02:00
Alexander
8742f7fcad Fixed bug when file doesn't save when clicking "Save As" 2019-11-11 21:01:07 +02:00
Alexander
336c6c1a25 Added "Unnamed.cnp - Crypto Notepad" to title bar, when typing text in editor with no opened file 2019-11-11 21:00:29 +02:00
Alexander
d11d04db1f Removed unused code 2019-11-11 20:55:52 +02:00
Alexander
2e867ce35d Removed unused code 2019-11-11 20:54:35 +02:00
Alexander
84cebf9a1b Fixed "Enter Key" window blinking in upper left corner of the screen 2019-11-11 20:54:17 +02:00
Alexander
5b0bd204df Fixed "Password Generator" window blinking in upper left corner of the screen 2019-11-11 20:54:03 +02:00
Alexander
9316ab343a Removed unused code 2019-11-11 19:42:36 +02:00
Alexander
0a52852435 Fixed bug when did not appear save dialog on app close #46 2019-11-11 19:42:18 +02:00
Alexander
1ad5ddbb4e Removed unused code 2019-11-11 19:25:59 +02:00
Alexander
3d012ea475 Fixed #46 2019-11-11 19:25:39 +02:00
Alexander
9fde277705 Fixed #45 2019-11-11 19:24:19 +02:00
Alexander
598006d735 Added helper class 2019-11-11 19:21:58 +02:00
Alexander
7c367028ff Added Costura.Fody for embedding references as resources 2019-11-11 19:21:34 +02:00
Alexander
53b1df8113 Resolved #42 2019-11-11 19:19:29 +02:00
Alexander
9644a52007 Update v1.6.2 2019-11-10 10:44:34 +02:00
Alexander
3a8ef2a511 Update 1.6.2 2019-11-10 10:40:08 +02:00
Alexander
1917d137e5 Update 1.6.2 2019-11-10 10:39:03 +02:00
Alexander
31fd912910 Added hint to "Encryption" settings tab 2019-11-10 10:38:30 +02:00
Alexander
16a07484b9 Source code was simplified 2019-11-09 21:36:51 +02:00
Alexander
659f2c4184 Fixed bug with wrong text position in title bar while "Save As" file 2019-11-09 21:36:11 +02:00
Alexander
5030aa9274 Added message with recommendations to "Encryption" settings tab. 2019-11-09 21:33:35 +02:00
Alexander
182a247aa3 Fixed bug with wrong message in status panel when new version is available 2019-11-09 20:20:59 +02:00
Alexander
b0d3dd8ec0 Update dialog window now is centered parent 2019-11-09 20:19:19 +02:00
Alexander
4fc4f4247d Update 1.6.1 2019-11-09 20:09:43 +02:00
Alexander
f5b02da294 Update 1.6.1 2019-11-09 20:09:12 +02:00
Alexander
d4438625dd Update 1.6.1 2019-11-09 20:07:41 +02:00
Alexander
b808026465 Fixed performance issues on large values of Password iterations when "Save As" #43 2019-11-09 19:55:53 +02:00
Alexander
dfe7e152f6 Merge remote-tracking branch 'origin/master' 2019-11-08 07:53:27 +02:00
Alexander
202486eedf Fixed bug when file size and modified date does not calculated 2019-11-08 07:52:21 +02:00
Alexander
5bd9597eec Fixed bub when file size and modified date does not calculated 2019-11-07 21:13:04 +02:00
Alexander
a88da63bdf Merge branch 'master' of https://github.com/Crypto-Notepad/Crypto-Notepad 2019-11-07 20:23:12 +02:00
Alexander
8708bf007f Able to change visibility of all labels in status panel (except Ready label) 2019-11-07 20:23:05 +02:00
Alexander
fe26894aff Update MainForm.Designer.cs 2019-11-07 20:15:53 +02:00
Alexander
9c2b77755e Formatting code 2019-11-07 20:15:41 +02:00
Alexander
8b8cb8789d Fixed typo 2019-11-07 20:14:24 +02:00
Alexander
90dbc12f3d Swapped the app name and the file name in the window title 2019-11-07 20:13:57 +02:00
Alexander
b8b3cccc13 Fixed bug with file saving on app closing 2019-11-07 20:11:25 +02:00
Alexander
349dfbb853 Fixed bug with invisible "Save file?" dialog window 2019-11-07 20:10:55 +02:00
Alexander
efefad0c02 Added check for empty file path 2019-11-07 20:08:39 +02:00
Alexander
a208e5202c Added line breaks for better readability 2019-11-07 20:07:52 +02:00
Alexander
feb0dcb16a Swapped the app name and the file name in the window title 2019-11-07 20:05:30 +02:00
Alexander
a99140412a
Update README.md 2019-11-07 09:05:24 +02:00
Alexander
a96284a0ab
Update README.md 2019-11-06 13:55:40 +02:00
Alexander
8db3dbd89d Update 1.6.0 2019-11-06 12:35:47 +02:00
Alexander
702fa3aee6 Merge remote-tracking branch 'origin/master' 2019-11-06 12:09:14 +02:00
Alexander
2483270acd Disabled "modified" tooltip when file is locked 2019-11-06 12:08:40 +02:00
Alexander
5412d089cd Disabled "modified" tooltip when file is locked 2019-11-06 11:05:18 +02:00
Alexander
fa5fefbd3f Fixed performance issue on large values of "Password iterations"
When user try to open files with large values of "Password iterations", the interface does not freeze, but it becomes unclickable. When saving files, there will be the same effect.
2019-11-06 11:04:35 +02:00
Alexander
db1334d437 Fixed bug with incorrect settings file path 2019-11-06 00:51:18 +02:00
Alexander
dea6afad84 Added indicator (*) in main window title while text is modified 2019-11-05 22:54:16 +02:00
Alexander
b5b49ec535 Removed unused code 2019-11-05 22:41:57 +02:00
Alexander
04117e65c7 Resolved #40
Encrypt/decrypt all file formats
2019-11-05 22:30:49 +02:00
Alexander
a6d1e8caf2 Changed default "Enter Key" window postion 2019-11-05 22:12:55 +02:00
Alexander
30a4c3f9b5 Resolved #41
Save file and close it, without closing the app
2019-11-05 22:00:38 +02:00
Alexander
cf9953e9f5 Center additional windows depending on the visibility of the main window 2019-11-05 21:23:13 +02:00
Alexander
d4c8a01f71 Fixed bug with incorrect text in "modified" label 2019-11-03 20:31:06 +02:00
Alexander
d20b72f1eb Merge branch 'master' of https://github.com/Sigmanor/Crypto-Notepad 2019-10-31 21:51:03 +02:00
Alexander
9d9fb45b33 Resolved #39 2019-10-31 21:50:51 +02:00
Alexander
274a1df261
Update README.md 2019-10-29 21:29:28 +02:00
Alexander
f582da98c7 SizeSuffix method was moved to own section 2019-10-29 20:41:13 +02:00
Alexander
382164d73f Variable was simplified 2019-10-29 20:37:52 +02:00
Alexander
0fb911be5e Changed control names 2019-10-29 20:28:15 +02:00
Alexander
f04560890a Merge branch 'master' of https://github.com/Sigmanor/Crypto-Notepad 2019-10-28 20:33:32 +02:00
Alexander
6c4a4ed11b Fixed app crashes when PC is locked 2019-10-28 20:33:14 +02:00
Alexander
f98b4bb732 Added new TextBox control with placeholder, instead of realization via labels 2019-10-28 20:32:13 +02:00
Alexander
41bc4a75cd Code review
- Events was moved to own sections
- Removed line breaks
- Added #region instead of comments
2019-10-28 20:29:17 +02:00
Alexander
5a710116db Fixed bug when font settings not saved 2019-10-28 20:25:22 +02:00
Alexander
722e8872b3 Removed line numbers settings 2019-10-28 20:19:43 +02:00
Alexander
cb1fa516c4 Third-party developments list edited 2019-10-28 20:18:42 +02:00
Alexander
ca1db5a7a3 Removed line numbers 2019-10-26 00:23:36 +03:00
Alexander
b4c169db79 Aded statusPanelTimer 2019-10-26 00:12:58 +03:00
Alexander
e130e5d90f Fixed bug with password corrupt while creating new file 2019-10-26 00:12:19 +03:00
Alexander
a2a7d0db68 Improved status panel
- Removed Col and Ln.
- Added file size and modified date.
- Improved status panel performance.
2019-10-26 00:11:24 +03:00
Alexander
4f70033b41 Renamed LockFile method 2019-10-26 00:04:05 +03:00
Alexander
055dc97c26 Removed unused code 2019-10-26 00:03:05 +03:00
Alexander
cc7a7ac915
Update FUNDING.yml 2019-10-24 12:51:54 +03:00
Alexander
9de470dfa7 Fixed bug when the status panel did not work 2019-10-21 15:20:40 +03:00
Alexander
2af83d4b1d Changed show tray icon 2019-10-21 14:32:55 +03:00
Alexander
4a3fecdc1a Minor design changes 2019-10-21 14:27:02 +03:00
Alexander
305410e5f8 StatusPanel now does not work when disabled in settings 2019-10-21 14:26:40 +03:00
Alexander
6d0518dc0c LineNumbers now does not work when disabled in settings 2019-10-21 14:26:22 +03:00
Alexander
569e05dbf2 Single instance warning message now always on top of the main app window when "always on top" is enabled 2019-10-20 23:21:07 +03:00
Alexander
b475ba9931 Re-arrangement of the Settings navigation 2019-10-20 23:05:43 +03:00
Alexander
7907f3bd9c Resolved #37 2019-10-20 22:59:52 +03:00
Alexander
83e63fa8d4 Update MainForm.Designer.cs 2019-10-20 22:53:31 +03:00
Alexander
78158921c3 Fixed wrong size of line numbers on startup 2019-10-20 22:53:19 +03:00
Alexander
8153899427 Resolved #38 2019-10-20 21:29:53 +03:00
Alexander
0a903a0589 Returned wrongly disabled line numbers 2019-10-20 21:29:34 +03:00
Alexander
57a4535316 Minor design changes 2019-10-20 21:08:27 +03:00
Alexander
3de595c5e5 Update MainForm.cs 2019-10-20 21:08:08 +03:00
Alexander
d3429e6843 Disabled ability to copy text when double clicking on some labels 2019-10-18 17:30:36 +03:00
Alexander
7d724959af Was removed illogical code from the search function 2019-10-18 13:40:01 +03:00
Alexander
2f28645c46 Changed event type for "Find Next" button 2019-10-18 13:37:33 +03:00
Alexander
5b51fd26c8 Changed location of "File locked" label 2019-10-18 13:36:25 +03:00
Alexander
14a1cf0715 Changed toolbar close button size and location 2019-10-18 13:35:42 +03:00
Alexander
06cec353de Renamed ToolbarIcons method 2019-10-18 13:34:14 +03:00
Alexander
7904800f60 Changed default values for editorBorder and searchPanelBorder parameters 2019-10-18 13:33:30 +03:00
Alexander
9715c5a12f Added ability to hide toolbar close button 2019-10-18 00:37:08 +03:00
Alexander
cf2de9bc0e Added search panel border setting 2019-10-18 00:27:17 +03:00
Alexander
89e1e69f1a The close button on the search panel now has the same color as other elements on the panel 2019-10-18 00:11:47 +03:00
Alexander
5ed5f9cae0 Changed buttons style in search panel 2019-10-18 00:00:03 +03:00
Alexander
69c08e7c42 Removed X icons 2019-10-17 23:59:23 +03:00
Alexander
c6d71572dc Closing search panel when file locked 2019-10-17 23:57:57 +03:00
Alexander
551c554731 The Find Next button from search panel was returned to its standard view 2019-10-16 22:26:22 +03:00
Alexander
03cf2d0f13 Sorted TabIndex values of controls 2019-10-16 22:25:04 +03:00
Alexander
0852c57619 Added setting to display border around the editor 2019-10-15 21:00:19 +03:00
Alexander
c7240f5849 Fixed bug when the file save window did not close 2019-10-15 20:22:53 +03:00
Alexander
a7bda6495c Changed the name of the variable. 2019-10-15 20:21:28 +03:00
Alexander
ef7cb366ce Removed "Debug" from the main menu (Available on Ctrl+Space shortcut) 2019-10-15 20:20:36 +03:00
Alexander
2548674b26 The position of some variables has been changed to avoid some bugs 2019-10-15 20:19:06 +03:00
Alexander
c14f525569 Now when click "Cancel" in the "Enter Key" window, app will close. 2019-10-15 20:18:04 +03:00
Alexander
6606caf589 When auto lock on minimize, editor text was visible in windows taskbar 2019-10-15 20:13:07 +03:00
Alexander
bea1925438 Removed unused code 2019-10-15 20:06:37 +03:00
Alexander
5ac59a1b35 Removed unused code 2019-10-15 20:06:25 +03:00
Alexander
e43afdb85c Status message now empty, not invisible 2019-10-15 20:05:38 +03:00
Alexander
620aae8459 Changed error sounds while changing the encryption key 2019-10-15 20:02:10 +03:00
Alexander
71dad53ea5 Changed timeout for "Key was successfully changed" message 2019-10-15 19:54:55 +03:00
Alexander
9c44976c44 Changed check for empty variables 2019-10-15 19:48:17 +03:00
Alexander
adaf4b7f3b Disabled system sounds in text fields 2019-10-15 19:13:08 +03:00
Alexander
c280500615 Code formatting 2019-10-15 19:09:51 +03:00
Alexander
35949efb8c Renamed some controls 2019-10-13 15:55:13 +03:00
Alexander
bb8a62c06d Disabling shortcut keys while file locked 2019-10-13 15:25:32 +03:00
Alexander
62d4f3d54a Renamed FileMainMenu_DropDownOpened 2019-10-13 15:24:47 +03:00
Alexander
b1cc915d83 Added placeholder for file locked enter key textbox 2019-10-13 15:08:51 +03:00
Alexander
f7ec7824d8 Changed file locked button size 2019-10-13 15:08:11 +03:00
Alexander
4cdb97be4c Reworked close/auto save functions 2019-10-13 14:59:01 +03:00
Alexander
c0c806560d Added owner to all message boxes 2019-10-13 14:57:47 +03:00
Alexander
c2b722cd30 Added placeholders for textboxes 2019-10-13 14:55:20 +03:00
Alexander
9386f6844a Changed some names 2019-10-13 14:54:45 +03:00
Alexander
f089a07a28 Added new icons 2019-10-13 14:49:43 +03:00
Alexander
d08552c7cc Added testers info 2019-10-13 14:48:56 +03:00
Alexander
483c08440e Moving to "Hungarian Notation Naming" 2019-10-11 13:39:15 +03:00
Alexander
0f28dde953 Reworked "Auto lock on minimize" function 2019-10-11 13:38:15 +03:00
Alexander
e8e2167c3d Resolved #35 2019-10-11 13:37:05 +03:00
Alexander
5ffbe004bf Resolved #36 2019-10-11 13:31:24 +03:00
Alexander
773943f826 Auto generated code 2019-10-04 23:03:50 +03:00
Alexander
d5499ae724 Removed unused code 2019-10-04 23:02:12 +03:00
Alexander
e37bdf9d13 Auto generated code 2019-10-04 22:00:37 +03:00
Alexander
718968fdf5 Сode simplification 2019-10-04 21:48:55 +03:00
Alexander
cdd4b05590 Changed statusPanel.TrayLocation 2019-10-04 21:47:57 +03:00
Alexander
8593e6252d More style settings for line numbers 2019-10-04 21:46:10 +03:00
Alexander
64fb168672 Added icons copyright 2019-10-04 21:44:59 +03:00
Alexander
2c629b44a2 Moved properties from designer 2019-10-04 21:44:30 +03:00
Alexander
4df471f076 Renamed some properties 2019-10-04 21:41:34 +03:00
Alexander
7281d0bae4 Update method improved 2019-10-02 19:35:34 +03:00
Alexander
acaab489a2 Search panel design changes 2019-10-02 19:34:44 +03:00
Alexander
01a82963bd Resolved #34 2019-10-02 19:33:26 +03:00
Alexander
0af9db20f3 Resolved #34 2019-10-02 19:24:52 +03:00
Alexander
0102a3efb9 Resolving class naming inconsistencies 2019-09-28 22:57:03 +03:00
Alexander
d7279c111b Renamed settings 2019-09-28 22:56:25 +03:00
Alexander
157b148e85 Autosave on lock 2019-09-28 22:55:21 +03:00
Alexander
3b9b930667 Improved text search 2019-09-28 22:54:34 +03:00
Alexander
353951cad7 Renamed linenum_rtf.cs 2019-09-28 22:47:52 +03:00
Alexander
7c33fb4372 Debug variables update 2019-09-28 22:45:20 +03:00
Alexander
505a7caff4 Removed unused variables 2019-09-28 22:44:14 +03:00
Alexander
e0d55d657e .net framework update 2019-09-28 22:43:17 +03:00
Alexander
4845d52a35 Visual Studio update 2019-09-28 22:40:25 +03:00
Alexander
301348cce3 Merge remote-tracking branch 'origin/master' 2019-09-28 22:38:13 +03:00
Alexander
3b713780dd Added #31 2019-09-28 22:37:04 +03:00
Alexander
c064e95c39 Added #30 2019-09-28 22:29:24 +03:00
Alexander
e43b503b69 Added #33 2019-09-28 22:27:05 +03:00
Alexander
5f433088ff Added #29 2019-09-28 22:25:03 +03:00
Alexander
c7992b0410 Added #32 2019-09-28 22:23:52 +03:00
Alexander
86656d85ca Fixed #28 2019-09-28 22:14:24 +03:00
Alexander
7f71249c4e Update 1.6.0 2019-09-28 22:05:10 +03:00
Alexander
962300e62a
Update README.md 2019-09-08 01:14:24 +03:00
Alexander
028758b3cf
Update README.md 2019-09-08 01:13:10 +03:00
Alexander
c345c33714
Update README.md 2019-08-31 15:45:54 +03:00
Alexander
0284dff95a Update 1.5.1 2019-08-30 13:15:09 +03:00
Alexander
7d32a2f1ef Minor design changes 2019-08-30 13:12:17 +03:00
Alexander
c9d5297658 Update 1.5.1 2019-08-30 13:11:52 +03:00
Alexander
0df8dba2cb Added notification in window title bar when file saved 2019-08-30 13:07:26 +03:00
Alexander
300fadf616 Fixed #27 2019-08-30 13:05:29 +03:00
Alexander
1a7eeb1bc7 Fixed #26 2019-08-30 12:21:55 +03:00
Alexander
682e1d5fa7 Minor design changes 2019-08-30 12:20:43 +03:00
Alexander
9007910739 Update 1.5.0 2019-08-28 13:16:10 +03:00
Alexander
69854dc467 Revert "Update 1.5.0"
This reverts commit 9014059f3e.
2019-08-28 13:14:05 +03:00
Alexander
3cfd869db6 Update 1.5.0 2019-08-28 13:09:18 +03:00
Alexander
3002536f37 Merge remote-tracking branch 'origin/master' 2019-08-28 13:08:56 +03:00
Alexander
9014059f3e Update 1.5.0 2019-08-28 13:07:39 +03:00
Alexander
64f44049fc
Update README.md 2019-08-28 13:03:24 +03:00
Alexander
9d557d51f7 Fixed glitch with line numbers after save setting 2019-08-28 12:17:48 +03:00
Alexander
00a07da934 Minor design changes 2019-08-28 12:04:05 +03:00
Alexander
5d69c697e2 Removed unused code 2019-08-28 12:03:37 +03:00
Alexander
9dd75fa5c2 Minor design changes 2019-08-28 12:03:26 +03:00
Alexander
16b43e5d87 Fixed numbers position 2019-08-28 12:03:13 +03:00
Alexander
e66b4bc2c3 Fixed glitch with line numbers width 2019-08-27 11:35:02 +03:00
Alexander
f48eb3c7cf Removed debug strings 2019-08-27 10:07:32 +03:00
Alexander
c397b4fd02 Disabled zooming in the editor 2019-08-27 10:04:44 +03:00
Alexander
a3f4d4b06d Fixed glitch with "line numbers" panel 2019-08-23 23:46:11 +03:00
Alexander
7ffdf8a0a6 Minor design changes in search panel 2019-08-23 21:41:21 +03:00
Alexander
8d9c275eb7 Removed unused code 2019-08-23 21:40:31 +03:00
Alexander
12101a382c Fixed bug with incorrect file name 2019-08-22 22:31:10 +03:00
Alexander
8fb1438b36 Custom "RichTextBox" replaced to common "RichTextBox" 2019-08-22 22:30:34 +03:00
Alexander
d9271d947b Custom "RichTextBox" replaced to common "RichTextBox" 2019-08-22 20:55:56 +03:00
Alexander
739c3e049e Enabled "AutoCompleteMode" for "Font name" and "Font size" combobox 2019-08-22 20:51:14 +03:00
Alexander
8fa907b23f Version increase 2019-08-22 20:06:28 +03:00
Alexander
96be69dd77 Improved search text functionality 2019-08-22 20:05:18 +03:00
Alexander
54334b53f8 Removed search highlight color settings 2019-08-22 20:02:43 +03:00
Alexander
e095e9acd8 Minor design changes 2019-08-21 23:45:15 +03:00
Alexander
1fe20ae7d2 Fixed glitch with line numbers 2019-08-21 16:21:00 +03:00
Alexander
439e8c166f Fixed bug when some icons on toolbar was inactive 2019-08-21 16:19:55 +03:00
Alexander
905dc5ba0b Fixed bug when the password entry window was opened twice 2019-08-21 16:19:10 +03:00
Alexander
372d614f7a Fixed glitch with line numbers 2019-08-21 16:18:14 +03:00
Alexander
9a14601f66 Fixed glitch with line numbers 2019-08-21 15:33:42 +03:00
Alexander
57b244ae95 Removed unused control 2019-08-21 15:17:48 +03:00
Alexander
1b37bd790b Renamed colorDialog 2019-08-21 15:17:18 +03:00
Alexander
d956c3dd3b Resolved #24 2019-08-21 14:15:16 +03:00
Alexander
562387d148 Enabled TAB indent 2019-08-21 12:33:38 +03:00
Alexander
bbd488875f Resolved #23 2019-08-21 12:23:51 +03:00
Alexander
bb6b681ecb Migrating to "Visual Studio Community 2019" 2019-08-21 12:20:13 +03:00
Alexander
e0184d76db Resolved #25 2019-08-21 12:09:05 +03:00
Alexander
9bdec6b7ca Minor design changes 2019-08-20 11:17:02 +03:00
Alexander
5e68ef592f Fixed #22 2019-08-20 00:09:52 +03:00
Alexander
7268898afb Removed unused code 2019-08-20 00:07:28 +03:00
Alexander
609d8107a7 Renamed "SelectionChanged" event // added new string to "Debug" 2019-08-19 22:46:14 +03:00
Alexander
1e9f292f05 Merge remote-tracking branch 'origin/master' 2019-08-19 22:35:35 +03:00
Alexander
bedb8aa611 Added #19 2019-08-19 22:35:20 +03:00
Alexander
1b17abf1d3
Update README.md 2019-08-03 11:42:24 +03:00
Alexander
49f8ed2f36
Update README.md 2019-06-29 12:39:08 +03:00
Alexander
2fbde8e70e
Update FUNDING.yml 2019-06-23 14:34:25 +03:00
Alexander
04bcad5d57
Update FUNDING.yml 2019-06-23 14:22:58 +03:00
Alexander
f60ba579c4
Create FUNDING.yml 2019-06-23 13:43:03 +03:00
Alexander
8754c1397c
Update README.md 2019-01-09 01:28:19 +02:00
Alexander
4186cfd11f
Update README.md 2019-01-09 01:27:32 +02:00
Alexander
1ead8352ec
Update README.md 2019-01-08 13:49:42 +02:00
Alexander
bba3a44d68 Update 1.4.0 2019-01-08 11:35:58 +02:00
Alexander
0b36ff8fab Update 1.4.0 2019-01-08 11:32:47 +02:00
Alexander
163879e051 Update SettingsForm.cs 2019-01-08 11:32:29 +02:00
Alexander
2db0ecf2c7 On "Save As" file name was incorrect or empty. 2019-01-07 12:32:23 +02:00
Alexander
b4a1c75ddf Merge branch 'master' of https://github.com/Sigmanor/Crypto-Notepad 2019-01-07 12:09:55 +02:00
Alexander
a71d7d20e4 Simplified variables that stored the name of an open file 2019-01-07 12:09:52 +02:00
Alexander
e59ca61c59 Update debug menu 2019-01-07 12:09:14 +02:00
Alexander
05e7a8e01e App name now stored in variable 2019-01-07 12:08:47 +02:00
Alexander
a091168c41 Added the ability to close the "About" window by the "esc" button 2019-01-07 12:04:49 +02:00
Alexander
c51960a488 simplified this 2019-01-07 12:03:58 +02:00
Alexander
cacd39e930 Settings button on toolbar was moved 2019-01-07 12:03:30 +02:00
Alexander
1a5e81a778
Update README.md 2019-01-06 01:41:53 +02:00
Alexander
a50ed38a5b
Update README.md 2019-01-06 01:40:40 +02:00
Alexander
1d22e34794
Update README.md 2019-01-06 01:27:33 +02:00
Alexander
bb1051a776
Update README.md 2019-01-06 01:05:15 +02:00
Alexander
abad9fc422 Fixed not working "auto save on lock" when you click on the "Lock" toolbar button 2019-01-04 14:17:03 +02:00
Alexander
c5c914e849 Changed name of "Lock" tollbar button 2019-01-04 14:14:12 +02:00
Alexander
f3ee1151b6 Minor design changes 2019-01-04 13:48:39 +02:00
Alexander
0277d2b9d9 Update SettingsForm.cs 2019-01-04 13:48:24 +02:00
Alexander
30aec3fa0f Added DotNetZip library credentials 2019-01-04 13:48:15 +02:00
Alexander
f82a58207a Update Crypto Notepad.csproj 2019-01-04 13:16:51 +02:00
Alexander
a6216e00ad Update Updater.exe 2019-01-04 13:16:46 +02:00
Alexander
c0e3f7ecf4 Update MainForm.cs 2019-01-04 13:16:40 +02:00
Alexander
0fbd631836 Merge branch 'master' of https://github.com/Sigmanor/Crypto-Notepad 2019-01-04 13:15:12 +02:00
Alexander
23811c481a Returned missing backward compatibility for decryption 2019-01-04 13:15:06 +02:00
Alexander
34223992a7
Update README.md 2019-01-03 10:32:49 +02:00
Alexander
e52acce5de
Update README.md 2019-01-02 21:37:28 +02:00
Alexander
d3a0bc848a
Update README.md 2019-01-02 21:36:32 +02:00
Alexander
07b2c7701d
Update README.md 2019-01-02 21:21:29 +02:00
Alexander
485d5512c5 Edited github links 2019-01-02 21:10:41 +02:00
Alexander
c990fc2da7 Merge branch 'master' of https://github.com/Sigmanor/Crypto-Notepad 2019-01-02 21:08:50 +02:00
Alexander
0a37093957 Updater was moved to own repo 2019-01-02 21:08:44 +02:00
Alexander
af12620b05
Update README.md 2019-01-02 14:53:32 +02:00
Alexander
21dd573413
Update LICENSE 2019-01-02 14:25:39 +02:00
Alexander
28273f9987 Minor design changes 2018-12-30 12:57:16 +02:00
Alexander
e20f19539b Merge branch 'master' of https://github.com/Sigmanor/Crypto-Notepad 2018-12-29 18:26:56 +02:00
Alexander
0320a7c9fd Added new settings 2018-12-29 18:26:51 +02:00
Alexander
5f6cb9552c Added new settings
Added icons to the main menu
Able to make toolbar color like editor background color
2018-12-29 18:25:52 +02:00
Alexander
a6a24f8e0f Added new settings 2018-12-29 18:24:45 +02:00
Alexander
bcac10f4dd Minor design changes 2018-12-29 18:24:17 +02:00
Alexander
ffc5927d60 Minor design changes 2018-12-29 18:23:49 +02:00
Alexander
fd8476b8bf Changed all icons 2018-12-29 18:23:10 +02:00
Alexander
290d35b0d4
Update README.md 2018-12-29 17:03:27 +02:00
Alexander
da17796db5
Update README.md 2018-12-29 00:49:12 +02:00
Alexander
755cc48242 Added if DEBUG directive for MainVariablesToolStripMenuItem 2018-12-28 13:11:02 +02:00
Alexander
e2ffd39c3f Merge branch 'master' of https://github.com/Sigmanor/Crypto-Notepad 2018-12-28 12:58:30 +02:00
Alexander
82f6514d4b Removed unused code 2018-12-28 12:58:22 +02:00
Alexander
3a72117202 Added Dispose method 2018-12-28 12:58:07 +02:00
Alexander
c257ef5a6e Simplified some names 2018-12-28 12:57:35 +02:00
Alexander
37d53a8288
Update README.md 2018-12-27 11:50:02 +02:00
Alexander
947aba84ee Merge branch 'master' of https://github.com/Sigmanor/Crypto-Notepad 2018-12-27 00:31:07 +02:00
Alexander
1eac6001ab Added check for null when removing registry keys 2018-12-27 00:31:01 +02:00
Alexander
898427b26a Update MainForm.resx 2018-12-27 00:30:07 +02:00
Alexander
9eeb49b1c6 Renamed debug menu item 2018-12-27 00:29:37 +02:00
Alexander
3941333f9f Debug info now writing to the output in Visual Studio 2018-12-27 00:29:00 +02:00
Alexander
8a8a3fbf96 Removed unused code 2018-12-27 00:28:00 +02:00
Alexander
9df3b259c0 Removed unused code 2018-12-27 00:27:30 +02:00
Alexander
c0eda70085 Version update 2018-12-27 00:26:50 +02:00
Alexander
f0c230ad4f Readme update 2018-12-26 15:06:16 +02:00
Alexander
2141e29593 EnterKeyForm code now is more readable
1) Сode has been divided into blocks and commented.
2) Almost all names now starts from an uppercase.
2018-12-25 17:55:56 +02:00
Alexander
1febb7e3fa ChangeKeyForm code now is more readable
1) Сode has been divided into blocks and commented.
2) Almost all names now starts from an uppercase.
2018-12-25 17:55:15 +02:00
Alexander
5220065ff0 AboutFrom code now is more readable
1) Сode has been divided into blocks and commented.
2) Almost all names now starts from an uppercase.
2018-12-25 17:49:29 +02:00
Alexander
5443de5378 SettingsForm code now is more readable
1) Сode has been divided into blocks and commented.
2) Almost all names now starts from an uppercase.
2018-12-25 17:36:17 +02:00
Alexander
f63b3c1e05 MainForm code now is more readable
1) Сode has been divided into blocks and commented.
2) Almost all names now starts from an uppercase.
3) Added debug menu.
2018-12-25 17:29:29 +02:00
Alexander
005a3bf1fc Fixed #18 2018-12-25 17:22:59 +02:00
Alexander
62492e1ec8 Fixed #17 2018-12-25 17:15:29 +02:00
Alexander
62f60f1149 Update 1.3.0 2018-12-20 01:25:21 +02:00
Alexander
256f158ce9 Removed testing code 2018-12-20 01:16:32 +02:00
Alexander
e5d40cbd19 Added shortcuts 2018-12-20 01:10:40 +02:00
Alexander
ac322b1e47 Minor button location changes 2018-12-20 01:07:35 +02:00
Alexander
a909f6925a Removed unused code 2018-12-20 01:06:35 +02:00
Alexander
f3ddd249b4 testing 2018-12-20 00:59:21 +02:00
Alexander
92f4fec08e Merge branch 'dev' of https://github.com/Sigmanor/Crypto-Notepad into dev 2018-12-20 00:57:07 +02:00
Alexander
f9237684f9 testing 2018-12-20 00:56:59 +02:00
Alexander
268499286e
Merge pull request #15 from h5p9sl/master
Fixed RNG generating null-bytes in metadata; causing read errors.
2018-12-20 00:53:59 +02:00
h5p9sl
ca4ac3e5ce Fixed RNG generating null-bytes in metadata; causing read errors. 2018-12-19 02:33:31 -07:00
Alexander
92b7d5fede Checking if "shell" section is missing 2018-12-17 16:42:08 +02:00
Alexander
e27c9e0d99 Left only 2 items in context menu 2018-12-17 15:58:37 +02:00
Alexander
6fb1bf3813 Removed debug code 2018-12-17 15:57:22 +02:00
Alexander
1732efbc06 Fixed bug when the app did not close 2018-12-17 15:03:08 +02:00
Alexander
ad6b903caa Registry entry for new function 2018-12-17 14:58:07 +02:00
Alexander
92933ebc34 Version update 2018-12-17 13:20:55 +02:00
Alexander
789642ff83 Renamed source files 2018-12-17 13:20:40 +02:00
Alexander
82e3623799 Added integrate with windows context menu settings 2018-12-17 13:20:23 +02:00
Alexander
cb46285315 Added integrate with windows context menu settings 2018-12-17 13:16:48 +02:00
Alexander
137203b6ff Renamed source files 2018-12-17 13:16:17 +02:00
Alexander
523254a9c3 Renamed source files 2018-12-17 13:14:38 +02:00
Alexander
582a5dcba0 Renamed source files 2018-12-17 13:13:42 +02:00
Alexander
27a40f08fa Code review 2018-12-17 13:04:26 +02:00
Alexander
5fab54873a Added integrate with windows context menu settings 2018-12-17 13:03:05 +02:00
Alexander
fffae6b37f Added integrate with windows context menu settings 2018-12-17 13:02:24 +02:00
Alexander
b545efaed4 Extended hash algorithm menu 2018-12-17 13:01:47 +02:00
Alexander
144d62784f Minor design changes 2018-12-17 13:00:31 +02:00
Alexander
eefc16d0f5 changed the logic of the "Associate with *.cnp files" function 2018-12-17 12:59:31 +02:00
Alexander
72dac3cfa3 Send To fixes 2018-12-17 12:55:00 +02:00
Alexander
251a1298bf Merge branch 'master' of https://github.com/Sigmanor/Crypto-Notepad 2018-12-17 12:52:44 +02:00
Alexander
c5b09db7a8 Fixed #13 2018-12-17 12:52:40 +02:00
Alexander
9cf232e8ec Readme update 2018-12-15 03:35:13 +02:00
Alexander
df53a93ad4 Encryption key now can't be empty 2018-12-13 13:31:05 +02:00
Alexander
6bba0f92e5 Update CONTRIBUTING.md 2018-12-13 01:04:02 +02:00
Alexander
5fd3694865 Update CONTRIBUTING.md 2018-12-13 00:54:06 +02:00
Alexander
b1788dd350 Merge branch 'master' of https://github.com/Sigmanor/Crypto-Notepad 2018-12-12 16:42:46 +02:00
Alexander
45e237f797 Minor design changes in "Change Key" window 2018-12-12 16:42:41 +02:00
Alexander
e7cc49b6f6
Update README.md 2018-12-12 01:20:13 +02:00
Alexander
bf3fd963ac
Update README.md 2018-12-12 01:05:50 +02:00
Alexander
d6b0de3b4d
Create CONTRIBUTING.md 2018-12-12 01:01:05 +02:00
Alexander
956e02c9b5
Create PULL_REQUEST_TEMPLATE.md 2018-12-11 23:24:05 +02:00
Alexander
3b41ce26cf
Create CODE_OF_CONDUCT.md 2018-12-11 15:17:01 +02:00
Alexander
7b5562c757 Fixed bug with empty filename field while saving/creating a file 2018-12-10 14:47:36 +02:00
Alexander
510547fd76 Changed logic of checking updates 2018-12-09 23:27:18 +02:00
Alexander
7483b6c7b2 Fixed empty file name 2018-12-09 22:47:56 +02:00
Alexander
839d4d9298 Added feature #11 2018-12-09 16:23:37 +02:00
Alexander
e442c1888c Added create shortcut function 2018-12-09 16:10:44 +02:00
Alexander
c45c52cca2 Cleanup code 2018-12-09 16:09:42 +02:00
Alexander
569ae5cbe1 Changed eye icon behavior 2018-12-09 16:08:07 +02:00
Alexander
685f915767 Added IWshRuntimeLibrary 2018-12-09 15:37:57 +02:00
Alexander
429ad8adbb
Update README.md 2018-12-09 00:39:31 +02:00
Alexander
ffb80576cc Updated documentation link 2018-12-08 16:58:46 +02:00
Alexander
80fb2b5f88 Updated documentation link 2018-12-08 16:57:55 +02:00
Alexander
02eb1a3199 Merge branch 'master' of https://github.com/Sigmanor/Crypto-Notepad 2018-12-08 12:54:16 +02:00
Alexander
273a62480a Update 1.2.0 2018-12-08 12:54:08 +02:00
Alexander
1717f4657e Year update 2018-12-08 04:10:46 +02:00
Alexander
d347ab5adf
Update README.md 2018-12-08 03:59:10 +02:00
Alexander
3168a9b3a9 Update README.md 2018-12-07 14:37:30 +02:00
Alexander
8e2a9db3a2 Edited documentation link 2018-12-07 14:21:56 +02:00
Alexander
db1114d3a7 Merge branch 'master' of https://github.com/Sigmanor/Crypto-Notepad 2018-12-07 14:03:27 +02:00
Alexander
1e56050a8d Fixed bug with editor background color 2018-12-07 14:03:22 +02:00
Alexander
8a5a7d4dae Update issue templates 2018-12-07 13:25:40 +02:00
Alexander
46d07e4b1b Update issue templates 2018-12-07 12:07:40 +02:00
Alexander
b2ef1aa6cc Update issue templates 2018-12-07 12:06:57 +02:00
Alexander
271a38f87c Readme update 2018-12-06 15:34:09 +02:00
Alexander
740cdcf385 Code cleaned up 2018-12-06 15:24:12 +02:00
Alexander
f878110bd6 "Auto-save on lock" now have default value 2018-12-06 15:17:03 +02:00
Alexander
5971cad074 Minor design changes 2018-12-06 15:16:01 +02:00
Alexander
0d0b0288ce Removed unused code 2018-12-06 15:15:33 +02:00
Alexander
0f0e17e670 "The Salt" is hidden now for new users
The salt now is randomized by default, no sense to show this option to new users.
2018-12-06 15:14:47 +02:00
Alexander
5f1aba25a2 Removed able to getting salt from mac 2018-12-06 15:07:51 +02:00
Alexander
8abeff4f2b Changed some default values 2018-12-06 15:02:12 +02:00
Alexander
88eaeff0f1 Revert "Changed some default values"
This reverts commit d2729f8276.
2018-12-06 15:01:36 +02:00
Alexander
d2729f8276 Changed some default values 2018-12-06 15:01:13 +02:00
Alexander
90bfeea503 Revert "Changed some default values"
This reverts commit c75b63dc7b.
2018-12-06 15:00:24 +02:00
Alexander
c75b63dc7b Changed some default values 2018-12-06 14:54:49 +02:00
Alexander
d988b1fc36 Fixed bug with auto-save on lock 2018-12-06 14:53:01 +02:00
Alexander
186410820e Update 1.2.0 2018-12-06 13:18:24 +02:00
Alexander
5f39342f0e Added information about contributors 2018-12-06 13:17:07 +02:00
Alexander
6fc9c125a8 Edited personal website link 2018-12-06 13:15:33 +02:00
Alexander
a3ba2a221d Removed unused code 2018-12-06 13:14:03 +02:00
Alexander
7ba9b6aca0
Merge pull request #10 from h5p9sl/master
Backwards compatibility & More security
2018-12-06 12:30:26 +02:00
h5p9sl
9841a0f16e Added AESMetadata.WriteMetadata() 2018-12-05 18:30:35 -07:00
h5p9sl
c155dc6d9c Cleaned up AESMetadata class code 2018-12-03 01:12:19 -07:00
h5p9sl
31b7313322 Fixed EncryptedString.Set( NULL ) error. 2018-11-30 20:11:41 -07:00
h5p9sl
7ddf8f812c Added option to randomize salts (by default). 2018-11-30 20:03:03 -07:00
h5p9sl
c9bd9f436d Added EncryptedString class to encrypt key in memory. 2018-11-30 19:29:19 -07:00
h5p9sl
834c91d5af Added backwards compatibility for file loading 2018-11-30 04:03:21 -07:00
h5p9sl
ee87e94da0 Use RijindaelManaged.GenerateIV method instead of manually generating random IV 2018-11-29 16:21:45 -07:00
Alexander
c471a19ba0 Update 1.1.3 2018-11-24 18:47:24 +02:00
Alexander
6f21bb09b3
Merge pull request #9 from h5p9sl/master
Added file metadata, and randomized initialization vectors.
2018-11-24 18:23:11 +02:00
h5p9sl
5de4fb5563 Added file metadata, and randomized initialization vectors. 2018-11-21 23:19:39 -07:00
Alexander
47d8d3bd7d Update 1.1.2 2018-02-17 14:52:14 +02:00
Alexander
ca13760d47 Version update 2018-02-17 14:51:36 +02:00
Alexander
e8db6fc29c Fixed #8 2018-02-17 14:48:03 +02:00
Alexander
fb660011aa Version update 2018-02-17 14:47:39 +02:00
Alexander
af65cc936a Minor fixes in AboutForm 2018-02-17 14:47:21 +02:00
Sigmanor
12b717ffa3 Edited link 2017-06-20 18:30:47 +03:00
Sigmanor
e898cf968d Added new site 2017-06-17 21:40:01 +03:00
Sigmanor
8abb97a48c Added partners section 2017-06-17 21:26:47 +03:00
Sigmanor
637e0d97b7 Added partners section 2017-06-17 21:25:04 +03:00
Sigmanor
4cce6cd230 Version update 2017-05-31 22:18:54 +03:00
Sigmanor
4432a5d3fd Update 1.1.1 2017-05-31 22:18:32 +03:00
Sigmanor
0ff70fe612 Fixed #6 2017-05-31 22:10:09 +03:00
Sigmanor
269afc798f Readme update 2017-05-25 20:11:44 +03:00
Sigmanor
f3183ccf56 Readme update 2017-05-25 19:49:34 +03:00
Sigmanor
276831d7b9 Added correct indentations in customRTB 2017-05-13 20:52:02 +03:00
Sigmanor
5bcaefc02b Fixed strange behavior with the cursor in customRTB after opening files 2017-05-13 20:46:48 +03:00
Sigmanor
3be815d60f Version update 2017-05-13 20:01:43 +03:00
Sigmanor
926864b03e Fixed bug with scrolling mouse wheel 2017-05-13 20:01:28 +03:00
Sigmanor
e3d1301414 fixed a typo 2017-02-26 12:25:12 +02:00
Sigmanor
ea72d986fa Year updated 2017-02-11 00:15:11 +02:00
Sigmanor
4e6b6c5e30 Version update 2017-02-10 23:30:42 +02:00
Sigmanor
4138dda88b Features update 2017-02-10 23:27:26 +02:00
Sigmanor
76474be973 Update 1.1.0 2017-02-10 23:27:12 +02:00
Sigmanor
d03522cc5c Fixed bug with file saving 2017-02-10 23:22:50 +02:00
Sigmanor
709ebd4ca9 Minor version update 2017-02-10 23:01:23 +02:00
Sigmanor
66af626e5e Rewritten save confirmation function 2017-02-09 23:42:08 +02:00
Sigmanor
14bdd8aab6 Added system requirements 2017-02-08 07:57:42 +02:00
Sigmanor
eaf50f7efd Some dirty hack 😳 2017-02-05 22:48:16 +02:00
Sigmanor
ac7706da33 Confirm save file when drag and drop 2017-02-05 22:47:31 +02:00
Sigmanor
302636701d Opening links by holding the shift key 2017-02-05 22:38:26 +02:00
Sigmanor
25545a8de7 Changed text selection behavior 2017-02-05 22:30:06 +02:00
Sigmanor
29a1767a41 Removed unused link 2017-02-05 22:29:40 +02:00
Sigmanor
d13214a563 Able auto save when locked 2017-02-05 22:25:58 +02:00
Sigmanor
f3ecd89f4c Added drag and drop support for txt and cnp files #2 2017-02-03 23:38:15 +02:00
Sigmanor
673b171646 Added detection of url and mailto links #3 2017-02-03 23:35:56 +02:00
Sigmanor
13cef469ac Version update 2017-02-03 23:32:50 +02:00
Sigmanor
afae9baf6d Readme update 2016-01-31 18:23:34 +02:00
85 changed files with 27639 additions and 6411 deletions

12
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1,12 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: #
ko_fi:
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay:
issuehunt: #
otechie: # Replace with a single Otechie username
custom: https://github.com/Crypto-Notepad/Crypto-Notepad/wiki/Support-the-project

31
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View file

@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: Sigmanor
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Software version (please complete the following information):**
- OS version [e.g. Windows 10]
- App version [e.g. v1.2.0]
**Additional context**
Add any other context about the problem here.

View file

@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[Feature request]"
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

76
CODE_OF_CONDUCT.md Normal file
View file

@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at dock-brunt-rarity@duck.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq

33
CONTRIBUTING.md Normal file
View file

@ -0,0 +1,33 @@
> First off, thanks for taking the time to contribute :relaxed:
Before starting, make sure that you visited the [projects](https://github.com/Crypto-Notepad/Crypto-Notepad/projects) and the opened/closed [issues](https://github.com/Sigmanor/Crypto-Notepad/issues) to be sure that your idea is not already planned or canceled. Checked out? Well then, let's start!
## How to contribute to Crypto Notepad
### Did you find any bug/have an idea how to improve the project?
* Send me a message: [`email`](mailto:dock-brunt-rarity@duck.com)
* Create an [issue](https://github.com/Sigmanor/Crypto-Notepad/issues/new/choose).
### You can help me fix some bug/implement a new feature?
* Create a pull request, using [this](https://github.com/Sigmanor/Crypto-Notepad/blob/master/PULL_REQUEST_TEMPLATE.md) template.
### Issue labels explanation
* You can find the full list in [here](https://github.com/Sigmanor/Crypto-Notepad/issues/labels).
### Naming conventions
The only rule: Do not use Hungarian notation or any other type identification in identifiers.
### Things that will never be in this project
* Installer. Crypto Notepad will be always portable.
* Significant design changes. Crypto Notepad looks exactly as I want to see it.
* Multiplatform. Crypto Notepad will be only for windows. Maybe sometime, but it will be as a completely new project.
* Making from a simple notepad - a big combine to encrypt anything with different encryption algorithms. Crypto Notepad will be a simple app to encrypt/decrypt text files with AES algorithms.
### Things you need to know about the source code (take courage)
* Sometimes code is very bad.
* Sometimes code is illogical.
* Mostly code is have no comments.
* That's why you are very brave, if you decide to learn source code. :flushed:
> If you can make the source code better. Your welcome!
## Anything else?
Any help will be useful. I'll be happy to any of your feedback or suggestions. Use your best judgment, and feel free to propose changes to Crypto Notepad. Thanks for attention. May the Force be with you young Contributor. :wink:

View file

@ -1,12 +1,10 @@
 
Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14 # Visual Studio 15
VisualStudioVersion = 14.0.24720.0 VisualStudioVersion = 15.0.28307.168
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Crypto Notepad", "Crypto Notepad\Crypto Notepad.csproj", "{06D6F36C-FAFA-4B88-BE04-3F73EB28C21E}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Crypto Notepad", "Crypto Notepad\Crypto Notepad.csproj", "{06D6F36C-FAFA-4B88-BE04-3F73EB28C21E}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Updater", "Updater\Updater.csproj", "{7B347593-6F3C-4308-BB94-51D35677C0C4}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
@ -17,12 +15,11 @@ Global
{06D6F36C-FAFA-4B88-BE04-3F73EB28C21E}.Debug|Any CPU.Build.0 = Debug|Any CPU {06D6F36C-FAFA-4B88-BE04-3F73EB28C21E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{06D6F36C-FAFA-4B88-BE04-3F73EB28C21E}.Release|Any CPU.ActiveCfg = Release|Any CPU {06D6F36C-FAFA-4B88-BE04-3F73EB28C21E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{06D6F36C-FAFA-4B88-BE04-3F73EB28C21E}.Release|Any CPU.Build.0 = Release|Any CPU {06D6F36C-FAFA-4B88-BE04-3F73EB28C21E}.Release|Any CPU.Build.0 = Release|Any CPU
{7B347593-6F3C-4308-BB94-51D35677C0C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7B347593-6F3C-4308-BB94-51D35677C0C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7B347593-6F3C-4308-BB94-51D35677C0C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7B347593-6F3C-4308-BB94-51D35677C0C4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {91E42AC9-FA32-4204-98F0-0C3A73C6436A}
EndGlobalSection
EndGlobal EndGlobal

View file

@ -1,93 +0,0 @@
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace Crypto_Notepad
{
class AES
{
public static string Encrypt(string plainText, string password,
string salt = "Kosher", string hashAlgorithm = "SHA1",
int passwordIterations = 2, string initialVector = "OFRna73m*aze01xY",
int keySize = 256)
{
if (string.IsNullOrEmpty(plainText))
return "";
byte[] initialVectorBytes = Encoding.ASCII.GetBytes(initialVector);
byte[] saltValueBytes = Encoding.ASCII.GetBytes(salt);
byte[] plainTextBytes = Encoding.UTF8.GetBytes(plainText);
PasswordDeriveBytes derivedPassword = new PasswordDeriveBytes
(password, saltValueBytes, hashAlgorithm, passwordIterations);
byte[] keyBytes = derivedPassword.GetBytes(keySize / 8);
RijndaelManaged symmetricKey = new RijndaelManaged();
symmetricKey.Mode = CipherMode.CBC;
byte[] cipherTextBytes = null;
using (ICryptoTransform encryptor = symmetricKey.CreateEncryptor
(keyBytes, initialVectorBytes))
{
using (MemoryStream memStream = new MemoryStream())
{
using (CryptoStream cryptoStream = new CryptoStream
(memStream, encryptor, CryptoStreamMode.Write))
{
cryptoStream.Write(plainTextBytes, 0, plainTextBytes.Length);
cryptoStream.FlushFinalBlock();
cipherTextBytes = memStream.ToArray();
memStream.Close();
cryptoStream.Close();
}
}
}
symmetricKey.Clear();
return Convert.ToBase64String(cipherTextBytes);
}
public static string Decrypt(string cipherText, string password,
string salt = "Kosher", string hashAlgorithm = "SHA1",
int passwordIterations = 2, string initialVector = "OFRna73m*aze01xY",
int keySize = 256)
{
if (string.IsNullOrEmpty(cipherText))
return "";
byte[] initialVectorBytes = Encoding.ASCII.GetBytes(initialVector);
byte[] saltValueBytes = Encoding.ASCII.GetBytes(salt);
byte[] cipherTextBytes = Convert.FromBase64String(cipherText);
PasswordDeriveBytes derivedPassword = new PasswordDeriveBytes
(password, saltValueBytes, hashAlgorithm, passwordIterations);
byte[] keyBytes = derivedPassword.GetBytes(keySize / 8);
RijndaelManaged symmetricKey = new RijndaelManaged();
symmetricKey.Mode = CipherMode.CBC;
byte[] plainTextBytes = new byte[cipherTextBytes.Length];
int byteCount = 0;
using (ICryptoTransform decryptor = symmetricKey.CreateDecryptor
(keyBytes, initialVectorBytes))
{
using (MemoryStream memStream = new MemoryStream(cipherTextBytes))
{
using (CryptoStream cryptoStream
= new CryptoStream(memStream, decryptor, CryptoStreamMode.Read))
{
byteCount = cryptoStream.Read(plainTextBytes, 0, plainTextBytes.Length);
memStream.Close();
cryptoStream.Close();
}
}
}
symmetricKey.Clear();
return Encoding.UTF8.GetString(plainTextBytes, 0, byteCount);
}
}
}

View file

@ -1,187 +0,0 @@
namespace Crypto_Notepad
{
partial class AboutFrom
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutFrom));
this.label1 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.customRichTextBox1 = new Crypto_Notepad.CustomRichTextBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Cursor = System.Windows.Forms.Cursors.Hand;
this.label1.Font = new System.Drawing.Font("Consolas", 14.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(5, 6);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(220, 22);
this.label1.TabIndex = 0;
this.label1.Text = "Crypto Notepad v1.0.0";
this.label1.Click += new System.EventHandler(this.label1_Click);
//
// pictureBox1
//
this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Default;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(228, 2);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(77, 68);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 1;
this.pictureBox1.TabStop = false;
//
// label2
//
this.label2.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label2.ForeColor = System.Drawing.Color.White;
this.label2.Location = new System.Drawing.Point(6, 33);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(215, 67);
this.label2.TabIndex = 2;
this.label2.Text = "This is an open-source app created by and distributed under\r\nThe source " +
"code, issues and documentation posted on";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Cursor = System.Windows.Forms.Cursors.Hand;
this.label3.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label3.ForeColor = System.Drawing.Color.White;
this.label3.Location = new System.Drawing.Point(207, 46);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(25, 13);
this.label3.TabIndex = 3;
this.label3.Text = "MIT";
this.label3.Click += new System.EventHandler(this.label3_Click);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label5.ForeColor = System.Drawing.Color.White;
this.label5.Location = new System.Drawing.Point(6, 98);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(182, 15);
this.label5.TabIndex = 4;
this.label5.Text = "Third-party developments:";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Cursor = System.Windows.Forms.Cursors.Hand;
this.label6.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label6.ForeColor = System.Drawing.Color.White;
this.label6.Location = new System.Drawing.Point(147, 72);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(43, 13);
this.label6.TabIndex = 5;
this.label6.Text = "GitHub";
this.label6.Click += new System.EventHandler(this.label6_Click);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Cursor = System.Windows.Forms.Cursors.Hand;
this.label4.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label4.ForeColor = System.Drawing.Color.White;
this.label4.Location = new System.Drawing.Point(24, 46);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(55, 13);
this.label4.TabIndex = 3;
this.label4.Text = "Sigmanor";
this.label4.Click += new System.EventHandler(this.label4_Click);
//
// customRichTextBox1
//
this.customRichTextBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(50)))));
this.customRichTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.customRichTextBox1.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.customRichTextBox1.ForeColor = System.Drawing.Color.White;
this.customRichTextBox1.Location = new System.Drawing.Point(0, 120);
this.customRichTextBox1.Name = "customRichTextBox1";
this.customRichTextBox1.ReadOnly = true;
this.customRichTextBox1.RightMargin = 600;
this.customRichTextBox1.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Horizontal;
this.customRichTextBox1.ShowSelectionMargin = true;
this.customRichTextBox1.Size = new System.Drawing.Size(300, 88);
this.customRichTextBox1.TabIndex = 8;
this.customRichTextBox1.TabStop = false;
this.customRichTextBox1.Text = resources.GetString("customRichTextBox1.Text");
this.customRichTextBox1.WordWrap = false;
this.customRichTextBox1.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.customRichTextBox1_LinkClicked);
//
// AboutFrom
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(50)))));
this.ClientSize = new System.Drawing.Size(300, 208);
this.Controls.Add(this.customRichTextBox1);
this.Controls.Add(this.label6);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.label1);
this.Controls.Add(this.label5);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "AboutFrom";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "About";
this.Load += new System.EventHandler(this.AboutWindow_Load);
this.Click += new System.EventHandler(this.AboutFrom_Click);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private CustomRichTextBox customRichTextBox1;
private System.Windows.Forms.Label label4;
}
}

View file

@ -1,76 +0,0 @@
using System;
using System.Diagnostics;
using System.Windows.Forms;
namespace Crypto_Notepad
{
public partial class AboutFrom : Form
{
public AboutFrom()
{
InitializeComponent();
}
private void label3_Click(object sender, EventArgs e)
{
Process.Start("https://github.com/Sigmanor/Crypto-Notepad/blob/master/LICENSE");
}
private void label7_Click(object sender, EventArgs e)
{
Process.Start("https://github.com/Sigmanor/Crypto-Notepad");
}
private void label9_Click(object sender, EventArgs e)
{
Process.Start("http://www.codeproject.com/Articles/20917/Creating-a-Custom-Settings-Provider");
}
private void label11_Click(object sender, EventArgs e)
{
Process.Start("http://easylab.net.ua/net-c-windows-forms/c-algoritm-shifrovaniya-aes");
}
private void label13_Click(object sender, EventArgs e)
{
Process.Start("https://code.msdn.microsoft.com/windowsdesktop/How-to-find-the-text-and-e92b8d78");
}
private void AboutWindow_Load(object sender, EventArgs e)
{
Version vrs = new Version(Application.ProductVersion);
label1.Text = string.Format("Crypto Notepad " + "{0}.{1}.{2}", vrs.Major, vrs.Minor, vrs.Build);
}
private void label14_Click(object sender, EventArgs e)
{
Process.Start("http://stackoverflow.com/a/2576220/4430027");
}
private void label6_Click(object sender, EventArgs e)
{
Process.Start("https://github.com/Sigmanor/Crypto-Notepad");
}
private void customRichTextBox1_LinkClicked(object sender, LinkClickedEventArgs e)
{
Process.Start(e.LinkText);
}
private void AboutFrom_Click(object sender, EventArgs e)
{
pictureBox1.Focus();
}
private void label1_Click(object sender, EventArgs e)
{
Process.Start("https://github.com/Sigmanor/Crypto-Notepad/wiki/Release-Notes");
}
private void label4_Click(object sender, EventArgs e)
{
Process.Start("http://sigmanor.pp.ua/");
}
}
}

View file

@ -1,456 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE
sRAUVL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G+yCQAAejY86/8DNhf6iwbS6s8AAAAASUVORK5CYII=
</value>
</data>
<data name="customRichTextBox1.Text" xml:space="preserve">
<value>CustomSettingsProvider: http://www.codeproject.com/Articles/20917/Settings-Provider
AES: http://www.codeproject.com/Answers/391219/AES#answer2
CustomRichTextBox: https://code.msdn.microsoft.com/windowsdesktop/How-to-find-the-text-and-e92b8d78
MsgBoxCenterParent: http://stackoverflow.com/a/2576220/4430027
Icons: http://www.fatcow.com/free-icons</value>
</data>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>44</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAkAAAARAAAAFQAA
ABYAAAAWAAAAFgAAABYAAAAVAAAAEQAAAAkAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAABgAAABAAAAAbAAAAKQAA
ADgAAABBAAAAQwAAAEMAAABDAAAAQwAAAEEAAAA4AAAAKQAAABsAAAAQAAAABgAAAAEAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAA0AAAAgAAAANRoO
BEx+RBKZpFcW3q9dF/+vXRf/r10X/69dF/+wXRj/sF4Y/6RYF95+RBKZGg4ETAAAADUAAAAgAAAADQAA
AAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAWAAAALjsg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////////////////2qJf/9ymZv/cp2f/3Kdn/9ynZv/bpmX/5rd8/+y8
hf+9byL/sF4Y/0MlCkwAAAAQAAAAAAAAAAMAAAAbpVYU3c6MSv/wxZD/9tOg/9mgXv/ao2H/26Rj/9uk
Y//bpGP/26Ri/9mhXf/Wl03//////////////////////9aXTf/ZoV3/26Ri/9ukY//bpGP/26Rj/9uj
Yv/aomH/78OM/9qgYf+6ayH/plkY3QAAABsAAAADAAAACScVBTKwXhf/5rB0///jtv/bpmT/2KBd/9mi
YP/ZomD/2aJg/9miYP/ZomD/2KBd/9SYTv//////////////////////1JhO/9igXf/ZomD/2aJg/9mi
YP/ZomD/2aJg/9ihXv/bpWX/88mV/8N6MP+wXxf/JxUGMgAAAAkAAAARh0gRjcV/Pf/wxI7/8s+c/9ac
V//Yn1z/2KBd/9igXf/YoF3/2KBd/9igXf/Xnlr/1JZM///////////////////////Ulkz/155a/9ig
Xf/YoF3/2KBd/9igXf/YoF3/2KBc/9aeWv/tv4j/1ZhW/7hoIP+JSRONAAAAEQAAABWkVhLa1phY//rY
qP/ktnr/1ZpW/9edWv/XnVr/151a/9edWv/XnVr/151a/9abV//Tk0n//////////////////////9OT
Sf/Wm1f/151a/9edWv/XnVr/151a/9edWv/XnVr/1ptY/+Gucf/ntXz/vXAn/6ZZF9oAAAAVAAAAFq1Z
Ev/nsnj//+i8/9efXP/UmVT/1ZtX/9WbV//Vm1f/1ZtX/9WbV//Vm1f/1JlU/9CQRf//////////////
////////0JBF/9SZVP/Vm1f/1ZtX/9WbV//Vm1f/1ZtX/9WbV//UmlX/2J5c//TMmf/DejH/r10X/wAA
ABYAAAAWrFgQ/+27gf//68H/0JFL/9OWUv/UmFT/1JhU/9SYVP/UmFT/1JhU/9SYVP/TllH/z41C////
///////////////////PjUL/05ZR/9SYVP/UmFT/1JhU/9SYVP/UmFT/1JhU/9SXU//RlE//+NKh/8aA
N/+vXBb/AAAAFgAAABasVxD/772G///sw//Pj0f/0pVO/9OWUP/TllD/05ZQ/9OWUP/TllD/05ZQ/9KU
TP/Oijz//////////////////////86LPf/SlE3/05ZQ/9OWUP/TllD/05ZQ/9OWUP/TllD/05VP/9CS
Sv/506L/yYM6/69cFv8AAAAWAAAAFqxXD//xwIn//+3E/8yNQ//Qk0v/0ZRN/9GUTf/RlE3/0ZRN/9GU
Tf/RlEz/z5BG/8uFNP//////////////////////zIk7/9CSSv/RlE3/0ZRN/9GUTf/RlE3/0ZRN/9GU
Tf/Rk0z/zpBH//nUpP/LhT//r1wW/wAAABYAAAAVrFcP//TFj///78b/y4k//8+PSP/QkUr/0JFK/9CR
Sv/QkUr/0JFK/9CQSP/Oi0H////////////////////////////NiTz/0I9I/9CRSv/QkUr/0JFK/9CR
Sv/QkUr/0JFK/9CQSP/NjEP/+tWl/82JQ/+vXBX/AAAAFQAAABGsWBD/8MKK///uxf/Qk03/zoxE/8+P
R//Pj0f/z49H/8+PR//Pj0f/z49G/86MQv/Mhzr/yoQ0/8qCMv/KgjL/y4Y4/82MQf/Pj0b/z49H/8+P
R//Pj0f/z49H/8+PR//Pj0f/zo1E/9GTTP/406H/zYpE/69cFv8AAAARAAAACaZWEdbfp2z//+W4/+Cs
bv/Khz7/zYtD/82MRP/NjET/zYxE/82MRP/NjET/zYtD/8uIPv/JhDb/yIAw/8iAMP/KhDf/zIk//82M
Q//NjET/zYxE/82MRP/NjET/zYxE/82MRP/LiUD/26Vk/+/Ci//Gfzr/qFkV1gAAAAkAAAADmlESfM2K
TP/82qv/8c+a/8iCN//LiD//zIpB/8yKQf/MikH/zIpB/8yKQf/MiT//yYM2/+bIpf///////////+bI
pf/Jgzb/zIk//8yKQf/MikH/zIpB/8yKQf/MikH/y4k//8mFOv/rv4f/4q5y/750L/+bUxV8AAAAAwAA
AABLKAoasFwV//zTof//8Mn/zItC/8mEOf/LiD3/y4g+/8uIPv/LiD7/y4g+/8uGPP/GfS3/////////
/////////////8Z9Lf/Lhjz/y4g+/8uIPv/LiD7/y4g+/8uIPv/JhTr/zYxC//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P//37H//+i9///wxv//8Mj//+/H///u
xv//7cT//+rA//3fsf/30J3/8cGL/9aXWf+vXRf/qlkVmQAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZdRFCOqWBLTr10W/9CPUP/krXT/+MyY//vR
nv/6zpv/98yZ//bKlv/xwYv/3aJo/8qGR/+wXhb/q1oU05dRFSMAAAABAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACKShIOplcTcqpY
EdGsVw//q1YO/6tWDv+rVg7/rFcP/6xYEP+qWRLRp1gUcopKEw4AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA/8AD//4AAH/8AAA/+AAAH/AAAA/gAAAHwAAAA4AAAAGAAAABgAAAAQAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAGAAAABgAAAAcAA
AAPgAAAH8AAAD/gAAB/8AAA//gAAf//AA/8=
</value>
</data>
</root>

View file

@ -9,148 +9,198 @@
</configSections> </configSections>
<startup> <startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup>
<userSettings> <userSettings>
<Crypto_Notepad.Properties.Settings> <Crypto_Notepad.Properties.Settings>
<setting name="RichTextFont" serializeAs="String"> <setting name="editorForeColor" serializeAs="String">
<value>Consolas</value> <value>Black</value>
</setting> </setting>
<setting name="RichForeColor" serializeAs="String"> <setting name="editorBackColor" serializeAs="String">
<value>228, 228, 228</value>
</setting>
<setting name="RichBackColor" serializeAs="String">
<value>56, 56, 56</value>
</setting>
<setting name="MenuWrap" serializeAs="String">
<value>True</value>
</setting>
<setting name="RichWrap" serializeAs="String">
<value>True</value>
</setting>
<setting name="RichTextSize" serializeAs="String">
<value>11</value>
</setting>
<setting name="HighlightsColor" serializeAs="String">
<value>172, 87, 11</value>
</setting>
<setting name="AssociateCheck" serializeAs="String">
<value>False</value>
</setting>
<setting name="HashAlgorithm" serializeAs="String">
<value>SHA1</value>
</setting>
<setting name="KeySize" serializeAs="String">
<value>192</value>
</setting>
<setting name="TheSalt" serializeAs="String">
<value />
</setting>
<setting name="PasswordIterations" serializeAs="String">
<value>2</value>
</setting>
<setting name="FirstLaunch" serializeAs="String">
<value>False</value>
</setting>
<setting name="WarningMsg" serializeAs="String">
<value>True</value>
</setting>
<setting name="ShowToolbar" serializeAs="String">
<value>True</value>
</setting>
<setting name="AutoCheckUpdate" serializeAs="String">
<value>True</value>
</setting>
<setting name="AutoLock" serializeAs="String">
<value>False</value>
</setting>
<setting name="WindowSize" serializeAs="String">
<value>645, 460</value>
</setting>
<setting name="WindowState" serializeAs="String">
<value>Normal</value>
</setting>
</Crypto_Notepad.Properties.Settings>
<EncryptPad.Properties.Settings>
<setting name="TopPosition" serializeAs="String">
<value>0</value>
</setting>
<setting name="LeftPosition" serializeAs="String">
<value>0</value>
</setting>
<setting name="RichTextFont" serializeAs="String">
<value>Consolas</value>
</setting>
<setting name="RichForeColor" serializeAs="String">
<value>228, 228, 228</value>
</setting>
<setting name="FormWidth" serializeAs="String">
<value>687</value>
</setting>
<setting name="FormHeight" serializeAs="String">
<value>428</value>
</setting>
<setting name="RichBackColor" serializeAs="String">
<value>56, 56, 56</value>
</setting>
<setting name="MenuWrap" serializeAs="String">
<value>True</value>
</setting>
<setting name="RichWrap" serializeAs="String">
<value>True</value>
</setting>
<setting name="RichTextSize" serializeAs="String">
<value>11</value>
</setting>
<setting name="HighlightsColor" serializeAs="String">
<value>101, 51, 6</value>
</setting>
<setting name="AssociateCheck" serializeAs="String">
<value>False</value>
</setting>
<setting name="HashAlgorithm" serializeAs="String">
<value>SHA1</value>
</setting>
<setting name="KeySize" serializeAs="String">
<value>192</value>
</setting>
<setting name="TheSalt" serializeAs="String">
<value />
</setting>
<setting name="PasswordIterations" serializeAs="String">
<value>2</value>
</setting>
<setting name="FirstLaunch" serializeAs="String">
<value>False</value>
</setting>
</EncryptPad.Properties.Settings>
<Encryption_Tool.Properties.Settings>
<setting name="TopPosition" serializeAs="String">
<value>0</value>
</setting>
<setting name="LeftPosition" serializeAs="String">
<value>0</value>
</setting>
<setting name="RichTextFont" serializeAs="String">
<value>Consolas, 9.75pt</value>
</setting>
<setting name="RichTextColor" serializeAs="String">
<value>66, 66, 74</value>
</setting>
<setting name="FormWidth" serializeAs="String">
<value>687</value>
</setting>
<setting name="FormHeight" serializeAs="String">
<value>428</value>
</setting>
<setting name="RichForeColor" serializeAs="String">
<value>White</value> <value>White</value>
</setting> </setting>
<setting name="MenuWrap" serializeAs="String"> <setting name="menuWrap" serializeAs="String">
<value>True</value> <value>True</value>
</setting> </setting>
<setting name="RichWrap" serializeAs="String"> <setting name="editorWrap" serializeAs="String">
<value>True</value> <value>True</value>
</setting> </setting>
</Encryption_Tool.Properties.Settings> <setting name="explorerAssociate" serializeAs="String">
<value>False</value>
</setting>
<setting name="HashAlgorithm" serializeAs="String">
<value>SHA1</value>
</setting>
<setting name="KeySize" serializeAs="String">
<value>256</value>
</setting>
<setting name="PasswordIterations" serializeAs="String">
<value>1000</value>
</setting>
<setting name="toolbarVisible" serializeAs="String">
<value>True</value>
</setting>
<setting name="autoCheckUpdate" serializeAs="String">
<value>False</value>
</setting>
<setting name="autoLock" serializeAs="String">
<value>False</value>
</setting>
<setting name="windowLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="windowSize" serializeAs="String">
<value>645, 460</value>
</setting>
<setting name="windowState" serializeAs="String">
<value>Normal</value>
</setting>
<setting name="explorerSendTo" serializeAs="String">
<value>False</value>
</setting>
<setting name="explorerIntegrate" serializeAs="String">
<value>False</value>
</setting>
<setting name="menuIcons" serializeAs="String">
<value>False</value>
</setting>
<setting name="insertKey" serializeAs="String">
<value>Enable</value>
</setting>
<setting name="customColor" serializeAs="String">
<value>16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215</value>
</setting>
<setting name="editorPaddingLeft" serializeAs="String">
<value>5</value>
</setting>
<setting name="editorRightToLeft" serializeAs="String">
<value>False</value>
</setting>
<setting name="editorFont" serializeAs="String">
<value>Microsoft Sans Serif, 10pt</value>
</setting>
<setting name="statusPanelVisible" serializeAs="String">
<value>True</value>
</setting>
<setting name="statusPanelBackColor" serializeAs="String">
<value>240, 240, 240</value>
</setting>
<setting name="statusPanelFontColor" serializeAs="String">
<value>Black</value>
</setting>
<setting name="toolbarBackColor" serializeAs="String">
<value>240, 240, 240</value>
</setting>
<setting name="toolbarBorder" serializeAs="String">
<value>False</value>
</setting>
<setting name="searchPanelForeColor" serializeAs="String">
<value>Black</value>
</setting>
<setting name="searchPanelBackColor" serializeAs="String">
<value>240, 240, 240</value>
</setting>
<setting name="openLinks" serializeAs="String">
<value>LMB Click</value>
</setting>
<setting name="mainMenuVisible" serializeAs="String">
<value>True</value>
</setting>
<setting name="oldToolbarIcons" serializeAs="String">
<value>False</value>
</setting>
<setting name="minimizeToTray" serializeAs="String">
<value>False</value>
</setting>
<setting name="closeToTray" serializeAs="String">
<value>False</value>
</setting>
<setting name="alwaysOnTop" serializeAs="String">
<value>False</value>
</setting>
<setting name="editorBorder" serializeAs="String">
<value>FixedSingle</value>
</setting>
<setting name="searchPanelBorder" serializeAs="String">
<value>None</value>
</setting>
<setting name="toolbarCloseButton" serializeAs="String">
<value>True</value>
</setting>
<setting name="singleInstance" serializeAs="String">
<value>False</value>
</setting>
<setting name="statusPanelLength" serializeAs="String">
<value>True</value>
</setting>
<setting name="statusPanelLines" serializeAs="String">
<value>True</value>
</setting>
<setting name="statusPanelModified" serializeAs="String">
<value>True</value>
</setting>
<setting name="statusPanelSize" serializeAs="String">
<value>True</value>
</setting>
<setting name="encryptionHint" serializeAs="String">
<value>True</value>
</setting>
<setting name="passwordGeneratorLowercase" serializeAs="String">
<value>True</value>
</setting>
<setting name="passwordGeneratorUppercase" serializeAs="String">
<value>True</value>
</setting>
<setting name="passwordGeneratorNumeric" serializeAs="String">
<value>True</value>
</setting>
<setting name="passwordGeneratorSpecial" serializeAs="String">
<value>True</value>
</setting>
<setting name="passwordGeneratorLength" serializeAs="String">
<value>40</value>
</setting>
<setting name="passwordGeneratorNumberOfStrings" serializeAs="String">
<value>10</value>
</setting>
<setting name="TheSalt" serializeAs="String">
<value />
</setting>
<setting name="passwordGeneratorBrackets" serializeAs="String">
<value>False</value>
</setting>
<setting name="passwordGeneratorAdditional" serializeAs="String">
<value>False</value>
</setting>
<setting name="lockTimeout" serializeAs="String">
<value />
</setting>
<setting name="statusPanelReadonly" serializeAs="String">
<value>True</value>
</setting>
<setting name="statusPanelWordWrap" serializeAs="String">
<value>True</value>
</setting>
<setting name="clipboardClearTime" serializeAs="String">
<value />
</setting>
<setting name="statusPanelClipboard" serializeAs="String">
<value>True</value>
</setting>
<setting name="clearClipboardAtClose" serializeAs="String">
<value>False</value>
</setting>
<setting name="shortcutKeys" serializeAs="String">
<value>True</value>
</setting>
<setting name="openTxtUnencrypted" serializeAs="String">
<value>False</value>
</setting>
<setting name="trayMenu" serializeAs="String">
<value>False</value>
</setting>
<setting name="statusPanelPasteboard" serializeAs="String">
<value>False</value>
</setting>
</Crypto_Notepad.Properties.Settings>
</userSettings> </userSettings>
</configuration> </configuration>

View file

@ -1,195 +0,0 @@
namespace Crypto_Notepad
{
partial class ChangeKeyForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.statusLabel = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(120, 9);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 20);
this.textBox1.TabIndex = 0;
this.textBox1.UseSystemPasswordChar = true;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(120, 43);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(100, 20);
this.textBox2.TabIndex = 1;
this.textBox2.UseSystemPasswordChar = true;
this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(61, 12);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(47, 13);
this.label1.TabIndex = 2;
this.label1.Text = "Old Key:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(61, 46);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 13);
this.label2.TabIndex = 3;
this.label2.Text = "New Key:";
//
// button1
//
this.button1.Enabled = false;
this.button1.Location = new System.Drawing.Point(206, 82);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(53, 23);
this.button1.TabIndex = 4;
this.button1.Text = "Accept";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.Add(this.pictureBox3);
this.panel1.Controls.Add(this.pictureBox2);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.pictureBox1);
this.panel1.Controls.Add(this.textBox1);
this.panel1.Controls.Add(this.textBox2);
this.panel1.Controls.Add(this.label2);
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(262, 75);
this.panel1.TabIndex = 6;
//
// pictureBox3
//
this.pictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBox3.Image = global::Crypto_Notepad.Properties.Resources.gnupg_keys;
this.pictureBox3.Location = new System.Drawing.Point(8, 12);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(47, 47);
this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pictureBox3.TabIndex = 7;
this.pictureBox3.TabStop = false;
//
// pictureBox2
//
this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBox2.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox2.Image = global::Crypto_Notepad.Properties.Resources.eye;
this.pictureBox2.Location = new System.Drawing.Point(219, 43);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(32, 20);
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pictureBox2.TabIndex = 5;
this.pictureBox2.TabStop = false;
this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click);
//
// pictureBox1
//
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox1.Image = global::Crypto_Notepad.Properties.Resources.eye;
this.pictureBox1.Location = new System.Drawing.Point(219, 9);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(32, 20);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pictureBox1.TabIndex = 5;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
//
// statusLabel
//
this.statusLabel.AutoSize = true;
this.statusLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.statusLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(35)))));
this.statusLabel.Location = new System.Drawing.Point(5, 88);
this.statusLabel.Name = "statusLabel";
this.statusLabel.Size = new System.Drawing.Size(35, 13);
this.statusLabel.TabIndex = 7;
this.statusLabel.Text = "status";
this.statusLabel.Visible = false;
//
// ChangeKeyForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(263, 111);
this.Controls.Add(this.statusLabel);
this.Controls.Add(this.panel1);
this.Controls.Add(this.button1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ChangeKeyForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Change Key";
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.PictureBox pictureBox3;
private System.Windows.Forms.Label statusLabel;
}
}

View file

@ -1,116 +0,0 @@
using System;
using System.Media;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Crypto_Notepad
{
public partial class ChangeKeyForm : Form
{
public ChangeKeyForm()
{
InitializeComponent();
}
private async void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text == publicVar.encryptionKey & textBox1.Text != textBox2.Text)
{
publicVar.encryptionKey = textBox2.Text;
publicVar.keyChanged = true;
textBox1.Text = "";
textBox2.Text = "";
statusLabel.Text = "Key was successfully changed!";
statusLabel.Visible = true;
button1.Enabled = false;
await Task.Delay(2000);
this.Close();
return;
}
if (textBox1.Text != publicVar.encryptionKey)
{
SystemSounds.Beep.Play();
statusLabel.Text = "Invalid old key!";
statusLabel.Visible = true;
textBox1.Text = "";
textBox2.Text = "";
return;
}
if (textBox1.Text == textBox2.Text)
{
SystemSounds.Beep.Play();
statusLabel.Text = "New key is the same as old!";
statusLabel.Visible = true;
textBox1.Text = "";
textBox2.Text = "";
return;
}
}
private void pictureBox1_Click(object sender, EventArgs e)
{
if (textBox1.UseSystemPasswordChar == true)
{
textBox1.UseSystemPasswordChar = false;
pictureBox1.Image = Properties.Resources.eye_half;
return;
}
if (textBox1.UseSystemPasswordChar == false)
{
textBox1.UseSystemPasswordChar = true;
pictureBox1.Image = Properties.Resources.eye;
return;
}
}
private void pictureBox2_Click(object sender, EventArgs e)
{
if (textBox2.UseSystemPasswordChar == true)
{
textBox2.UseSystemPasswordChar = false;
pictureBox2.Image = Properties.Resources.eye_half;
return;
}
if (textBox2.UseSystemPasswordChar == false)
{
textBox2.UseSystemPasswordChar = true;
pictureBox2.Image = Properties.Resources.eye;
return;
}
}
private void ChangeKeyForm_Load(object sender, EventArgs e)
{
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
if (textBox1.Text.Length > 0 & textBox2.Text.Length > 0)
{
button1.Enabled = true;
}
else
{
button1.Enabled = false;
}
}
private void textBox2_TextChanged(object sender, EventArgs e)
{
if (textBox1.Text.Length > 0 & textBox2.Text.Length > 0)
{
button1.Enabled = true;
}
else
{
button1.Enabled = false;
}
}
}
}

View file

@ -1,120 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\Costura.Fody.4.1.0\build\Costura.Fody.props" Condition="Exists('..\packages\Costura.Fody.4.1.0\build\Costura.Fody.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -9,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Crypto_Notepad</RootNamespace> <RootNamespace>Crypto_Notepad</RootNamespace>
<AssemblyName>Crypto Notepad</AssemblyName> <AssemblyName>Crypto Notepad</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<TargetFrameworkProfile> <TargetFrameworkProfile>
</TargetFrameworkProfile> </TargetFrameworkProfile>
@ -24,6 +25,8 @@
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<RunCodeAnalysis>False</RunCodeAnalysis> <RunCodeAnalysis>False</RunCodeAnalysis>
<SourceAnalysisOverrideSettingsFile>C:\Users\Alex\AppData\Roaming\ICSharpCode/SharpDevelop4\Settings.SourceAnalysis</SourceAnalysisOverrideSettingsFile> <SourceAnalysisOverrideSettingsFile>C:\Users\Alex\AppData\Roaming\ICSharpCode/SharpDevelop4\Settings.SourceAnalysis</SourceAnalysisOverrideSettingsFile>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<PublishUrl>publish\</PublishUrl> <PublishUrl>publish\</PublishUrl>
<Install>true</Install> <Install>true</Install>
<InstallFrom>Disk</InstallFrom> <InstallFrom>Disk</InstallFrom>
@ -53,14 +56,15 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>PdbOnly</DebugType> <DebugType>embedded</DebugType>
<Optimize>True</Optimize> <Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath> <OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants> <DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<UseVSHostingProcess>false</UseVSHostingProcess> <UseVSHostingProcess>false</UseVSHostingProcess>
<Prefer32Bit>false</Prefer32Bit> <Prefer32Bit>false</Prefer32Bit>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
@ -72,10 +76,27 @@
<RegisterForComInterop>False</RegisterForComInterop> <RegisterForComInterop>False</RegisterForComInterop>
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies> <GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<SignManifests>false</SignManifests>
</PropertyGroup>
<PropertyGroup>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup>
<NoWin32Manifest>true</NoWin32Manifest>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Costura, Version=4.1.0.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL">
<HintPath>..\packages\Costura.Fody.4.1.0\lib\net40\Costura.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VisualBasic" />
<Reference Include="PasswordGenerator, Version=2.0.5.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\PasswordGenerator.2.0.5\lib\netstandard2.0\PasswordGenerator.dll</HintPath>
</Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.configuration" /> <Reference Include="System.configuration" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
<Reference Include="System.Diagnostics.Contracts" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" /> <Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" /> <Reference Include="Microsoft.CSharp" />
@ -86,39 +107,47 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="AboutFrom.cs"> <Compile Include="Forms\AboutFrom.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="AboutFrom.Designer.cs"> <Compile Include="Forms\AboutFrom.Designer.cs">
<DependentUpon>AboutFrom.cs</DependentUpon> <DependentUpon>AboutFrom.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="AES.cs" /> <Compile Include="External Libraries\AES.cs" />
<Compile Include="ChangeKeyForm.cs"> <Compile Include="Forms\ChangePasswordForm.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="ChangeKeyForm.Designer.cs"> <Compile Include="Forms\ChangePasswordForm.Designer.cs">
<DependentUpon>ChangeKeyForm.cs</DependentUpon> <DependentUpon>ChangePasswordForm.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="CustomRichTextBox.cs"> <Compile Include="External Libraries\EncryptedString.cs" />
<Compile Include="External Libraries\HideCaretRichTextBox.cs">
<SubType>Component</SubType> <SubType>Component</SubType>
</Compile> </Compile>
<Compile Include="CustomRichTextBox.Designer.cs"> <Compile Include="Forms\MainForm.cs">
<DependentUpon>CustomRichTextBox.cs</DependentUpon>
</Compile>
<Compile Include="Form1.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="Form1.Designer.cs"> <Compile Include="Forms\MainForm.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon> <DependentUpon>MainForm.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Form2.cs"> <Compile Include="Forms\EnterPasswordForm.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="Form2.Designer.cs"> <Compile Include="Forms\EnterPasswordForm.Designer.cs">
<DependentUpon>Form2.cs</DependentUpon> <DependentUpon>EnterPasswordForm.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="MsgBoxCenterParent.cs" /> <Compile Include="External Libraries\MsgBoxCenterParent.cs" />
<Compile Include="PortableSettingsProvider.cs" /> <Compile Include="External Libraries\ExRichTextBox.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="External Libraries\OSVersionInfoClass.cs" />
<Compile Include="Forms\PasswordGeneratorFrom.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\PasswordGeneratorFrom.Designer.cs">
<DependentUpon>PasswordGeneratorFrom.cs</DependentUpon>
</Compile>
<Compile Include="External Libraries\PortableSettingsProvider.cs" />
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs"> <Compile Include="Properties\Resources.Designer.cs">
@ -126,32 +155,40 @@
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon> <DependentUpon>Resources.resx</DependentUpon>
</Compile> </Compile>
<Compile Include="SettingsForm.cs"> <Compile Include="Forms\SettingsForm.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="SettingsForm.Designer.cs"> <Compile Include="Forms\SettingsForm.Designer.cs">
<DependentUpon>SettingsForm.cs</DependentUpon> <DependentUpon>SettingsForm.cs</DependentUpon>
</Compile> </Compile>
<EmbeddedResource Include="AboutFrom.resx"> <Compile Include="External Libraries\PlaceholderTextBox.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="External Libraries\Methods.cs" />
<EmbeddedResource Include="Forms\AboutFrom.resx">
<DependentUpon>AboutFrom.cs</DependentUpon> <DependentUpon>AboutFrom.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="ChangeKeyForm.resx"> <EmbeddedResource Include="Forms\ChangePasswordForm.resx">
<DependentUpon>ChangeKeyForm.cs</DependentUpon> <DependentUpon>ChangePasswordForm.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Form1.resx"> <EmbeddedResource Include="Forms\MainForm.resx">
<DependentUpon>Form1.cs</DependentUpon> <DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Form2.resx"> <EmbeddedResource Include="Forms\EnterPasswordForm.resx">
<DependentUpon>Form2.cs</DependentUpon> <DependentUpon>EnterPasswordForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\PasswordGeneratorFrom.resx">
<DependentUpon>PasswordGeneratorFrom.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx"> <EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator> <Generator>ResXFileCodeGenerator</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="SettingsForm.resx"> <EmbeddedResource Include="Forms\SettingsForm.resx">
<DependentUpon>SettingsForm.cs</DependentUpon> <DependentUpon>SettingsForm.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<None Include="packages.config" />
<None Include="Properties\Settings.settings"> <None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator> <Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput> <LastGenOutput>Settings.Designer.cs</LastGenOutput>
@ -166,9 +203,12 @@
<None Include="App.config" /> <None Include="App.config" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="Resources\clock--plus.png" />
<None Include="Resources\clock_add.png" />
<None Include="Resources\clipboard-text.png" />
<None Include="Resources\Updater.exe" /> <None Include="Resources\Updater.exe" />
<None Include="Resources\Ionic.Zip.dll" /> <None Include="Resources\application.png" />
<None Include="bin\Debug\Ionic.Zip.dll" /> <None Include="Resources\application-dock-180.png" />
<Content Include="Notepad_Lock.ico" /> <Content Include="Notepad_Lock.ico" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@ -193,8 +233,27 @@
<Install>true</Install> <Install>true</Install>
</BootstrapperPackage> </BootstrapperPackage>
</ItemGroup> </ItemGroup>
<ItemGroup>
<COMReference Include="IWshRuntimeLibrary">
<Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<ItemGroup /> <ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>Данный проект ссылается на пакеты NuGet, отсутствующие на этом компьютере. Используйте восстановление пакетов NuGet, чтобы скачать их. Дополнительную информацию см. по адресу: http://go.microsoft.com/fwlink/?LinkID=322105. Отсутствует следующий файл: {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Costura.Fody.4.1.0\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.4.1.0\build\Costura.Fody.props'))" />
<Error Condition="!Exists('..\packages\Fody.6.0.6\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.6.0.6\build\Fody.targets'))" />
</Target>
<Import Project="..\packages\Fody.6.0.6\build\Fody.targets" Condition="Exists('..\packages\Fody.6.0.6\build\Fody.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">

View file

@ -1,36 +0,0 @@
namespace Crypto_Notepad
{
partial class CustomRichTextBox
{
/// <summary>
/// Требуется переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
/// </summary>
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Код, автоматически созданный конструктором компонентов
/// <summary>
/// Обязательный метод для поддержки конструктора - не изменяйте
/// содержимое данного метода при помощи редактора кода.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
}
#endregion
}
}

View file

@ -1,129 +0,0 @@
/****************************** Module Header ******************************\
* Module Name: CustomRichTextBox.cs
* Project: CSWinFormSearchAndHighlightText
* Copyright(c) Microsoft Corporation.
*
* Theclass is used to create custom RichTextBox
* The custom RichTextBox add custom Highlight and ClearHighlight method
*
* This source is subject to the Microsoft Public License.
* See http://www.microsoft.com/en-us/openness/licenses.aspx.
* All other rights reserved.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
\***************************************************************************/
using System.Drawing;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System;
namespace Crypto_Notepad
{
/// <summary>
/// Custom RichTextBox control
/// </summary>
public partial class CustomRichTextBox : RichTextBox
{
public CustomRichTextBox()
: base()
{
InitializeComponent();
}
[DllImport("user32.dll", CharSet = CharSet.Auto)]
private static extern int SendMessage(IntPtr hWnd, int wMsg, IntPtr wParam, IntPtr lParam);
//this message is sent to the control when we scroll using the mouse
private const int WM_MOUSEWHEEL = 0x20A;
//and this one issues the control to perform scrolling
private const int WM_VSCROLL = 0x115;
protected override void WndProc(ref Message m)
{
if (m.Msg == WM_MOUSEWHEEL)
{
int scrollLines = SystemInformation.MouseWheelScrollLines;
for (int i = 0; i < scrollLines; i++)
{
if ((int)m.WParam > 0) // when wParam is greater than 0
SendMessage(this.Handle, WM_VSCROLL, (IntPtr)0, IntPtr.Zero); // scroll up
else
SendMessage(this.Handle, WM_VSCROLL, (IntPtr)1, IntPtr.Zero); // else scroll down
}
return;
}
base.WndProc(ref m);
}
/// <summary>
/// Search and Highlight all text in RichTextBox Control
/// </summary>
/// <param name="findWhat">Find What</param>
/// <param name="highlightColor">Highlight Color</param>
/// <param name="ismatchCase">Is Match Case</param>
/// <param name="ismatchWholeWord">Is Match Whole Word</param>
/// <returns></returns>
public bool Highlight(string findWhat, Color highlightColor, bool ismatchCase, bool ismatchWholeWord)
{
// Clear all highlights before searching text again
ClearHighlight();
int startSearch = 0;
//int searchLength = findWhat.Length;
RichTextBoxFinds findoptions = default(RichTextBoxFinds);
// Setup the search options.
if (ismatchCase && ismatchWholeWord)
{
findoptions = RichTextBoxFinds.MatchCase | RichTextBoxFinds.WholeWord;
}
else if (ismatchCase)
{
findoptions = RichTextBoxFinds.MatchCase;
}
else if (ismatchWholeWord)
{
findoptions = RichTextBoxFinds.WholeWord;
}
else
{
findoptions = RichTextBoxFinds.None;
}
// detect whether search text exists in richtextbox
bool isfind = false;
int index = -1;
// Search text in RichTextBox and highlight them with color.
int max = this.TextLength;
while (startSearch < max && (index = this.Find(findWhat, startSearch, findoptions)) > -1)
{
isfind = true;
this.SelectionBackColor = highlightColor;
// Continue after the one we searched
startSearch = index + 1;
}
// If the text exist in RichTextBox control, then return true, otherwise, return false
return isfind;
}
/// <summary>
/// Clear all Highlights
/// </summary>
private void ClearHighlight()
{
Properties.Settings ps = Properties.Settings.Default;
this.SelectAll();
this.SelectionBackColor = ps.RichBackColor;
}
}
}

View file

@ -0,0 +1,261 @@
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Crypto_Notepad
{
/// <summary>
/// This class extracts information needed for decryption from a .cnp file
/// </summary>
class AESMetadata
{
/// <summary>
/// Offset to actual AES data; size of metadata
/// </summary>
public int OffsetToData { get; private set; }
public byte[] InitialVector { get; private set; }
public byte[] Salt { get; private set; }
public AESMetadata()
{
InitialVector = new byte[16];
Salt = null;
}
public void DeleteMetadataFromBuffer(ref byte[] rawData)
{
byte[] buffer = new byte[rawData.Length - OffsetToData];
Buffer.BlockCopy(rawData, OffsetToData, buffer, 0, rawData.Length - OffsetToData);
rawData = buffer;
}
private bool ReadData(byte[] rawData, int offset, ref byte[] dataOut)
{
// Buffer to store bytes
List<byte> buffer = new List<byte>();
const byte nullTerminator = 0;
bool foundData = false;
// Push data to buffer
for (int i = offset; i < rawData.Length; i++)
{
if (rawData[i] == nullTerminator) { foundData = true; break; }
else { buffer.Add(rawData[i]); }
}
if (foundData == true)
{
dataOut = buffer.ToArray();
return true;
}
return false;
}
public static void WriteMetadata(MemoryStream stream, byte[] IV, byte[] salt)
{
byte[] nullByte = { 0 };
stream.Write(IV, 0, IV.Length);
stream.Write(nullByte, 0, 1);
stream.Write(salt, 0, salt.Length);
stream.Write(nullByte, 0, 1);
}
public bool GetMetadata(byte[] rawData)
{
int offset = 0;
byte[] buffer = null;
if (!ReadData(rawData, 0, ref buffer)) { return false; }
InitialVector = buffer;
offset += buffer.Length + 1;
if (!ReadData(rawData, offset, ref buffer)) { return false; }
Salt = buffer;
offset += buffer.Length + 1;
OffsetToData = offset;
return true;
}
}
class AES
{
private static bool ByteArrayIsNonZero(byte[] byte_array)
{
foreach (byte i in byte_array)
{
if (i == 0)
{
return false;
}
}
return true;
}
// The purpose of this function is to ensure that the bytes generated by it are nonzero 100% of the time
// as there was a strange bug in which RNGCryptoServiceProvider.GetNonZeroBytes() would return a null byte sometimes
private static byte[] GenerateSecureNonZeroByteArray(int length)
{
byte[] result = new byte[length];
using (RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider())
{
do
{
rng.GetNonZeroBytes(result);
} while (!ByteArrayIsNonZero(result));
}
return result;
}
public static async Task<string> Encrypt(string plainText, string password,
string salt = null, string hashAlgorithm = "SHA1",
int passwordIterations = 2, int keySize = 256)
{
return await Task.Run(() =>
{
if (string.IsNullOrEmpty(plainText))
return null;
if (string.IsNullOrEmpty(password))
return null;
byte[] plainTextBytes;
byte[] saltValueBytes;
// In case user wants a random salt or salt is null/empty for some other reason
if (string.IsNullOrEmpty(salt))
{
saltValueBytes = new byte[64]; // Nice and long
saltValueBytes = GenerateSecureNonZeroByteArray(saltValueBytes.Length);
}
else
{
saltValueBytes = Encoding.ASCII.GetBytes(salt);
}
plainTextBytes = Encoding.UTF8.GetBytes(plainText);
PasswordDeriveBytes derivedPassword = new PasswordDeriveBytes
(password, saltValueBytes, hashAlgorithm, passwordIterations);
// Null password; adds *some* memory dump protection
password = null;
byte[] keyBytes = derivedPassword.GetBytes(keySize / 8);
RijndaelManaged symmetricKey = new RijndaelManaged();
symmetricKey.Mode = CipherMode.CBC;
// Generate IV
symmetricKey.IV = GenerateSecureNonZeroByteArray(symmetricKey.IV.Length);
byte[] cipherTextBytes = null;
using (MemoryStream memStream = new MemoryStream())
{
AESMetadata.WriteMetadata(memStream, symmetricKey.IV, saltValueBytes);
using (ICryptoTransform encryptor = symmetricKey.CreateEncryptor
(keyBytes, symmetricKey.IV))
{
using (CryptoStream cryptoStream = new CryptoStream
(memStream, encryptor, CryptoStreamMode.Write))
{
cryptoStream.Write(plainTextBytes, 0, plainTextBytes.Length);
cryptoStream.FlushFinalBlock();
cipherTextBytes = memStream.ToArray();
memStream.Close();
cryptoStream.Close();
}
}
}
symmetricKey.Dispose();
derivedPassword.Dispose();
return Convert.ToBase64String(cipherTextBytes);
});
}
public static async Task<string> Decrypt(string cipherText, string password, string salt = "Kosher",
string hashAlgorithm = "SHA1",
int passwordIterations = 2,
int keySize = 256)
{
return await Task.Run(() =>
{
if (string.IsNullOrEmpty(cipherText))
return null;
if (string.IsNullOrEmpty(password))
return null;
byte[] initialVectorBytes;
byte[] saltValueBytes;
byte[] cipherTextBytes = Convert.FromBase64String(cipherText);
// Extract metadata from file
AESMetadata metadata = new AESMetadata();
if (!metadata.GetMetadata(cipherTextBytes))
{
// Metadata parsing error
DialogResult result = MessageBox.Show("Unable to parse file metadata.\nAttempt to open anyway?\n(May result in a \'Incorrect Key\' error if the salt is wrong.)",
"Missing or Corrupted Metadata", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Asterisk, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly);
if (result == DialogResult.Yes)
{
// Default initialization vector from builds v1.1.2 and older
const string default_IV = "16CHARSLONG12345";
initialVectorBytes = Encoding.ASCII.GetBytes(default_IV);
saltValueBytes = Encoding.ASCII.GetBytes(salt);
}
else
{
PublicVar.metadataCorrupt = true;
return null;
}
}
else
{
saltValueBytes = metadata.Salt;
initialVectorBytes = metadata.InitialVector;
metadata.DeleteMetadataFromBuffer(ref cipherTextBytes);
}
PasswordDeriveBytes derivedPassword = new PasswordDeriveBytes
(password, saltValueBytes, hashAlgorithm, passwordIterations);
byte[] keyBytes = derivedPassword.GetBytes(keySize / 8);
RijndaelManaged symmetricKey = new RijndaelManaged();
symmetricKey.Mode = CipherMode.CBC;
byte[] plainTextBytes = new byte[cipherTextBytes.Length];
int byteCount = 0;
using (MemoryStream memStream = new MemoryStream(cipherTextBytes))
{
using (ICryptoTransform decryptor = symmetricKey.CreateDecryptor
(keyBytes, initialVectorBytes))
{
using (CryptoStream cryptoStream
= new CryptoStream(memStream, decryptor, CryptoStreamMode.Read))
{
byteCount = cryptoStream.Read(plainTextBytes, 0, plainTextBytes.Length);
memStream.Close();
cryptoStream.Close();
}
}
symmetricKey.Dispose();
}
derivedPassword.Dispose();
return Encoding.UTF8.GetString(plainTextBytes, 0, byteCount);
});
}
}
}

View file

@ -0,0 +1,46 @@
using System.Text;
using System.Security.Cryptography;
using System;
namespace Crypto_Notepad
{
/// <summary>
/// Stores a string encrypted in memory to defend against memory dumps
/// </summary>
class EncryptedString: IDisposable
{
private readonly TripleDES des = TripleDES.Create();
private byte[] encryptedString = null;
public void Dispose() => des.Dispose();
public EncryptedString(string String)
{
des.GenerateIV();
des.GenerateKey();
Set(String);
}
public EncryptedString()
{
des.GenerateIV();
des.GenerateKey();
}
public string Get()
{
if (encryptedString == null) return null;
var decryptor = des.CreateDecryptor();
byte[] output = decryptor.TransformFinalBlock(encryptedString, 0, encryptedString.Length);
return Encoding.Default.GetString(output);
}
public void Set(string String)
{
if (String == null) { encryptedString = null; return; }
var encryptor = des.CreateEncryptor();
byte[] str = Encoding.Default.GetBytes(String);
encryptedString = encryptor.TransformFinalBlock(str, 0, str.Length);
}
}
}

View file

@ -0,0 +1,137 @@
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace Crypto_Notepad
{
public class ExRichTextBox : RichTextBox
{
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)]
private static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);
[DllImport("kernel32.dll", EntryPoint = "LoadLibraryW", CharSet = CharSet.Unicode, SetLastError = true)]
private static extern IntPtr LoadLibraryW(string s_File);
private const int WM_VSCROLL = 0x115;
private const int WM_MOUSEWHEEL = 0x20A;
protected override void WndProc(ref Message m)
{
if (m.Msg == WM_MOUSEWHEEL)
{
int scrollLines = SystemInformation.MouseWheelScrollLines;
for (int i = 0; i < scrollLines; i++)
{
try
{
if ((int)m.WParam >= 0)
SendMessage(Handle, WM_VSCROLL, (IntPtr)0, IntPtr.Zero);
else
SendMessage(Handle, WM_VSCROLL, (IntPtr)1, IntPtr.Zero);
}
catch (OverflowException)
{
SendMessage(Handle, WM_VSCROLL, (IntPtr)1, IntPtr.Zero);
}
}
return;
}
base.WndProc(ref m);
}
protected override CreateParams CreateParams
{
get
{
var cp = base.CreateParams;
LoadLibraryW("MsftEdit.dll");
cp.ClassName = "RichEdit50W";
return cp;
}
}
protected override void OnHandleCreated(EventArgs e)
{
base.OnHandleCreated(e);
if (!AutoWordSelection)
{
AutoWordSelection = true;
AutoWordSelection = false;
}
}
}
public static class RichTextBoxPadding
{
public static void SetInnerMargins(this TextBoxBase textBox, int left, int top, int right, int bottom)
{
var rect = textBox.GetFormattingRect();
var newRect = new Rectangle(left, top, rect.Width - left - right, rect.Height - top - bottom);
textBox.SetFormattingRect(newRect);
}
[StructLayout(LayoutKind.Sequential)]
private struct RECT
{
public readonly int Left;
public readonly int Top;
public readonly int Right;
public readonly int Bottom;
private RECT(int left, int top, int right, int bottom)
{
Left = left;
Top = top;
Right = right;
Bottom = bottom;
}
public RECT(Rectangle r) : this(r.Left, r.Top, r.Right, r.Bottom)
{
}
}
[DllImport(@"User32.dll", EntryPoint = @"SendMessage", CharSet = CharSet.Auto)]
private static extern int SendMessageRefRect(IntPtr hWnd, uint msg, int wParam, ref RECT rect);
[DllImport(@"user32.dll", EntryPoint = @"SendMessage", CharSet = CharSet.Auto)]
private static extern int SendMessage(IntPtr hwnd, int wMsg, IntPtr wParam, ref Rectangle lParam);
private const int EmGetrect = 0xB2;
private const int EmSetrect = 0xB3;
private static void SetFormattingRect(this TextBoxBase textbox, Rectangle rect)
{
var rc = new RECT(rect);
SendMessageRefRect(textbox.Handle, EmSetrect, 0, ref rc);
}
private static Rectangle GetFormattingRect(this TextBoxBase textbox)
{
var rect = new Rectangle();
SendMessage(textbox.Handle, EmGetrect, (IntPtr)0, ref rect);
return rect;
}
}
public static class RichTextBoxExtensions
{
[DllImport("user32.dll")]
private static extern IntPtr SendMessage(IntPtr hWnd, int msg, IntPtr wp, IntPtr lp);
private const int WM_SETREDRAW = 0x0b;
public static void SuspendDrawing(this RichTextBox richTextBox)
{
SendMessage(richTextBox.Handle, WM_SETREDRAW, (IntPtr)0, IntPtr.Zero);
}
public static void ResumeDrawing(this RichTextBox richTextBox)
{
SendMessage(richTextBox.Handle, WM_SETREDRAW, (IntPtr)1, IntPtr.Zero);
richTextBox.Invalidate();
}
}
}

View file

@ -0,0 +1,18 @@
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace Crypto_Notepad
{
public class HideCaretRichTextBox : ExRichTextBox
{
[DllImport("user32.dll", EntryPoint = "HideCaret")]
private static extern long HideCaret(IntPtr hwnd);
protected override void WndProc(ref Message m)
{
HideCaret(this.Handle);
base.WndProc(ref m);
}
}
}

View file

@ -0,0 +1,186 @@
using Microsoft.Win32;
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
namespace Crypto_Notepad
{
public static class Methods
{
static readonly string[] SizeSuffixes = { "bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB" };
public static void AppendLine(this TextBox source, string value)
{
if (source.Text.Length == 0)
source.Text = value;
else
source.AppendText("\r\n" + value);
}
public static bool IsOnScreen(Form form)
{
Rectangle formRectangle = new Rectangle(form.Left, form.Top, form.Width, form.Height);
return Screen.AllScreens.Any(s => s.WorkingArea.IntersectsWith(formRectangle));
}
public static void Times(this int count, Action action)
{
for (int i = 0; i < count; i++)
{
action();
}
}
public static string CheckDotNetVersion(int releaseKey)
{
if (releaseKey >= 528040)
return "4.8 or later";
if (releaseKey >= 461808)
return "4.7.2";
if (releaseKey >= 461308)
return "4.7.1";
if (releaseKey >= 460798)
return "4.7";
if (releaseKey >= 394802)
return "4.6.2";
if (releaseKey >= 394254)
return "4.6.1";
if (releaseKey >= 393295)
return "4.6";
if (releaseKey >= 379893)
return "4.5.2";
if (releaseKey >= 378675)
return "4.5.1";
if (releaseKey >= 378389)
return "4.5";
return "No 4.5 or later version detected";
}
public static string GetDotNetVersion()
{
int releaseKey;
using (RegistryKey ndpKey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine,
RegistryView.Registry32).OpenSubKey("SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full\\"))
{
releaseKey = Convert.ToInt32(ndpKey.GetValue("Release"));
}
return CheckDotNetVersion(releaseKey);
}
public static void DeleteUpdateFiles()
{
string exePath = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + @"\";
string UpdaterExe = exePath + "Updater.exe";
string UpdateZip = exePath + "Crypto-Notepad-Update.zip";
if (File.Exists(UpdaterExe))
{
File.Delete(UpdaterExe);
}
if (File.Exists(UpdateZip))
{
File.Delete(UpdateZip);
}
}
public static string SizeSuffix(long value)
{
if (value < 0) { return "-" + SizeSuffix(-value); }
int i = 0;
decimal dValue = (decimal)value;
while (Math.Round(dValue / 1024) >= 1)
{
dValue /= 1024;
i++;
}
return string.Format("{0:n1} {1}", dValue, SizeSuffixes[i]);
}
public static void AssociateExtension(string applicationExecutablePath, string extension)
{
try
{
RegistryKey key = Registry.CurrentUser.OpenSubKey("Software\\Classes", true);
key.CreateSubKey("." + extension).SetValue(string.Empty, extension + "_auto_file");
key = key.CreateSubKey(extension + "_auto_file");
key.CreateSubKey("DefaultIcon").SetValue(string.Empty, applicationExecutablePath + ",0");
key = key.CreateSubKey("Shell");
key.SetValue(string.Empty, "Open");
key = key.CreateSubKey("Open");
key.CreateSubKey("Command").SetValue(string.Empty, "\"" + applicationExecutablePath + "\" \"%1\" /o");
key.CreateSubKey("ddeexec\\Topic").SetValue(string.Empty, "System");
}
catch (Exception)
{
}
}
public static void DissociateExtension(string extension)
{
try
{
RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Software\Classes", true);
RegistryKey subKeyTree = Registry.CurrentUser.OpenSubKey(@"Software\Classes\" + extension + "_auto_file", true);
if (subKeyTree != null)
{
key.DeleteSubKeyTree(extension + "_auto_file");
key.DeleteSubKeyTree("." + extension);
}
}
catch { }
}
public static void MenuIntegrate(string action)
{
string appExePath = Assembly.GetEntryAssembly().Location;
try
{
if (action == "enable")
{
RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Software\Classes\", true);
key = key.CreateSubKey("*");
key = key.CreateSubKey("shell");
key.CreateSubKey("Crypto Notepad").SetValue("icon", appExePath);
key.CreateSubKey("Crypto Notepad").SetValue("SubCommands", "");
key.CreateSubKey(@"Crypto Notepad\shell");
key.CreateSubKey(@"Crypto Notepad\shell\cmd1\").SetValue("MUIVerb", "Encrypt");
key.CreateSubKey(@"Crypto Notepad\shell\cmd1\command").SetValue(string.Empty, "\"" + appExePath + "\" \"%1\" /er");
key.CreateSubKey(@"Crypto Notepad\shell\cmd2\").SetValue("MUIVerb", "Decrypt");
key.CreateSubKey(@"Crypto Notepad\shell\cmd2\command").SetValue(string.Empty, "\"" + appExePath + "\" \"%1\" /o");
}
if (action == "disable")
{
RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Software\Classes\*\shell\", true);
RegistryKey subKeyTree = Registry.CurrentUser.OpenSubKey(@"Software\Classes\*\shell\Crypto Notepad", true);
if (subKeyTree != null)
{
key.DeleteSubKeyTree("Crypto Notepad");
}
}
}
catch { }
}
public static void SendToShortcut()
{
string shortcutPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Microsoft\Windows\SendTo";
string shortcutName = PublicVar.appName + ".lnk";
string shortcutLocation = Path.Combine(shortcutPath, shortcutName);
string targetFileLocation = Assembly.GetEntryAssembly().Location;
IWshRuntimeLibrary.WshShell shell = new IWshRuntimeLibrary.WshShell();
IWshRuntimeLibrary.IWshShortcut shortcut = (IWshRuntimeLibrary.IWshShortcut)shell.CreateShortcut(shortcutLocation);
shortcut.Description = PublicVar.appName;
shortcut.IconLocation = targetFileLocation;
shortcut.TargetPath = targetFileLocation;
shortcut.Arguments = "/s";
shortcut.Save();
}
}
}

View file

@ -3,6 +3,7 @@
using System.Drawing; using System.Drawing;
using System.Windows.Forms; using System.Windows.Forms;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using Crypto_Notepad;
class CenterWinDialog : IDisposable class CenterWinDialog : IDisposable
{ {
@ -10,22 +11,25 @@ class CenterWinDialog : IDisposable
private Form mOwner; private Form mOwner;
public CenterWinDialog(Form owner) public CenterWinDialog(Form owner)
{
if (PublicVar.messageBoxCenterParent)
{ {
mOwner = owner; mOwner = owner;
owner.BeginInvoke(new MethodInvoker(findDialog)); owner.BeginInvoke(new MethodInvoker(FindDialog));
}
} }
private void findDialog() private void FindDialog()
{ {
// Enumerate windows to find the message box // Enumerate windows to find the message box
if (mTries < 0) return; if (mTries < 0) return;
EnumThreadWndProc callback = new EnumThreadWndProc(checkWindow); EnumThreadWndProc callback = new EnumThreadWndProc(CheckWindow);
if (EnumThreadWindows(GetCurrentThreadId(), callback, IntPtr.Zero)) if (EnumThreadWindows(GetCurrentThreadId(), callback, IntPtr.Zero))
{ {
if (++mTries < 10) mOwner.BeginInvoke(new MethodInvoker(findDialog)); if (++mTries < 10) mOwner.BeginInvoke(new MethodInvoker(FindDialog));
} }
} }
private bool checkWindow(IntPtr hWnd, IntPtr lp) private bool CheckWindow(IntPtr hWnd, IntPtr lp)
{ {
// Checks if <hWnd> is a dialog // Checks if <hWnd> is a dialog
StringBuilder sb = new StringBuilder(260); StringBuilder sb = new StringBuilder(260);
@ -33,8 +37,7 @@ private bool checkWindow(IntPtr hWnd, IntPtr lp)
if (sb.ToString() != "#32770") return true; if (sb.ToString() != "#32770") return true;
// Got it // Got it
Rectangle frmRect = new Rectangle(mOwner.Location, mOwner.Size); Rectangle frmRect = new Rectangle(mOwner.Location, mOwner.Size);
RECT dlgRect; GetWindowRect(hWnd, out RECT dlgRect);
GetWindowRect(hWnd, out dlgRect);
MoveWindow(hWnd, MoveWindow(hWnd,
frmRect.Left + (frmRect.Width - dlgRect.Right + dlgRect.Left) / 2, frmRect.Left + (frmRect.Width - dlgRect.Right + dlgRect.Left) / 2,
frmRect.Top + (frmRect.Height - dlgRect.Bottom + dlgRect.Top) / 2, frmRect.Top + (frmRect.Height - dlgRect.Bottom + dlgRect.Top) / 2,

View file

@ -0,0 +1,582 @@
using Microsoft.Win32;
using System;
using System.Runtime.InteropServices;
// http://www.codeproject.com/Articles/73000/Getting-Operating-System-Version-Info-Even-for-Win
//https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
//Thanks to Member 7861383, Scott Vickery for the Windows 8.1 update and workaround.
//I have moved it to the beginning of the Name property, though...
//Thakts to Brisingr Aerowing for help with the Windows 10 adapatation
namespace JCS
{
/// <summary>
/// Provides detailed information about the host operating system.
/// </summary>
public static class OSVersionInfo
{
#region ENUMS
public enum SoftwareArchitecture
{
Unknown = 0,
Bit32 = 1,
Bit64 = 2
}
public enum ProcessorArchitecture
{
Unknown = 0,
Bit32 = 1,
Bit64 = 2,
Itanium64 = 3
}
#endregion ENUMS
#region DELEGATE DECLARATION
private delegate bool IsWow64ProcessDelegate([In] IntPtr handle, [Out] out bool isWow64Process);
#endregion DELEGATE DECLARATION
#region NAME
static private string s_Name;
/// <summary>
/// Gets the name of the operating system running on this computer.
/// </summary>
static public string Name
{
get
{
if (s_Name != null)
return s_Name; //***** RETURN *****//
string name = "unknown";
OperatingSystem osVersion = Environment.OSVersion;
OSVERSIONINFOEX osVersionInfo = new OSVERSIONINFOEX();
osVersionInfo.dwOSVersionInfoSize = Marshal.SizeOf(typeof(OSVERSIONINFOEX));
if (GetVersionEx(ref osVersionInfo))
{
int majorVersion = osVersion.Version.Major;
int minorVersion = osVersion.Version.Minor;
if (majorVersion == 6 && minorVersion == 2)
{
//The registry read workaround is by Scott Vickery. Thanks a lot for the help!
//http://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx
// For applications that have been manifested for Windows 8.1 & Windows 10. Applications not manifested for 8.1 or 10 will return the Windows 8 OS version value (6.2).
// By reading the registry, we'll get the exact version - meaning we can even compare against Win 8 and Win 8.1.
string exactVersion = RegistryRead(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "CurrentVersion", "");
if (!string.IsNullOrEmpty(exactVersion))
{
string[] splitResult = exactVersion.Split('.');
majorVersion = Convert.ToInt32(splitResult[0]);
minorVersion = Convert.ToInt32(splitResult[1]);
}
if (IsWindows10())
{
majorVersion = 10;
minorVersion = 0;
}
}
switch (osVersion.Platform)
{
case PlatformID.Win32S:
name = "Windows 3.1";
break;
case PlatformID.WinCE:
name = "Windows CE";
break;
case PlatformID.Win32Windows:
{
if (majorVersion == 4)
{
string csdVersion = osVersionInfo.szCSDVersion;
switch (minorVersion)
{
case 0:
if (csdVersion == "B" || csdVersion == "C")
name = "Windows 95 OSR2";
else
name = "Windows 95";
break;
case 10:
if (csdVersion == "A")
name = "Windows 98 Second Edition";
else
name = "Windows 98";
break;
case 90:
name = "Windows Me";
break;
}
}
break;
}
case PlatformID.Win32NT:
{
byte productType = osVersionInfo.wProductType;
switch (majorVersion)
{
case 3:
name = "Windows NT 3.51";
break;
case 4:
switch (productType)
{
case 1:
name = "Windows NT 4.0";
break;
case 3:
name = "Windows NT 4.0 Server";
break;
}
break;
case 5:
switch (minorVersion)
{
case 0:
name = "Windows 2000";
break;
case 1:
name = "Windows XP";
break;
case 2:
name = "Windows Server 2003";
break;
}
break;
case 6:
switch (minorVersion)
{
case 0:
switch (productType)
{
case 1:
name = "Windows Vista";
break;
case 3:
name = "Windows Server 2008";
break;
}
break;
case 1:
switch (productType)
{
case 1:
name = "Windows 7";
break;
case 3:
name = "Windows Server 2008 R2";
break;
}
break;
case 2:
switch (productType)
{
case 1:
name = "Windows 8";
break;
case 3:
name = "Windows Server 2012";
break;
}
break;
case 3:
switch (productType)
{
case 1:
name = "Windows 8.1";
break;
case 3:
name = "Windows Server 2012 R2";
break;
}
break;
}
break;
case 10:
switch (minorVersion)
{
case 0:
switch (productType)
{
case 1:
name = "Windows 10";
break;
case 3:
name = "Windows Server 2016";
break;
}
break;
}
break;
}
break;
}
}
}
s_Name = name;
return name;
}
}
#endregion NAME
#region PINVOKE
#region GET
#region PRODUCT INFO
[DllImport("Kernel32.dll")]
internal static extern bool GetProductInfo(
int osMajorVersion,
int osMinorVersion,
int spMajorVersion,
int spMinorVersion,
out int edition);
#endregion PRODUCT INFO
#region VERSION
[DllImport("kernel32.dll")]
private static extern bool GetVersionEx(ref OSVERSIONINFOEX osVersionInfo);
#endregion VERSION
#region SYSTEMMETRICS
[DllImport("user32")]
public static extern int GetSystemMetrics(int nIndex);
#endregion SYSTEMMETRICS
#region SYSTEMINFO
[DllImport("kernel32.dll")]
public static extern void GetSystemInfo([MarshalAs(UnmanagedType.Struct)] ref SYSTEM_INFO lpSystemInfo);
[DllImport("kernel32.dll")]
public static extern void GetNativeSystemInfo([MarshalAs(UnmanagedType.Struct)] ref SYSTEM_INFO lpSystemInfo);
#endregion SYSTEMINFO
#endregion GET
#region OSVERSIONINFOEX
[StructLayout(LayoutKind.Sequential)]
private struct OSVERSIONINFOEX
{
public int dwOSVersionInfoSize;
public int dwMajorVersion;
public int dwMinorVersion;
public int dwBuildNumber;
public int dwPlatformId;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)]
public string szCSDVersion;
public short wServicePackMajor;
public short wServicePackMinor;
public short wSuiteMask;
public byte wProductType;
public byte wReserved;
}
#endregion OSVERSIONINFOEX
#region SYSTEM_INFO
[StructLayout(LayoutKind.Sequential)]
public struct SYSTEM_INFO
{
internal _PROCESSOR_INFO_UNION uProcessorInfo;
public uint dwPageSize;
public IntPtr lpMinimumApplicationAddress;
public IntPtr lpMaximumApplicationAddress;
public IntPtr dwActiveProcessorMask;
public uint dwNumberOfProcessors;
public uint dwProcessorType;
public uint dwAllocationGranularity;
public ushort dwProcessorLevel;
public ushort dwProcessorRevision;
}
#endregion SYSTEM_INFO
#region _PROCESSOR_INFO_UNION
[StructLayout(LayoutKind.Explicit)]
public struct _PROCESSOR_INFO_UNION
{
[FieldOffset(0)]
internal uint dwOemId;
[FieldOffset(0)]
internal ushort wProcessorArchitecture;
[FieldOffset(2)]
internal ushort wReserved;
}
#endregion _PROCESSOR_INFO_UNION
#region 64 BIT OS DETECTION
[DllImport("kernel32", SetLastError = true, CallingConvention = CallingConvention.Winapi)]
public extern static IntPtr LoadLibrary(string libraryName);
[DllImport("kernel32", SetLastError = true, CallingConvention = CallingConvention.Winapi)]
public extern static IntPtr GetProcAddress(IntPtr hwnd, string procedureName);
#endregion 64 BIT OS DETECTION
#region PRODUCT
private const int PRODUCT_UNDEFINED = 0x00000000;
private const int PRODUCT_ULTIMATE = 0x00000001;
private const int PRODUCT_HOME_BASIC = 0x00000002;
private const int PRODUCT_HOME_PREMIUM = 0x00000003;
private const int PRODUCT_ENTERPRISE = 0x00000004;
private const int PRODUCT_HOME_BASIC_N = 0x00000005;
private const int PRODUCT_BUSINESS = 0x00000006;
private const int PRODUCT_STANDARD_SERVER = 0x00000007;
private const int PRODUCT_DATACENTER_SERVER = 0x00000008;
private const int PRODUCT_SMALLBUSINESS_SERVER = 0x00000009;
private const int PRODUCT_ENTERPRISE_SERVER = 0x0000000A;
private const int PRODUCT_STARTER = 0x0000000B;
private const int PRODUCT_DATACENTER_SERVER_CORE = 0x0000000C;
private const int PRODUCT_STANDARD_SERVER_CORE = 0x0000000D;
private const int PRODUCT_ENTERPRISE_SERVER_CORE = 0x0000000E;
private const int PRODUCT_ENTERPRISE_SERVER_IA64 = 0x0000000F;
private const int PRODUCT_BUSINESS_N = 0x00000010;
private const int PRODUCT_WEB_SERVER = 0x00000011;
private const int PRODUCT_CLUSTER_SERVER = 0x00000012;
private const int PRODUCT_HOME_SERVER = 0x00000013;
private const int PRODUCT_STORAGE_EXPRESS_SERVER = 0x00000014;
private const int PRODUCT_STORAGE_STANDARD_SERVER = 0x00000015;
private const int PRODUCT_STORAGE_WORKGROUP_SERVER = 0x00000016;
private const int PRODUCT_STORAGE_ENTERPRISE_SERVER = 0x00000017;
private const int PRODUCT_SERVER_FOR_SMALLBUSINESS = 0x00000018;
private const int PRODUCT_SMALLBUSINESS_SERVER_PREMIUM = 0x00000019;
private const int PRODUCT_HOME_PREMIUM_N = 0x0000001A;
private const int PRODUCT_ENTERPRISE_N = 0x0000001B;
private const int PRODUCT_ULTIMATE_N = 0x0000001C;
private const int PRODUCT_WEB_SERVER_CORE = 0x0000001D;
private const int PRODUCT_MEDIUMBUSINESS_SERVER_MANAGEMENT = 0x0000001E;
private const int PRODUCT_MEDIUMBUSINESS_SERVER_SECURITY = 0x0000001F;
private const int PRODUCT_MEDIUMBUSINESS_SERVER_MESSAGING = 0x00000020;
private const int PRODUCT_SERVER_FOUNDATION = 0x00000021;
private const int PRODUCT_HOME_PREMIUM_SERVER = 0x00000022;
private const int PRODUCT_SERVER_FOR_SMALLBUSINESS_V = 0x00000023;
private const int PRODUCT_STANDARD_SERVER_V = 0x00000024;
private const int PRODUCT_DATACENTER_SERVER_V = 0x00000025;
private const int PRODUCT_ENTERPRISE_SERVER_V = 0x00000026;
private const int PRODUCT_DATACENTER_SERVER_CORE_V = 0x00000027;
private const int PRODUCT_STANDARD_SERVER_CORE_V = 0x00000028;
private const int PRODUCT_ENTERPRISE_SERVER_CORE_V = 0x00000029;
private const int PRODUCT_HYPERV = 0x0000002A;
private const int PRODUCT_STORAGE_EXPRESS_SERVER_CORE = 0x0000002B;
private const int PRODUCT_STORAGE_STANDARD_SERVER_CORE = 0x0000002C;
private const int PRODUCT_STORAGE_WORKGROUP_SERVER_CORE = 0x0000002D;
private const int PRODUCT_STORAGE_ENTERPRISE_SERVER_CORE = 0x0000002E;
private const int PRODUCT_STARTER_N = 0x0000002F;
private const int PRODUCT_PROFESSIONAL = 0x00000030;
private const int PRODUCT_PROFESSIONAL_N = 0x00000031;
private const int PRODUCT_SB_SOLUTION_SERVER = 0x00000032;
private const int PRODUCT_SERVER_FOR_SB_SOLUTIONS = 0x00000033;
private const int PRODUCT_STANDARD_SERVER_SOLUTIONS = 0x00000034;
private const int PRODUCT_STANDARD_SERVER_SOLUTIONS_CORE = 0x00000035;
private const int PRODUCT_SB_SOLUTION_SERVER_EM = 0x00000036;
private const int PRODUCT_SERVER_FOR_SB_SOLUTIONS_EM = 0x00000037;
private const int PRODUCT_SOLUTION_EMBEDDEDSERVER = 0x00000038;
private const int PRODUCT_SOLUTION_EMBEDDEDSERVER_CORE = 0x00000039;
//private const int ???? = 0x0000003A;
private const int PRODUCT_ESSENTIALBUSINESS_SERVER_MGMT = 0x0000003B;
private const int PRODUCT_ESSENTIALBUSINESS_SERVER_ADDL = 0x0000003C;
private const int PRODUCT_ESSENTIALBUSINESS_SERVER_MGMTSVC = 0x0000003D;
private const int PRODUCT_ESSENTIALBUSINESS_SERVER_ADDLSVC = 0x0000003E;
private const int PRODUCT_SMALLBUSINESS_SERVER_PREMIUM_CORE = 0x0000003F;
private const int PRODUCT_CLUSTER_SERVER_V = 0x00000040;
private const int PRODUCT_EMBEDDED = 0x00000041;
private const int PRODUCT_STARTER_E = 0x00000042;
private const int PRODUCT_HOME_BASIC_E = 0x00000043;
private const int PRODUCT_HOME_PREMIUM_E = 0x00000044;
private const int PRODUCT_PROFESSIONAL_E = 0x00000045;
private const int PRODUCT_ENTERPRISE_E = 0x00000046;
private const int PRODUCT_ULTIMATE_E = 0x00000047;
//private const int PRODUCT_UNLICENSED = 0xABCDABCD;
#endregion PRODUCT
#region VERSIONS
private const int VER_NT_WORKSTATION = 1;
private const int VER_NT_DOMAIN_CONTROLLER = 2;
private const int VER_NT_SERVER = 3;
private const int VER_SUITE_SMALLBUSINESS = 1;
private const int VER_SUITE_ENTERPRISE = 2;
private const int VER_SUITE_TERMINAL = 16;
private const int VER_SUITE_DATACENTER = 128;
private const int VER_SUITE_SINGLEUSERTS = 256;
private const int VER_SUITE_PERSONAL = 512;
private const int VER_SUITE_BLADE = 1024;
#endregion VERSIONS
#endregion PINVOKE
#region VERSION
#region BUILD
/// <summary>
/// Gets the build version number of the operating system running on this computer.
/// </summary>
static public int BuildVersion
{
get
{
return int.Parse(RegistryRead(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "CurrentBuildNumber", "0"));
}
}
#endregion BUILD
#region FULL
#region STRING
/// <summary>
/// Gets the full version string of the operating system running on this computer.
/// </summary>
static public string VersionString
{
get
{
return Version.ToString();
}
}
#endregion STRING
#region VERSION
/// <summary>
/// Gets the full version of the operating system running on this computer.
/// </summary>
static public Version Version
{
get
{
return new Version(MajorVersion, MinorVersion, BuildVersion, RevisionVersion);
}
}
#endregion VERSION
#endregion FULL
#region MAJOR
/// <summary>
/// Gets the major version number of the operating system running on this computer.
/// </summary>
static public int MajorVersion
{
get
{
if(IsWindows10())
{
return 10;
}
string exactVersion = RegistryRead(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "CurrentVersion", "");
if(!string.IsNullOrEmpty(exactVersion))
{
string[] splitVersion = exactVersion.Split('.');
return int.Parse(splitVersion[0]);
}
return Environment.OSVersion.Version.Major;
}
}
#endregion MAJOR
#region MINOR
/// <summary>
/// Gets the minor version number of the operating system running on this computer.
/// </summary>
static public int MinorVersion
{
get
{
if (IsWindows10())
{
return 0;
}
string exactVersion = RegistryRead(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "CurrentVersion", "");
if (!string.IsNullOrEmpty(exactVersion))
{
string[] splitVersion = exactVersion.Split('.');
return int.Parse(splitVersion[1]);
}
return Environment.OSVersion.Version.Minor;
}
}
#endregion MINOR
#region REVISION
/// <summary>
/// Gets the revision version number of the operating system running on this computer.
/// </summary>
static public int RevisionVersion
{
get
{
if(IsWindows10())
{
return 0;
}
return Environment.OSVersion.Version.Revision;
}
}
#endregion REVISION
#endregion VERSION
#region Windows 10 Detection
private static bool IsWindows10()
{
string productName = RegistryRead(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "ProductName", "");
if (productName.StartsWith("Windows 10", StringComparison.OrdinalIgnoreCase))
{
return true;
}
return false;
}
#endregion
#region Registry Methods
private static string RegistryRead(string RegistryPath, string Field, string DefaultValue)
{
string rtn = "";
string backSlash = "";
string newRegistryPath = "";
try
{
RegistryKey OurKey = null;
string[] split_result = RegistryPath.Split('\\');
if (split_result.Length > 0)
{
split_result[0] = split_result[0].ToUpper(); // Make the first entry uppercase...
if (split_result[0] == "HKEY_CLASSES_ROOT") OurKey = Registry.ClassesRoot;
else if (split_result[0] == "HKEY_CURRENT_USER") OurKey = Registry.CurrentUser;
else if (split_result[0] == "HKEY_LOCAL_MACHINE") OurKey = Registry.LocalMachine;
else if (split_result[0] == "HKEY_USERS") OurKey = Registry.Users;
else if (split_result[0] == "HKEY_CURRENT_CONFIG") OurKey = Registry.CurrentConfig;
if (OurKey != null)
{
for (int i = 1; i < split_result.Length; i++)
{
newRegistryPath += backSlash + split_result[i];
backSlash = "\\";
}
if (newRegistryPath != "")
{
//rtn = (string)Registry.GetValue(RegistryPath, "CurrentVersion", DefaultValue);
OurKey = OurKey.OpenSubKey(newRegistryPath);
rtn = (string)OurKey.GetValue(Field, DefaultValue);
OurKey.Close();
}
}
}
}
catch { }
return rtn;
}
#endregion Registry Methods
}
}

View file

@ -0,0 +1,257 @@
using System.Drawing;
using System.ComponentModel;
namespace System.Windows.Forms
{
public class PlaceholderTextBox : TextBox
{
#region Fields
#region Protected Fields
protected string _placeholderText = "Default placeholder"; //The placeholder text
protected Color _placeholderColor; //Color of the placeholder when the control does not have focus
protected Color _placeholderActiveColor; //Color of the placeholder when the control has focus
#endregion
#region Private Fields
private Panel placeholderContainer; //Container to hold the placeholder
private Font placeholderFont; //Font of the placeholder
private SolidBrush placeholderBrush; //Brush for the placeholder
#endregion
#endregion
#region Constructors
public PlaceholderTextBox()
{
Initialize();
}
#endregion
#region Private Methods
/// <summary>
/// Initializes placeholder properties and adds CtextBox events
/// </summary>
private void Initialize()
{
//Sets some default values to the placeholder properties
_placeholderColor = Color.LightGray;
_placeholderActiveColor = Color.Gray;
placeholderFont = Font;
placeholderBrush = new SolidBrush(_placeholderActiveColor);
placeholderContainer = null;
//Draw the placeholder, so we can see it in design time
DrawPlaceholder();
//Eventhandlers which contains function calls.
//Either to draw or to remove the placeholder
Enter += new EventHandler(ThisHasFocus);
Leave += new EventHandler(ThisWasLeaved);
TextChanged += new EventHandler(ThisTextChanged);
}
/// <summary>
/// Removes the placeholder if it should
/// </summary>
private void RemovePlaceholder()
{
if (placeholderContainer != null)
{
Controls.Remove(placeholderContainer);
placeholderContainer = null;
}
}
/// <summary>
/// Draws the placeholder if the text length is 0
/// </summary>
private void DrawPlaceholder()
{
if (placeholderContainer == null && TextLength <= 0)
{
placeholderContainer = new Panel(); // Creates the new panel instance
placeholderContainer.Paint += new PaintEventHandler(placeholderContainer_Paint);
placeholderContainer.Invalidate();
placeholderContainer.Click += new EventHandler(placeholderContainer_Click);
Controls.Add(placeholderContainer); // adds the control
}
}
#endregion
#region Eventhandlers
#region Placeholder Events
private void placeholderContainer_Click(object sender, EventArgs e)
{
Focus(); //Makes sure you can click wherever you want on the control to gain focus
}
private void placeholderContainer_Paint(object sender, PaintEventArgs e)
{
//Setting the placeholder container up
placeholderContainer.Location = new Point(2, 0); // sets the location
placeholderContainer.Height = Height; // Height should be the same as its parent
placeholderContainer.Width = Width; // same goes for width and the parent
placeholderContainer.Anchor = AnchorStyles.Left | AnchorStyles.Right; // makes sure that it resizes with the parent control
if (ContainsFocus)
{
//if focused use normal color
placeholderBrush = new SolidBrush(_placeholderActiveColor);
}
else
{
//if not focused use not active color
placeholderBrush = new SolidBrush(_placeholderColor);
}
//Drawing the string into the panel
Graphics g = e.Graphics;
g.DrawString(_placeholderText, placeholderFont, placeholderBrush, new PointF(-2f, 1f));//Take a look at that point
//The reason I'm using the panel at all, is because of this feature, that it has no limits
//I started out with a label but that looked very very bad because of its paddings
}
#endregion
#region CTextBox Events
private void ThisHasFocus(object sender, EventArgs e)
{
//if focused use focus color
placeholderBrush = new SolidBrush(_placeholderActiveColor);
//The placeholder should not be drawn if the user has already written some text
if (TextLength <= 0)
{
RemovePlaceholder();
DrawPlaceholder();
}
}
private void ThisWasLeaved(object sender, EventArgs e)
{
//if the user has written something and left the control
if (TextLength > 0)
{
//Remove the placeholder
RemovePlaceholder();
}
else
{
//But if the user didn't write anything, Then redraw the control.
Invalidate();
}
}
private void ThisTextChanged(object sender, EventArgs e)
{
//If the text of the textbox is not empty
if (TextLength > 0)
{
//Remove the placeholder
RemovePlaceholder();
}
else
{
//But if the text is empty, draw the placeholder again.
DrawPlaceholder();
}
}
#region Overrided Events
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
//Draw the placeholder even in design time
DrawPlaceholder();
}
protected override void OnInvalidated(InvalidateEventArgs e)
{
base.OnInvalidated(e);
//Check if there is a placeholder
if (placeholderContainer != null)
//if there is a placeholder it should also be invalidated();
placeholderContainer.Invalidate();
}
#endregion
#endregion
#endregion
#region Properties
[Category("Placeholder attribtues")]
[Description("Sets the text of the placeholder")]
public string Placeholder
{
get { return _placeholderText; }
set
{
_placeholderText = value;
Invalidate();
}
}
[Category("Placeholder attribtues")]
[Description("When the control gaines focus, this color will be used as the placeholder's forecolor")]
public Color PlaceholderActiveForeColor
{
get { return _placeholderActiveColor; }
set
{
_placeholderActiveColor = value;
Invalidate();
}
}
[Category("Placeholder attribtues")]
[Description("When the control looses focus, this color will be used as the placeholder's forecolor")]
public Color PlaceholderForeColor
{
get { return _placeholderColor; }
set
{
_placeholderColor = value;
Invalidate();
}
}
[Category("Placeholder attribtues")]
[Description("The font used on the watermark. Default is the same as the control")]
public Font PlaceholderFont
{
get
{
return placeholderFont;
}
set
{
placeholderFont = value;
Invalidate();
}
}
#endregion
}
}

View file

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<Costura />
</Weavers>

View file

@ -0,0 +1,111 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- This file was generated by Fody. Manual changes to this file will be lost when your project is rebuilt. -->
<xs:element name="Weavers">
<xs:complexType>
<xs:all>
<xs:element name="Costura" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:all>
<xs:element minOccurs="0" maxOccurs="1" name="ExcludeAssemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="IncludeAssemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="Unmanaged32Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged 32 bit assembly names to include, delimited with line breaks.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="Unmanaged64Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged 64 bit assembly names to include, delimited with line breaks.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="PreloadOrder" type="xs:string">
<xs:annotation>
<xs:documentation>The order of preloaded assemblies, delimited with line breaks.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
<xs:attribute name="CreateTemporaryAssemblies" type="xs:boolean">
<xs:annotation>
<xs:documentation>This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IncludeDebugSymbols" type="xs:boolean">
<xs:annotation>
<xs:documentation>Controls if .pdbs for reference assemblies are also embedded.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DisableCompression" type="xs:boolean">
<xs:annotation>
<xs:documentation>Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DisableCleanup" type="xs:boolean">
<xs:annotation>
<xs:documentation>As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LoadAtModuleInit" type="xs:boolean">
<xs:annotation>
<xs:documentation>Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IgnoreSatelliteAssemblies" type="xs:boolean">
<xs:annotation>
<xs:documentation>Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ExcludeAssemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with |</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IncludeAssemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Unmanaged32Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged 32 bit assembly names to include, delimited with |.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Unmanaged64Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged 64 bit assembly names to include, delimited with |.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PreloadOrder" type="xs:string">
<xs:annotation>
<xs:documentation>The order of preloaded assemblies, delimited with |.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="VerifyAssembly" type="xs:boolean">
<xs:annotation>
<xs:documentation>'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="VerifyIgnoreCodes" type="xs:string">
<xs:annotation>
<xs:documentation>A comma-separated list of error codes that can be safely ignored in assembly verification.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="GenerateXsd" type="xs:boolean">
<xs:annotation>
<xs:documentation>'false' to turn off automatic generation of the XML Schema file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>

View file

@ -1,927 +0,0 @@
namespace Crypto_Notepad
{
partial class MainWindow
{
/// <summary>
/// Требуется переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
/// </summary>
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Код, автоматически созданный конструктором форм Windows
/// <summary>
/// Обязательный метод для поддержки конструктора - не изменяйте
/// содержимое данного метода при помощи редактора кода.
/// </summary>
public void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
this.MainMenu = new System.Windows.Forms.MenuStrip();
this.файлToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator();
this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.openFileLocationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.deleteFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.правкаToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
this.findToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.wordWrapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.clearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.сервисToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.changeKeyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.lockToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.помощьToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.documentationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.сheckForUpdatesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.undoToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this.cutToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.copyToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.pasteToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.deleteToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
this.selectAllToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.rightToLeftToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
this.clearToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.OpenFile = new System.Windows.Forms.OpenFileDialog();
this.SaveFile = new System.Windows.Forms.SaveFileDialog();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.pictureBox12 = new System.Windows.Forms.PictureBox();
this.pictureBox5 = new System.Windows.Forms.PictureBox();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox11 = new System.Windows.Forms.PictureBox();
this.pictureBox10 = new System.Windows.Forms.PictureBox();
this.pictureBox9 = new System.Windows.Forms.PictureBox();
this.pictureBox8 = new System.Windows.Forms.PictureBox();
this.pictureBox7 = new System.Windows.Forms.PictureBox();
this.pictureBox6 = new System.Windows.Forms.PictureBox();
this.pictureBox4 = new System.Windows.Forms.PictureBox();
this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.pictureBox13 = new System.Windows.Forms.PictureBox();
this.searchTextBox = new System.Windows.Forms.TextBox();
this.chkMatchCase = new System.Windows.Forms.CheckBox();
this.chkMatchWholeWord = new System.Windows.Forms.CheckBox();
this.panel1 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.customRTB = new Crypto_Notepad.CustomRichTextBox();
this.MainMenu.SuspendLayout();
this.contextMenuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox12)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox11)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox13)).BeginInit();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// MainMenu
//
this.MainMenu.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.MainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.файлToolStripMenuItem,
this.правкаToolStripMenuItem,
this.сервисToolStripMenuItem,
this.помощьToolStripMenuItem});
this.MainMenu.Location = new System.Drawing.Point(0, 0);
this.MainMenu.Name = "MainMenu";
this.MainMenu.Padding = new System.Windows.Forms.Padding(0);
this.MainMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
this.MainMenu.Size = new System.Drawing.Size(535, 24);
this.MainMenu.TabIndex = 0;
this.MainMenu.Text = "menuStrip1";
//
// файлToolStripMenuItem
//
this.файлToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.newToolStripMenuItem,
this.openToolStripMenuItem,
this.toolStripSeparator11,
this.saveToolStripMenuItem1,
this.saveAsToolStripMenuItem,
this.toolStripSeparator4,
this.openFileLocationToolStripMenuItem,
this.deleteFileToolStripMenuItem,
this.toolStripSeparator2,
this.exitToolStripMenuItem});
this.файлToolStripMenuItem.Name = айлToolStripMenuItem";
this.файлToolStripMenuItem.Size = new System.Drawing.Size(36, 24);
this.файлToolStripMenuItem.Text = "File";
this.файлToolStripMenuItem.DropDownOpened += new System.EventHandler(this.файлToolStripMenuItem_DropDownOpened);
//
// newToolStripMenuItem
//
this.newToolStripMenuItem.Name = "newToolStripMenuItem";
this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
this.newToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.newToolStripMenuItem.Text = "New";
this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click_1);
//
// openToolStripMenuItem
//
this.openToolStripMenuItem.Name = "openToolStripMenuItem";
this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
this.openToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.openToolStripMenuItem.Text = "Open...";
this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
//
// toolStripSeparator11
//
this.toolStripSeparator11.Name = "toolStripSeparator11";
this.toolStripSeparator11.Size = new System.Drawing.Size(199, 6);
//
// saveToolStripMenuItem1
//
this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1";
this.saveToolStripMenuItem1.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
this.saveToolStripMenuItem1.Size = new System.Drawing.Size(202, 22);
this.saveToolStripMenuItem1.Text = "Save";
this.saveToolStripMenuItem1.Click += new System.EventHandler(this.saveToolStripMenuItem1_Click_1);
//
// saveAsToolStripMenuItem
//
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
this.saveAsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.S)));
this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.saveAsToolStripMenuItem.Text = "Save As...";
this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.saveAsToolStripMenuItem_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(199, 6);
//
// openFileLocationToolStripMenuItem
//
this.openFileLocationToolStripMenuItem.Name = "openFileLocationToolStripMenuItem";
this.openFileLocationToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.openFileLocationToolStripMenuItem.Text = "Open File Location";
this.openFileLocationToolStripMenuItem.Click += new System.EventHandler(this.openFileLocationToolStripMenuItem_Click);
//
// deleteFileToolStripMenuItem
//
this.deleteFileToolStripMenuItem.Name = "deleteFileToolStripMenuItem";
this.deleteFileToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.deleteFileToolStripMenuItem.Text = "Delete File";
this.deleteFileToolStripMenuItem.Click += new System.EventHandler(this.deleteFileToolStripMenuItem_Click_1);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(199, 6);
//
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q)));
this.exitToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.exitToolStripMenuItem.Text = "Exit";
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
//
// правкаToolStripMenuItem
//
this.правкаToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.undoToolStripMenuItem,
this.toolStripSeparator1,
this.cutToolStripMenuItem,
this.copyToolStripMenuItem,
this.pasteToolStripMenuItem,
this.deleteToolStripMenuItem,
this.toolStripSeparator9,
this.findToolStripMenuItem2,
this.toolStripSeparator3,
this.selectAllToolStripMenuItem,
this.wordWrapToolStripMenuItem,
this.toolStripSeparator5,
this.clearToolStripMenuItem});
this.правкаToolStripMenuItem.Name = "правкаToolStripMenuItem";
this.правкаToolStripMenuItem.Size = new System.Drawing.Size(40, 24);
this.правкаToolStripMenuItem.Text = "Edit";
this.правкаToolStripMenuItem.DropDownOpened += new System.EventHandler(this.правкаToolStripMenuItem_DropDownOpened);
//
// undoToolStripMenuItem
//
this.undoToolStripMenuItem.Name = "undoToolStripMenuItem";
this.undoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)));
this.undoToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
this.undoToolStripMenuItem.Text = "Undo";
this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(162, 6);
//
// cutToolStripMenuItem
//
this.cutToolStripMenuItem.Enabled = false;
this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
this.cutToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
this.cutToolStripMenuItem.Text = "Cut";
this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click);
//
// copyToolStripMenuItem
//
this.copyToolStripMenuItem.Enabled = false;
this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
this.copyToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
this.copyToolStripMenuItem.Text = "Copy";
this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
//
// pasteToolStripMenuItem
//
this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
this.pasteToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
this.pasteToolStripMenuItem.Text = "Paste";
this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click);
//
// deleteToolStripMenuItem
//
this.deleteToolStripMenuItem.Enabled = false;
this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
this.deleteToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete;
this.deleteToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
this.deleteToolStripMenuItem.Text = "Delete";
this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click);
//
// toolStripSeparator9
//
this.toolStripSeparator9.Name = "toolStripSeparator9";
this.toolStripSeparator9.Size = new System.Drawing.Size(162, 6);
//
// findToolStripMenuItem2
//
this.findToolStripMenuItem2.Name = "findToolStripMenuItem2";
this.findToolStripMenuItem2.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)));
this.findToolStripMenuItem2.Size = new System.Drawing.Size(165, 22);
this.findToolStripMenuItem2.Text = "Find";
this.findToolStripMenuItem2.Click += new System.EventHandler(this.findToolStripMenuItem2_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(162, 6);
//
// selectAllToolStripMenuItem
//
this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
this.selectAllToolStripMenuItem.ShortcutKeyDisplayString = "";
this.selectAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
this.selectAllToolStripMenuItem.Text = "Select All";
this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click);
//
// wordWrapToolStripMenuItem
//
this.wordWrapToolStripMenuItem.Checked = true;
this.wordWrapToolStripMenuItem.CheckOnClick = true;
this.wordWrapToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
this.wordWrapToolStripMenuItem.Name = "wordWrapToolStripMenuItem";
this.wordWrapToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
this.wordWrapToolStripMenuItem.Text = "Word Wrap";
this.wordWrapToolStripMenuItem.Click += new System.EventHandler(this.wordWrapToolStripMenuItem_Click);
//
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(162, 6);
//
// clearToolStripMenuItem
//
this.clearToolStripMenuItem.Name = "clearToolStripMenuItem";
this.clearToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Delete)));
this.clearToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
this.clearToolStripMenuItem.Text = "Clear";
this.clearToolStripMenuItem.Click += new System.EventHandler(this.clearToolStripMenuItem_Click);
//
// сервисToolStripMenuItem
//
this.сервисToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.changeKeyToolStripMenuItem,
this.lockToolStripMenuItem,
this.settingsToolStripMenuItem});
this.сервисToolStripMenuItem.Name = "сервисToolStripMenuItem";
this.сервисToolStripMenuItem.Size = new System.Drawing.Size(48, 24);
this.сервисToolStripMenuItem.Text = "Tools";
this.сервисToolStripMenuItem.DropDownOpened += new System.EventHandler(this.сервисToolStripMenuItem_DropDownOpened);
//
// changeKeyToolStripMenuItem
//
this.changeKeyToolStripMenuItem.Name = "changeKeyToolStripMenuItem";
this.changeKeyToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
this.changeKeyToolStripMenuItem.Text = "Change Key";
this.changeKeyToolStripMenuItem.Click += new System.EventHandler(this.changeKeyToolStripMenuItem_Click);
//
// lockToolStripMenuItem
//
this.lockToolStripMenuItem.Name = "lockToolStripMenuItem";
this.lockToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
this.lockToolStripMenuItem.Text = "Lock";
this.lockToolStripMenuItem.Click += new System.EventHandler(this.lockToolStripMenuItem_Click);
//
// settingsToolStripMenuItem
//
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
this.settingsToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
this.settingsToolStripMenuItem.Text = "Settings";
this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click);
//
// помощьToolStripMenuItem
//
this.помощьToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.documentationToolStripMenuItem,
this.сheckForUpdatesToolStripMenuItem,
this.aboutToolStripMenuItem});
this.помощьToolStripMenuItem.Name = "помощьToolStripMenuItem";
this.помощьToolStripMenuItem.Size = new System.Drawing.Size(43, 24);
this.помощьToolStripMenuItem.Text = "Help";
//
// documentationToolStripMenuItem
//
this.documentationToolStripMenuItem.Name = "documentationToolStripMenuItem";
this.documentationToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1;
this.documentationToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
this.documentationToolStripMenuItem.Text = "Documentation";
this.documentationToolStripMenuItem.Click += new System.EventHandler(this.documentationToolStripMenuItem_Click);
//
// сheckForUpdatesToolStripMenuItem
//
this.сheckForUpdatesToolStripMenuItem.Name = "сheckForUpdatesToolStripMenuItem";
this.сheckForUpdatesToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
this.сheckForUpdatesToolStripMenuItem.Text = "Сheck for Updates...";
this.сheckForUpdatesToolStripMenuItem.Click += new System.EventHandler(this.сheckForUpdatesToolStripMenuItem_Click);
//
// aboutToolStripMenuItem
//
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
this.aboutToolStripMenuItem.Text = "About";
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.undoToolStripMenuItem1,
this.toolStripSeparator6,
this.cutToolStripMenuItem1,
this.copyToolStripMenuItem1,
this.pasteToolStripMenuItem1,
this.deleteToolStripMenuItem1,
this.toolStripSeparator8,
this.selectAllToolStripMenuItem1,
this.rightToLeftToolStripMenuItem,
this.toolStripSeparator7,
this.clearToolStripMenuItem1});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(185, 198);
this.contextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip1_Opening);
//
// undoToolStripMenuItem1
//
this.undoToolStripMenuItem1.Name = "undoToolStripMenuItem1";
this.undoToolStripMenuItem1.Size = new System.Drawing.Size(184, 22);
this.undoToolStripMenuItem1.Text = "Undo";
this.undoToolStripMenuItem1.Click += new System.EventHandler(this.undoToolStripMenuItem1_Click);
//
// toolStripSeparator6
//
this.toolStripSeparator6.Name = "toolStripSeparator6";
this.toolStripSeparator6.Size = new System.Drawing.Size(181, 6);
//
// cutToolStripMenuItem1
//
this.cutToolStripMenuItem1.Name = "cutToolStripMenuItem1";
this.cutToolStripMenuItem1.Size = new System.Drawing.Size(184, 22);
this.cutToolStripMenuItem1.Text = "Cut";
this.cutToolStripMenuItem1.Click += new System.EventHandler(this.cutToolStripMenuItem1_Click);
//
// copyToolStripMenuItem1
//
this.copyToolStripMenuItem1.Name = "copyToolStripMenuItem1";
this.copyToolStripMenuItem1.Size = new System.Drawing.Size(184, 22);
this.copyToolStripMenuItem1.Text = "Copy";
this.copyToolStripMenuItem1.Click += new System.EventHandler(this.copyToolStripMenuItem1_Click);
//
// pasteToolStripMenuItem1
//
this.pasteToolStripMenuItem1.Name = "pasteToolStripMenuItem1";
this.pasteToolStripMenuItem1.Size = new System.Drawing.Size(184, 22);
this.pasteToolStripMenuItem1.Text = "Paste";
this.pasteToolStripMenuItem1.Click += new System.EventHandler(this.pasteToolStripMenuItem1_Click);
//
// deleteToolStripMenuItem1
//
this.deleteToolStripMenuItem1.Name = "deleteToolStripMenuItem1";
this.deleteToolStripMenuItem1.Size = new System.Drawing.Size(184, 22);
this.deleteToolStripMenuItem1.Text = "Delete";
this.deleteToolStripMenuItem1.Click += new System.EventHandler(this.deleteToolStripMenuItem1_Click);
//
// toolStripSeparator8
//
this.toolStripSeparator8.Name = "toolStripSeparator8";
this.toolStripSeparator8.Size = new System.Drawing.Size(181, 6);
//
// selectAllToolStripMenuItem1
//
this.selectAllToolStripMenuItem1.Name = "selectAllToolStripMenuItem1";
this.selectAllToolStripMenuItem1.Size = new System.Drawing.Size(184, 22);
this.selectAllToolStripMenuItem1.Text = "Select All";
this.selectAllToolStripMenuItem1.Click += new System.EventHandler(this.selectAllToolStripMenuItem1_Click);
//
// rightToLeftToolStripMenuItem
//
this.rightToLeftToolStripMenuItem.CheckOnClick = true;
this.rightToLeftToolStripMenuItem.Name = "rightToLeftToolStripMenuItem";
this.rightToLeftToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.rightToLeftToolStripMenuItem.Text = "Right-to-left reading";
this.rightToLeftToolStripMenuItem.Click += new System.EventHandler(this.rightToLeftToolStripMenuItem_Click);
//
// toolStripSeparator7
//
this.toolStripSeparator7.Name = "toolStripSeparator7";
this.toolStripSeparator7.Size = new System.Drawing.Size(181, 6);
//
// clearToolStripMenuItem1
//
this.clearToolStripMenuItem1.Name = "clearToolStripMenuItem1";
this.clearToolStripMenuItem1.Size = new System.Drawing.Size(184, 22);
this.clearToolStripMenuItem1.Text = "Clear";
this.clearToolStripMenuItem1.Click += new System.EventHandler(this.clearToolStripMenuItem1_Click);
//
// OpenFile
//
this.OpenFile.Filter = "Crypto Notepad (*.cnp)|*.cnp|All files (*.*)|*.*";
//
// SaveFile
//
this.SaveFile.Filter = "Crypto Notepad (*.cnp)|*.cnp";
//
// button1
//
this.button1.Location = new System.Drawing.Point(701, 151);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 3;
this.button1.Text = "ENC";
this.button1.UseVisualStyleBackColor = true;
this.button1.Visible = false;
//
// button2
//
this.button2.Location = new System.Drawing.Point(701, 180);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 4;
this.button2.Text = "DEC";
this.button2.UseVisualStyleBackColor = true;
this.button2.Visible = false;
//
// pictureBox12
//
this.pictureBox12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.pictureBox12.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox12.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox12.Image")));
this.pictureBox12.Location = new System.Drawing.Point(516, 5);
this.pictureBox12.Name = "pictureBox12";
this.pictureBox12.Size = new System.Drawing.Size(14, 14);
this.pictureBox12.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox12.TabIndex = 14;
this.pictureBox12.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox12, "Hide Toolbar");
this.pictureBox12.Click += new System.EventHandler(this.pictureBox12_Click);
this.pictureBox12.MouseEnter += new System.EventHandler(this.pictureBox12_MouseEnter);
this.pictureBox12.MouseLeave += new System.EventHandler(this.pictureBox12_MouseLeave);
//
// pictureBox5
//
this.pictureBox5.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox5.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox5.Image")));
this.pictureBox5.Location = new System.Drawing.Point(235, 3);
this.pictureBox5.Name = "pictureBox5";
this.pictureBox5.Size = new System.Drawing.Size(16, 16);
this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox5.TabIndex = 15;
this.pictureBox5.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox5, "Settings");
this.pictureBox5.Click += new System.EventHandler(this.pictureBox5_Click);
//
// pictureBox2
//
this.pictureBox2.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
this.pictureBox2.Location = new System.Drawing.Point(10, 3);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(16, 16);
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox2.TabIndex = 15;
this.pictureBox2.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox2, "New");
this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click);
//
// pictureBox11
//
this.pictureBox11.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox11.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox11.Image")));
this.pictureBox11.Location = new System.Drawing.Point(210, 3);
this.pictureBox11.Name = "pictureBox11";
this.pictureBox11.Size = new System.Drawing.Size(16, 16);
this.pictureBox11.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox11.TabIndex = 15;
this.pictureBox11.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox11, "Change Key");
this.pictureBox11.Click += new System.EventHandler(this.pictureBox11_Click);
//
// pictureBox10
//
this.pictureBox10.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox10.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox10.Image")));
this.pictureBox10.Location = new System.Drawing.Point(185, 3);
this.pictureBox10.Name = "pictureBox10";
this.pictureBox10.Size = new System.Drawing.Size(16, 16);
this.pictureBox10.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox10.TabIndex = 15;
this.pictureBox10.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox10, "Paste");
this.pictureBox10.Click += new System.EventHandler(this.pictureBox10_Click);
//
// pictureBox9
//
this.pictureBox9.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox9.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox9.Image")));
this.pictureBox9.Location = new System.Drawing.Point(160, 3);
this.pictureBox9.Name = "pictureBox9";
this.pictureBox9.Size = new System.Drawing.Size(16, 16);
this.pictureBox9.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox9.TabIndex = 15;
this.pictureBox9.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox9, "Copy");
this.pictureBox9.Click += new System.EventHandler(this.pictureBox9_Click);
//
// pictureBox8
//
this.pictureBox8.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox8.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox8.Image")));
this.pictureBox8.Location = new System.Drawing.Point(135, 3);
this.pictureBox8.Name = "pictureBox8";
this.pictureBox8.Size = new System.Drawing.Size(16, 16);
this.pictureBox8.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox8.TabIndex = 15;
this.pictureBox8.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox8, "Cut");
this.pictureBox8.Click += new System.EventHandler(this.pictureBox8_Click);
//
// pictureBox7
//
this.pictureBox7.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox7.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox7.Image")));
this.pictureBox7.Location = new System.Drawing.Point(110, 3);
this.pictureBox7.Name = "pictureBox7";
this.pictureBox7.Size = new System.Drawing.Size(16, 16);
this.pictureBox7.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox7.TabIndex = 15;
this.pictureBox7.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox7, "Delete File");
this.pictureBox7.Click += new System.EventHandler(this.pictureBox7_Click);
//
// pictureBox6
//
this.pictureBox6.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox6.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox6.Image")));
this.pictureBox6.Location = new System.Drawing.Point(85, 3);
this.pictureBox6.Name = "pictureBox6";
this.pictureBox6.Size = new System.Drawing.Size(16, 16);
this.pictureBox6.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox6.TabIndex = 15;
this.pictureBox6.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox6, "Open File Location");
this.pictureBox6.Click += new System.EventHandler(this.pictureBox6_Click);
//
// pictureBox4
//
this.pictureBox4.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image")));
this.pictureBox4.Location = new System.Drawing.Point(60, 3);
this.pictureBox4.Name = "pictureBox4";
this.pictureBox4.Size = new System.Drawing.Size(16, 16);
this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox4.TabIndex = 15;
this.pictureBox4.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox4, "Save");
this.pictureBox4.Click += new System.EventHandler(this.pictureBox4_Click);
//
// pictureBox3
//
this.pictureBox3.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
this.pictureBox3.Location = new System.Drawing.Point(35, 3);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(16, 16);
this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox3.TabIndex = 15;
this.pictureBox3.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox3, "Open");
this.pictureBox3.Click += new System.EventHandler(this.pictureBox3_Click);
//
// pictureBox1
//
this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(516, 7);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(14, 14);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 14;
this.pictureBox1.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox1, "Close Search");
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
this.pictureBox1.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave);
this.pictureBox1.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover);
//
// pictureBox13
//
this.pictureBox13.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox13.Image = global::Crypto_Notepad.Properties.Resources.lock_icon;
this.pictureBox13.Location = new System.Drawing.Point(260, 3);
this.pictureBox13.Name = "pictureBox13";
this.pictureBox13.Size = new System.Drawing.Size(16, 16);
this.pictureBox13.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox13.TabIndex = 15;
this.pictureBox13.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox13, "Lock");
this.pictureBox13.Click += new System.EventHandler(this.pictureBox13_Click);
//
// searchTextBox
//
this.searchTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.searchTextBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(35)))));
this.searchTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.searchTextBox.ForeColor = System.Drawing.Color.White;
this.searchTextBox.Location = new System.Drawing.Point(196, 6);
this.searchTextBox.Name = "searchTextBox";
this.searchTextBox.Size = new System.Drawing.Size(303, 14);
this.searchTextBox.TabIndex = 9;
this.searchTextBox.TabStop = false;
this.searchTextBox.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
this.searchTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.searchTextBox_KeyDown);
//
// chkMatchCase
//
this.chkMatchCase.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.chkMatchCase.AutoSize = true;
this.chkMatchCase.ForeColor = System.Drawing.Color.Gainsboro;
this.chkMatchCase.Location = new System.Drawing.Point(95, 5);
this.chkMatchCase.Name = "chkMatchCase";
this.chkMatchCase.Size = new System.Drawing.Size(95, 17);
this.chkMatchCase.TabIndex = 11;
this.chkMatchCase.Text = "Case sensitive";
this.chkMatchCase.UseVisualStyleBackColor = false;
this.chkMatchCase.CheckedChanged += new System.EventHandler(this.chkMatchCase_CheckedChanged);
//
// chkMatchWholeWord
//
this.chkMatchWholeWord.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.chkMatchWholeWord.AutoSize = true;
this.chkMatchWholeWord.BackColor = System.Drawing.Color.Transparent;
this.chkMatchWholeWord.ForeColor = System.Drawing.Color.Gainsboro;
this.chkMatchWholeWord.Location = new System.Drawing.Point(6, 5);
this.chkMatchWholeWord.Name = "chkMatchWholeWord";
this.chkMatchWholeWord.Size = new System.Drawing.Size(83, 17);
this.chkMatchWholeWord.TabIndex = 12;
this.chkMatchWholeWord.Text = "Whole word";
this.chkMatchWholeWord.UseVisualStyleBackColor = false;
this.chkMatchWholeWord.CheckedChanged += new System.EventHandler(this.chkMatchWholeWord_CheckedChanged);
//
// panel1
//
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(35)))));
this.panel1.Controls.Add(this.pictureBox1);
this.panel1.Controls.Add(this.searchTextBox);
this.panel1.Controls.Add(this.chkMatchCase);
this.panel1.Controls.Add(this.chkMatchWholeWord);
this.panel1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.panel1.Location = new System.Drawing.Point(0, 272);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(535, 27);
this.panel1.TabIndex = 13;
this.panel1.Visible = false;
//
// panel2
//
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel2.Controls.Add(this.pictureBox12);
this.panel2.Controls.Add(this.pictureBox13);
this.panel2.Controls.Add(this.pictureBox5);
this.panel2.Controls.Add(this.pictureBox2);
this.panel2.Controls.Add(this.pictureBox11);
this.panel2.Controls.Add(this.pictureBox10);
this.panel2.Controls.Add(this.pictureBox9);
this.panel2.Controls.Add(this.pictureBox8);
this.panel2.Controls.Add(this.pictureBox7);
this.panel2.Controls.Add(this.pictureBox6);
this.panel2.Controls.Add(this.pictureBox4);
this.panel2.Controls.Add(this.pictureBox3);
this.panel2.Location = new System.Drawing.Point(-1, 25);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(537, 23);
this.panel2.TabIndex = 14;
//
// customRTB
//
this.customRTB.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.customRTB.BackColor = System.Drawing.SystemColors.Window;
this.customRTB.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.customRTB.ContextMenuStrip = this.contextMenuStrip1;
this.customRTB.DetectUrls = false;
this.customRTB.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.customRTB.ForeColor = System.Drawing.SystemColors.WindowText;
this.customRTB.Location = new System.Drawing.Point(0, 48);
this.customRTB.Name = "customRTB";
this.customRTB.Size = new System.Drawing.Size(535, 252);
this.customRTB.TabIndex = 10;
this.customRTB.Text = "";
this.customRTB.SelectionChanged += new System.EventHandler(this.customRTB_SelectionChanged_1);
this.customRTB.Click += new System.EventHandler(this.customRTB_Click);
this.customRTB.KeyDown += new System.Windows.Forms.KeyEventHandler(this.customRTB_KeyDown);
//
// MainWindow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(535, 299);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Controls.Add(this.customRTB);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.MainMenu);
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.MainMenu;
this.MinimumSize = new System.Drawing.Size(500, 300);
this.Name = "MainWindow";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Crypto Notepad";
this.Activated += new System.EventHandler(this.MainWindow_Activated);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainWindow_FormClosing);
this.Load += new System.EventHandler(this.MainWindow_Load);
this.MainMenu.ResumeLayout(false);
this.MainMenu.PerformLayout();
this.contextMenuStrip1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox12)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox11)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox13)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip MainMenu;
private System.Windows.Forms.ToolStripMenuItem файлToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem правкаToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem помощьToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
private System.Windows.Forms.OpenFileDialog OpenFile;
private System.Windows.Forms.SaveFileDialog SaveFile;
private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem;
private System.Windows.Forms.Button button1;
public System.Windows.Forms.Button button2;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.ToolStripMenuItem сервисToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem clearToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripMenuItem deleteFileToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.ToolStripMenuItem openFileLocationToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem wordWrapToolStripMenuItem;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem1;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator8;
private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem1;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
private System.Windows.Forms.ToolStripMenuItem rightToLeftToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem clearToolStripMenuItem1;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator11;
private System.Windows.Forms.ToolStripMenuItem changeKeyToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem сheckForUpdatesToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem documentationToolStripMenuItem;
private System.Windows.Forms.TextBox searchTextBox;
private System.Windows.Forms.CheckBox chkMatchCase;
private System.Windows.Forms.CheckBox chkMatchWholeWord;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem;
public CustomRichTextBox customRTB;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator9;
private System.Windows.Forms.ToolStripMenuItem findToolStripMenuItem2;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.PictureBox pictureBox3;
private System.Windows.Forms.PictureBox pictureBox4;
private System.Windows.Forms.PictureBox pictureBox6;
private System.Windows.Forms.PictureBox pictureBox7;
private System.Windows.Forms.PictureBox pictureBox8;
private System.Windows.Forms.PictureBox pictureBox9;
private System.Windows.Forms.PictureBox pictureBox10;
private System.Windows.Forms.PictureBox pictureBox11;
private System.Windows.Forms.PictureBox pictureBox5;
private System.Windows.Forms.PictureBox pictureBox12;
private System.Windows.Forms.PictureBox pictureBox13;
private System.Windows.Forms.ToolStripMenuItem lockToolStripMenuItem;
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,143 +0,0 @@
namespace Crypto_Notepad
{
partial class Form2
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.textBox1 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.panel1 = new System.Windows.Forms.Panel();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.label1 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.SuspendLayout();
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(64, 39);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 20);
this.textBox1.TabIndex = 0;
this.textBox1.UseSystemPasswordChar = true;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
//
// button1
//
this.button1.Enabled = false;
this.button1.Location = new System.Drawing.Point(111, 79);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 1;
this.button1.Text = "OK";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// pictureBox1
//
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Hand;
this.pictureBox1.Image = global::Crypto_Notepad.Properties.Resources.eye;
this.pictureBox1.Location = new System.Drawing.Point(163, 39);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(18, 20);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 3;
this.pictureBox1.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox1, "Show key");
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.Add(this.pictureBox2);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.textBox1);
this.panel1.Controls.Add(this.pictureBox1);
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(191, 73);
this.panel1.TabIndex = 5;
//
// pictureBox2
//
this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBox2.Image = global::Crypto_Notepad.Properties.Resources.key_solid;
this.pictureBox2.Location = new System.Drawing.Point(8, 12);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(47, 47);
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pictureBox2.TabIndex = 6;
this.pictureBox2.TabStop = false;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(61, 12);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(125, 13);
this.label1.TabIndex = 6;
this.label1.Text = "Enter the encryption key:";
//
// Form2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(191, 107);
this.Controls.Add(this.panel1);
this.Controls.Add(this.button1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "Form2";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Crypto Notepad";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form2_FormClosed);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.PictureBox pictureBox2;
}
}

View file

@ -1,62 +0,0 @@
using System;
using System.Windows.Forms;
namespace Crypto_Notepad
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
publicVar.encryptionKey = textBox1.Text;
textBox1.Focus();
textBox1.Text = "";
publicVar.okPressed = true;
this.Hide();
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
if (textBox1.Text.Length > 0)
button1.Enabled = true;
else
button1.Enabled = false;
}
private void textBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
button1_Click(sender, e);
}
}
private void pictureBox1_Click(object sender, EventArgs e)
{
if (textBox1.UseSystemPasswordChar == true)
{
textBox1.UseSystemPasswordChar = false;
pictureBox1.Image = Properties.Resources.eye_half;
return;
}
if (textBox1.UseSystemPasswordChar == false)
{
textBox1.UseSystemPasswordChar = true;
pictureBox1.Image = Properties.Resources.eye;
return;
}
}
private void Form2_FormClosed(object sender, FormClosedEventArgs e)
{
textBox1.Focus();
textBox1.Text = "";
}
}
}

119
Crypto Notepad/Forms/AboutFrom.Designer.cs generated Normal file
View file

@ -0,0 +1,119 @@
namespace Crypto_Notepad
{
partial class AboutFrom
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutFrom));
this.appVersionLabel = new System.Windows.Forms.Label();
this.randomColorTimer = new System.Windows.Forms.Timer(this.components);
this.aboutToolTip = new System.Windows.Forms.ToolTip(this.components);
this.appInfoRichTextBox = new Crypto_Notepad.HideCaretRichTextBox();
this.SuspendLayout();
//
// appVersionLabel
//
this.appVersionLabel.AutoSize = true;
this.appVersionLabel.Cursor = System.Windows.Forms.Cursors.Hand;
this.appVersionLabel.Font = new System.Drawing.Font("Consolas", 14.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.appVersionLabel.ForeColor = System.Drawing.SystemColors.HotTrack;
this.appVersionLabel.Location = new System.Drawing.Point(4, 10);
this.appVersionLabel.Name = "appVersionLabel";
this.appVersionLabel.Size = new System.Drawing.Size(210, 22);
this.appVersionLabel.TabIndex = 1;
this.appVersionLabel.Text = "Crypto Notepad 1.0.0";
this.appVersionLabel.MouseClick += new System.Windows.Forms.MouseEventHandler(this.AppVersionLabel_MouseClick);
this.appVersionLabel.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.AppVersionLabel_MouseDoubleClick);
this.appVersionLabel.MouseEnter += new System.EventHandler(this.appVersionLabel_MouseEnter);
//
// randomColorTimer
//
this.randomColorTimer.Interval = 200;
this.randomColorTimer.Tick += new System.EventHandler(this.RandomColorTimer_Tick);
//
// aboutToolTip
//
this.aboutToolTip.AutoPopDelay = 5000;
this.aboutToolTip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(61)))), ((int)(((byte)(68)))));
this.aboutToolTip.ForeColor = System.Drawing.Color.DarkGray;
this.aboutToolTip.InitialDelay = 100;
this.aboutToolTip.OwnerDraw = true;
this.aboutToolTip.ReshowDelay = 100;
this.aboutToolTip.Draw += new System.Windows.Forms.DrawToolTipEventHandler(this.AboutToolTip_Draw);
//
// appInfoRichTextBox
//
this.appInfoRichTextBox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(50)))));
this.appInfoRichTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.appInfoRichTextBox.Cursor = System.Windows.Forms.Cursors.IBeam;
this.appInfoRichTextBox.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.appInfoRichTextBox.ForeColor = System.Drawing.SystemColors.ButtonFace;
this.appInfoRichTextBox.Location = new System.Drawing.Point(0, 44);
this.appInfoRichTextBox.Name = "appInfoRichTextBox";
this.appInfoRichTextBox.ReadOnly = true;
this.appInfoRichTextBox.RightMargin = 700;
this.appInfoRichTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
this.appInfoRichTextBox.ShowSelectionMargin = true;
this.appInfoRichTextBox.Size = new System.Drawing.Size(439, 285);
this.appInfoRichTextBox.TabIndex = 2;
this.appInfoRichTextBox.TabStop = false;
this.appInfoRichTextBox.Text = resources.GetString("appInfoRichTextBox.Text");
this.appInfoRichTextBox.WordWrap = false;
this.appInfoRichTextBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.AppInfoRichTextBox_LinkClicked);
//
// AboutFrom
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(50)))));
this.ClientSize = new System.Drawing.Size(435, 323);
this.Controls.Add(this.appInfoRichTextBox);
this.Controls.Add(this.appVersionLabel);
this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "AboutFrom";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "About";
this.Load += new System.EventHandler(this.AboutWindow_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label appVersionLabel;
private HideCaretRichTextBox appInfoRichTextBox;
private System.Windows.Forms.Timer randomColorTimer;
private System.Windows.Forms.ToolTip aboutToolTip;
}
}

View file

@ -0,0 +1,106 @@
using JCS;
using System;
using System.Diagnostics;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Crypto_Notepad
{
public partial class AboutFrom : Form
{
private Random rnd = new Random();
public AboutFrom()
{
InitializeComponent();
}
#region Methods
private void GetDebugInfo()
{
Version vrs = new Version(Application.ProductVersion);
StringBuilder sb = new StringBuilder(string.Empty);
sb.AppendLine("App version = " + vrs);
sb.AppendLine(string.Format("OS name = {0}", OSVersionInfo.Name));
sb.AppendLine(string.Format("OS version = {0}", OSVersionInfo.VersionString));
sb.AppendLine(".Net Framework = " + Methods.GetDotNetVersion());
Clipboard.SetText(sb.ToString());
aboutToolTip.AutoPopDelay = 1000;
aboutToolTip.SetToolTip(appVersionLabel, "Copied");
}
#endregion
#region Event Handlers
private void AboutWindow_Load(object sender, EventArgs e)
{
Version vrs = new Version(Application.ProductVersion);
appVersionLabel.Text = string.Format(PublicVar.appName + " {0}.{1}.{2}", vrs.Major, vrs.Minor, vrs.Build);
}
protected override bool ProcessDialogKey(Keys keyData)
{
if (ModifierKeys == Keys.None && keyData == Keys.Escape)
{
Close();
return true;
}
return base.ProcessDialogKey(keyData);
}
private void RandomColorTimer_Tick(object sender, EventArgs e)
{
Color randomColor = Color.FromArgb(rnd.Next(256), rnd.Next(256), rnd.Next(256));
appVersionLabel.ForeColor = randomColor;
}
private void AppVersionLabel_MouseDoubleClick(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
GetDebugInfo();
}
}
private void AppInfoRichTextBox_LinkClicked(object sender, LinkClickedEventArgs e)
{
Process.Start(e.LinkText);
}
private void AppVersionLabel_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
GetDebugInfo();
}
if (e.Button == MouseButtons.Right)
{
if (randomColorTimer.Enabled)
{
randomColorTimer.Stop();
}
else
{
randomColorTimer.Start();
}
}
}
private void AboutToolTip_Draw(object sender, DrawToolTipEventArgs e)
{
e.DrawBackground();
e.DrawBorder();
e.DrawText();
}
private void appVersionLabel_MouseEnter(object sender, EventArgs e)
{
aboutToolTip.AutoPopDelay = 5000;
aboutToolTip.SetToolTip(appVersionLabel, "Left click for copy debug info to the clipboard");
}
#endregion
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,206 @@
namespace Crypto_Notepad
{
partial class ChangePasswordForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ChangePasswordForm));
this.acceptButton = new System.Windows.Forms.Button();
this.mainPanel = new System.Windows.Forms.Panel();
this.lockPictureBox = new System.Windows.Forms.PictureBox();
this.showNewKeyPictureBox = new System.Windows.Forms.PictureBox();
this.showOldKeyPictureBox = new System.Windows.Forms.PictureBox();
this.statusLabel = new System.Windows.Forms.Label();
this.changeKeyFormToolTip = new System.Windows.Forms.ToolTip(this.components);
this.passwordGeneratorButton = new System.Windows.Forms.Button();
this.oldKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
this.newKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
this.mainPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.showNewKeyPictureBox)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.showOldKeyPictureBox)).BeginInit();
this.SuspendLayout();
//
// acceptButton
//
this.acceptButton.Enabled = false;
this.acceptButton.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.acceptButton.Location = new System.Drawing.Point(211, 80);
this.acceptButton.Name = "acceptButton";
this.acceptButton.Size = new System.Drawing.Size(53, 25);
this.acceptButton.TabIndex = 4;
this.acceptButton.Text = "Accept";
this.acceptButton.UseVisualStyleBackColor = true;
this.acceptButton.Click += new System.EventHandler(this.AcceptButton_Click);
//
// mainPanel
//
this.mainPanel.BackColor = System.Drawing.Color.White;
this.mainPanel.Controls.Add(this.lockPictureBox);
this.mainPanel.Controls.Add(this.showNewKeyPictureBox);
this.mainPanel.Controls.Add(this.showOldKeyPictureBox);
this.mainPanel.Controls.Add(this.oldKeyTextBox);
this.mainPanel.Controls.Add(this.newKeyTextBox);
this.mainPanel.Dock = System.Windows.Forms.DockStyle.Top;
this.mainPanel.Location = new System.Drawing.Point(0, 0);
this.mainPanel.Name = "mainPanel";
this.mainPanel.Size = new System.Drawing.Size(295, 75);
this.mainPanel.TabIndex = 6;
//
// lockPictureBox
//
this.lockPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lockPictureBox.Cursor = System.Windows.Forms.Cursors.Default;
this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.gnupg_keys;
this.lockPictureBox.Location = new System.Drawing.Point(8, 14);
this.lockPictureBox.Name = "lockPictureBox";
this.lockPictureBox.Size = new System.Drawing.Size(48, 48);
this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.lockPictureBox.TabIndex = 7;
this.lockPictureBox.TabStop = false;
//
// showNewKeyPictureBox
//
this.showNewKeyPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.showNewKeyPictureBox.Cursor = System.Windows.Forms.Cursors.Hand;
this.showNewKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half;
this.showNewKeyPictureBox.Location = new System.Drawing.Point(269, 39);
this.showNewKeyPictureBox.Name = "showNewKeyPictureBox";
this.showNewKeyPictureBox.Size = new System.Drawing.Size(19, 23);
this.showNewKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.showNewKeyPictureBox.TabIndex = 5;
this.showNewKeyPictureBox.TabStop = false;
this.showNewKeyPictureBox.Click += new System.EventHandler(this.ShowNewKeyPictureBox_Click);
//
// showOldKeyPictureBox
//
this.showOldKeyPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.showOldKeyPictureBox.Cursor = System.Windows.Forms.Cursors.Hand;
this.showOldKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half;
this.showOldKeyPictureBox.Location = new System.Drawing.Point(269, 14);
this.showOldKeyPictureBox.Name = "showOldKeyPictureBox";
this.showOldKeyPictureBox.Size = new System.Drawing.Size(19, 23);
this.showOldKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.showOldKeyPictureBox.TabIndex = 5;
this.showOldKeyPictureBox.TabStop = false;
this.showOldKeyPictureBox.Click += new System.EventHandler(this.ShowOldKeyPictureBox_Click);
//
// statusLabel
//
this.statusLabel.AutoSize = true;
this.statusLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.statusLabel.ForeColor = System.Drawing.Color.Black;
this.statusLabel.Location = new System.Drawing.Point(2, 85);
this.statusLabel.Name = "statusLabel";
this.statusLabel.Size = new System.Drawing.Size(38, 15);
this.statusLabel.TabIndex = 7;
this.statusLabel.Text = "status";
//
// passwordGeneratorButton
//
this.passwordGeneratorButton.Image = global::Crypto_Notepad.Properties.Resources.key_plus;
this.passwordGeneratorButton.Location = new System.Drawing.Point(266, 80);
this.passwordGeneratorButton.Name = "passwordGeneratorButton";
this.passwordGeneratorButton.Size = new System.Drawing.Size(25, 25);
this.passwordGeneratorButton.TabIndex = 9;
this.changeKeyFormToolTip.SetToolTip(this.passwordGeneratorButton, "Password Generator");
this.passwordGeneratorButton.UseVisualStyleBackColor = true;
this.passwordGeneratorButton.Click += new System.EventHandler(this.PasswordGeneratorButton_Click);
//
// oldKeyTextBox
//
this.oldKeyTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.oldKeyTextBox.Location = new System.Drawing.Point(64, 14);
this.oldKeyTextBox.Name = "oldKeyTextBox";
this.oldKeyTextBox.Placeholder = "Old password";
this.oldKeyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
this.oldKeyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.oldKeyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
this.oldKeyTextBox.Size = new System.Drawing.Size(206, 23);
this.oldKeyTextBox.TabIndex = 0;
this.oldKeyTextBox.UseSystemPasswordChar = true;
this.oldKeyTextBox.TextChanged += new System.EventHandler(this.OldKeyTextBox_TextChanged);
this.oldKeyTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OldKeyTextBox_KeyDown);
//
// newKeyTextBox
//
this.newKeyTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.newKeyTextBox.Location = new System.Drawing.Point(64, 39);
this.newKeyTextBox.Name = "newKeyTextBox";
this.newKeyTextBox.Placeholder = "New password";
this.newKeyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
this.newKeyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.newKeyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
this.newKeyTextBox.Size = new System.Drawing.Size(206, 23);
this.newKeyTextBox.TabIndex = 1;
this.newKeyTextBox.UseSystemPasswordChar = true;
this.newKeyTextBox.TextChanged += new System.EventHandler(this.NewKeyTextBox_TextChanged);
this.newKeyTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.NewKeyTextBox_KeyDown);
//
// ChangePasswordForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(295, 110);
this.Controls.Add(this.passwordGeneratorButton);
this.Controls.Add(this.statusLabel);
this.Controls.Add(this.acceptButton);
this.Controls.Add(this.mainPanel);
this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ChangePasswordForm";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Change Password";
this.mainPanel.ResumeLayout(false);
this.mainPanel.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.showNewKeyPictureBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.showOldKeyPictureBox)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.PlaceholderTextBox oldKeyTextBox;
private System.Windows.Forms.PlaceholderTextBox newKeyTextBox;
private System.Windows.Forms.Button acceptButton;
private System.Windows.Forms.PictureBox showOldKeyPictureBox;
private System.Windows.Forms.PictureBox showNewKeyPictureBox;
private System.Windows.Forms.Panel mainPanel;
private System.Windows.Forms.PictureBox lockPictureBox;
private System.Windows.Forms.Label statusLabel;
private System.Windows.Forms.ToolTip changeKeyFormToolTip;
private System.Windows.Forms.Button passwordGeneratorButton;
}
}

View file

@ -0,0 +1,150 @@
using System;
using System.Drawing;
using System.Media;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Crypto_Notepad
{
public partial class ChangePasswordForm : Form
{
public ChangePasswordForm()
{
InitializeComponent();
statusLabel.Text = "";
}
#region Methods
private async void ChangePasswordStatus(string message, Color color)
{
statusLabel.ForeColor = color;
statusLabel.Text = message;
oldKeyTextBox.Text = "";
newKeyTextBox.Text = "";
await Task.Delay(2500);
statusLabel.Text = "";
}
#endregion
#region Event Handlers
private void AcceptButton_Click(object sender, EventArgs e)
{
oldKeyTextBox.Focus();
if (oldKeyTextBox.Text == PublicVar.password.Get() & oldKeyTextBox.Text != newKeyTextBox.Text)
{
PublicVar.password.Set(newKeyTextBox.Text);
PublicVar.passwordChanged = true;
ChangePasswordStatus("Password was successfully changed", Color.Green);
}
else if (oldKeyTextBox.Text != PublicVar.password.Get())
{
SystemSounds.Hand.Play();
ChangePasswordStatus("Invalid old password", Color.Red);
}
else if (oldKeyTextBox.Text == newKeyTextBox.Text)
{
SystemSounds.Hand.Play();
ChangePasswordStatus("New password is the same as old", Color.Red);
}
}
private void PasswordGeneratorButton_Click(object sender, EventArgs e)
{
ActiveControl = null;
PasswordGeneratorFrom passwordGeneratorFrom = new PasswordGeneratorFrom();
if ((Application.OpenForms["PasswordGeneratorFrom"] as PasswordGeneratorFrom) == null)
{
passwordGeneratorFrom.Show(this);
}
}
private void ShowOldKeyPictureBox_Click(object sender, EventArgs e)
{
if (oldKeyTextBox.UseSystemPasswordChar)
{
oldKeyTextBox.UseSystemPasswordChar = false;
showOldKeyPictureBox.Image = Properties.Resources.eye;
}
else
{
oldKeyTextBox.UseSystemPasswordChar = true;
showOldKeyPictureBox.Image = Properties.Resources.eye_half;
}
}
private void ShowNewKeyPictureBox_Click(object sender, EventArgs e)
{
if (newKeyTextBox.UseSystemPasswordChar)
{
newKeyTextBox.UseSystemPasswordChar = false;
showNewKeyPictureBox.Image = Properties.Resources.eye;
}
else
{
newKeyTextBox.UseSystemPasswordChar = true;
showNewKeyPictureBox.Image = Properties.Resources.eye_half;
}
}
private void OldKeyTextBox_TextChanged(object sender, EventArgs e)
{
if (oldKeyTextBox.Text.Length > 0 & newKeyTextBox.Text.Length > 0)
{
acceptButton.Enabled = true;
}
else
{
acceptButton.Enabled = false;
}
}
private void NewKeyTextBox_TextChanged(object sender, EventArgs e)
{
if (newKeyTextBox.Text.Length > 0 & oldKeyTextBox.Text.Length > 0)
{
acceptButton.Enabled = true;
}
else
{
acceptButton.Enabled = false;
}
}
private void NewKeyPlaceholder_Click(object sender, EventArgs e)
{
newKeyTextBox.Focus();
}
private void OldKeyPlaceholder_Click(object sender, EventArgs e)
{
oldKeyTextBox.Focus();
}
private void NewKeyTextBox_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
e.SuppressKeyPress = true;
}
if (e.KeyCode == Keys.Enter & acceptButton.Enabled)
{
AcceptButton_Click(sender, e);
}
}
private void OldKeyTextBox_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
e.SuppressKeyPress = true;
}
if (e.KeyCode == Keys.Enter & acceptButton.Enabled)
{
AcceptButton_Click(sender, e);
}
}
#endregion
}
}

View file

@ -117,34 +117,56 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="acceptButton.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="mainPanel.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="lockPictureBox.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="showNewKeyPictureBox.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="showOldKeyPictureBox.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="oldKeyTextBox.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="newKeyTextBox.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="changeKeyFormToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="passwordGeneratorButton.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="inbox_download" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAVTSURBVFhHvZV7TJV1GMddWP8019wEuthf1dqSmk0S AAD///8A////AP///wAAAAACAAAADAAAABoAGjFZAC1XvQAYLmAAAAArAAAAHgAAABAAAAAE////AP//
3ThgIClIYB5M8JKCaYBIOhVQUK6K5oWroiQcRAkU4yoHDne8NATKzHXjOLG01GRobbX117fn+77nvHbg /wD///8A////AP///wD///8AAAAAAQAAAAYAAAANADNdqIXO5v8AM12pACM+TwAAAA8AAAAIAAAAAv//
QBLob/vs/Hie7/P9PnvhvEwYxXnKOcWIrJ77mLT3R0zJ6IVjpgrvrLFHDbXqyPieyTRP77wHx6xevJBj /wD///8A////AP///wD///8A////AAAAAAAAAAAAAC9PAAA+aKGDzOX/fcrk/wA+aaIAL08AAAAAAAAA
xou5Kryzxp5lgcnqyPgep2fFPOn8PSX0pUNX8XKeCu+ssUcNterI+B5lgfiOAbySdw2vHbmGafkqvLPG AAD///8A////AP///wD///8A////AP///wAAAAAAADlZAABLdgAAS3apg8zl/wBLdqkAS3YuAEp0AAAV
3iNfYHNbP1yO9mF6YR/etMA7a+w98gWiW/rxluE63I5dxywLvLPG3nguMHFqqtH4fFoDnkutV4ynJNYi IAAAAAAA////AP///wD///8A////AP///wD///8AAFR/AABUfwAAVH8AAFR/toPM5f92wtz2AFR/tgBU
wnQXuhM/w7PEFtbYo4ZaznCWHvRSLUd3Jk3dacLHrb8jsmkA4aZ+4S5Cqm/Bu/QGfMpsYY09aqjlDGfp fwAAVH8AAD9gAP///wD///8A////AP///wD///8A////AABVgAAAVYAAAFWAAABVgLWDzOX/AFWAtQBV
QS/VcnTnGcGVX6v1zffgV/4r/E7dVFhQfhP+g2DN2qeWM5avpKvFa9SHL5Opgs4p2Ygt7QPQV92CvvKX gC4AVYAAAFaBAABXgwD///8A////AP///wD///8A////AP///wAAWYUAAFaBAABVgAAAVYCxg8zl/2a4
kRENtZzhrMXjf7+YtCWmJNcj5ux9LD9zB0trbtmFPWqo5YxldsxvRW2JySmNiDv3B1Y3/IZQ420bWGOP 1f8AVYCxAFWAAABWgQAAWYUA////AP///wD///8A////AP///wD///8AAFmFAABWgQUAVYBBAFWArIPM
GmotM2MOtx5tiadT2hH3xZ+IaOrHR6Y7Cryzxh41Fu24hVuPtsSTKecQ3/kXNrYNKPDOGnsWzZjCJx6P 5f9hs9L/AFWArABVgEEAVoEFAFmFAP///wD///8A////AP///wD///8A////AABZhQcAWIRtPo6xxXzD
9606Hj8fWVGeggey1umQLeSsc8ehSDcUrHWBQ3IHErv/VuCdNfaooZYzWetkVjxOJi7A8W2+VfRWI4Y/ 4OtyvNr/W67O/1ev0usshq3FAFiEbQBZhQf///8A////AP///wD///8A////AP///wABXoxLVKTFzJba
Doa4eRXlMrBRPx3NxUkwGbajoTBBwyS0FMTiwqfReCK1U4F31tiz0cosPehFT3ozQ40aehwMse9UnEz0 9v+IzO7/Z7LT/0yixf9Nr9f/Ysbt/zuZwswBXoxL////AP///wD///8A////AP///wD///8AAWOUhZnf
x9ZlMxHi9SpOyFMwxPqgMGauDYYYbxTHzEFZjE6Bd9aG6GSWHvSiJ72ZwSw18sFxKNjsU1Ga4IuE5W5Y 9/ea3vj/ltr1/4HK5f9uvdr/asPk/2nK8P9pzfT3AWOUhf///wD///8A////AP///wD///8A////AAJq
7eeCMN9pqEwNVIZKt/vjMysJ/FygULbdT8H6s1VDfdkOf5xKfFfxoBc96c0MZjFTjZbfS/4Gr9qiLV6I npKh5f7/EJixzgCQqMkAkKjJAJCoyQCQqMkJlrDObtP6/wJqnpL///8A////AP///wD///8A////AP//
XTIdOhcnzHnDGR6vO2NryAwkrZQhMf88NQCnkwNQ/h+cTglAZVog9kV4IjZ4BrYudVW86ElvZjCLmczm /wACcKhxjNfx60Wry90AhqSCAImlGQCJpRkAhqSCKaLH3WrK7+sCcKhx////AP///wD///8A////AP//
ApMKNr6Ny40FuCJ811qE79sE+fy2xYDu+qOyuSuKt/mido8eNel6VKcvskvNbj3O7AlCZpQXtklwT32B /wD///8AAnawLyeRw6Sd4fn/RaHG1g96pboLeKK6KZS81nfR8/8ij8KkAnawL////wD///8A////AP//
4kEvetKbGcxiJrO5gGN+tA63zT0oi/eSP5b5KE/yFeRTuc/HVyYDdqyYiSOb5qJp/xI07n/fLuwd3OCN /wD///8A////AAN7twEDfLlMKZbJoX7O7d2N1ez/gMzm/23E5d0llMmhA3y5TAN7twH///8A////AP//
RNFeaizCaXpoiKf4MYNZzGQ2F3A6vN4dN660olJE1fL4anYu1KhOC0B1qj8uNxUheZUbkkNnq6wahFaf /wD///8A////AP///wADe7cAA369AQOAvy0DgL9pA4C/gwOAv4MDgL9pA4C/LQN+vQEDe7cA////AP//
pWhrZGaoV6CSwSxmMltZIC9Kh76uKtTuCkCdPGbjJ0E21O1ZhLr0QJjPnoC5o1g4NgzSEw21nBnqo1cy /wD///8A4AcAAOAHAAD8PwAA/D8AAPw/AAD8PwAA/D8AAPAPAADgBwAA4AcAAOAHAADgBwAA4AcAAOAH
mMXMBwtEuuPa+RKY9r4nj3Exmg7I47RhMRr3BaFx70KYdvvBtGue4DMIqUmPGmo5M8RHvJnBLGZqC+RG AADgBwAA8A8AAA==
6mBuy0dbxmK0ZwcLIXYIRkemHmfrSnDxm15c/PoHW6TGHjUjeTCDWczUFsiJkAUaDuBCbgguHFomLLfD
MnQeXIKSqlaUVjagtMJoi9TYo2YkD2Ywi5naAtnh7uitTUPX4RXoOrJyWL7M/wB5G+YgJ8oduYNgjT1q
7M1qSAazmKktkLVWh6uV8bhUGDoCYbhsCEO3BDQfCEZLRogNrLFHDbX2PVSYxcx/LeCBn6o2wVwajt4R
YN9cFoGrJ+3D3sN4MIuZ1gUc01bMPp+5RoeMD90fnjWDsKcZBmYxk9lcgK/DaYKn4P2YYBYzlVcx/yHw
wm34SB4HzJLMCRP/ARSfaL/X5EbIAAAAAElFTkSuQmCC
</value> </value>
</data> </data>
</root> </root>

View file

@ -0,0 +1,170 @@
namespace Crypto_Notepad
{
partial class EnterPasswordForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EnterPasswordForm));
this.okButton = new System.Windows.Forms.Button();
this.mainPanel = new System.Windows.Forms.Panel();
this.lockPictureBox = new System.Windows.Forms.PictureBox();
this.fileNameLabel = new System.Windows.Forms.Label();
this.keyTextBox = new System.Windows.Forms.PlaceholderTextBox();
this.showKeyPictureBox = new System.Windows.Forms.PictureBox();
this.enterKeyFormToolTip = new System.Windows.Forms.ToolTip(this.components);
this.passwordGeneratorButton = new System.Windows.Forms.Button();
this.mainPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.showKeyPictureBox)).BeginInit();
this.SuspendLayout();
//
// okButton
//
this.okButton.Enabled = false;
this.okButton.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.okButton.Location = new System.Drawing.Point(211, 80);
this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(53, 25);
this.okButton.TabIndex = 1;
this.okButton.Text = "OK";
this.okButton.UseVisualStyleBackColor = true;
this.okButton.Click += new System.EventHandler(this.OkButton_Click);
//
// mainPanel
//
this.mainPanel.BackColor = System.Drawing.Color.White;
this.mainPanel.Controls.Add(this.lockPictureBox);
this.mainPanel.Controls.Add(this.fileNameLabel);
this.mainPanel.Controls.Add(this.keyTextBox);
this.mainPanel.Controls.Add(this.showKeyPictureBox);
this.mainPanel.Dock = System.Windows.Forms.DockStyle.Top;
this.mainPanel.Location = new System.Drawing.Point(0, 0);
this.mainPanel.Name = "mainPanel";
this.mainPanel.Size = new System.Drawing.Size(295, 75);
this.mainPanel.TabIndex = 5;
//
// lockPictureBox
//
this.lockPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lockPictureBox.Cursor = System.Windows.Forms.Cursors.Default;
this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.key_solid;
this.lockPictureBox.Location = new System.Drawing.Point(8, 14);
this.lockPictureBox.Name = "lockPictureBox";
this.lockPictureBox.Size = new System.Drawing.Size(48, 48);
this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.lockPictureBox.TabIndex = 6;
this.lockPictureBox.TabStop = false;
//
// fileNameLabel
//
this.fileNameLabel.AutoEllipsis = true;
this.fileNameLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.fileNameLabel.Location = new System.Drawing.Point(61, 14);
this.fileNameLabel.Name = "fileNameLabel";
this.fileNameLabel.Size = new System.Drawing.Size(221, 13);
this.fileNameLabel.TabIndex = 6;
this.fileNameLabel.Text = "File name";
this.fileNameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// keyTextBox
//
this.keyTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.keyTextBox.Location = new System.Drawing.Point(64, 39);
this.keyTextBox.Name = "keyTextBox";
this.keyTextBox.Placeholder = "Password";
this.keyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray;
this.keyTextBox.PlaceholderFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.keyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
this.keyTextBox.Size = new System.Drawing.Size(206, 23);
this.keyTextBox.TabIndex = 0;
this.keyTextBox.UseSystemPasswordChar = true;
this.keyTextBox.TextChanged += new System.EventHandler(this.KeyTextBox_TextChanged);
this.keyTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.KeyTextBox_KeyDown);
//
// showKeyPictureBox
//
this.showKeyPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.showKeyPictureBox.Cursor = System.Windows.Forms.Cursors.Hand;
this.showKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half;
this.showKeyPictureBox.InitialImage = global::Crypto_Notepad.Properties.Resources.eye_half;
this.showKeyPictureBox.Location = new System.Drawing.Point(269, 39);
this.showKeyPictureBox.Name = "showKeyPictureBox";
this.showKeyPictureBox.Size = new System.Drawing.Size(19, 23);
this.showKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.showKeyPictureBox.TabIndex = 3;
this.showKeyPictureBox.TabStop = false;
this.showKeyPictureBox.Click += new System.EventHandler(this.ShowKeyPictureBox_Click);
//
// passwordGeneratorButton
//
this.passwordGeneratorButton.Image = global::Crypto_Notepad.Properties.Resources.key_plus;
this.passwordGeneratorButton.Location = new System.Drawing.Point(266, 80);
this.passwordGeneratorButton.Name = "passwordGeneratorButton";
this.passwordGeneratorButton.Size = new System.Drawing.Size(25, 25);
this.passwordGeneratorButton.TabIndex = 10;
this.enterKeyFormToolTip.SetToolTip(this.passwordGeneratorButton, "Password Generator");
this.passwordGeneratorButton.UseVisualStyleBackColor = true;
this.passwordGeneratorButton.Click += new System.EventHandler(this.PasswordGeneratorButton_Click);
//
// EnterPasswordForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(295, 110);
this.Controls.Add(this.passwordGeneratorButton);
this.Controls.Add(this.mainPanel);
this.Controls.Add(this.okButton);
this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "EnterPasswordForm";
this.Text = "Crypto Notepad";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.EnterPasswordForm_FormClosed);
this.Load += new System.EventHandler(this.EnterPasswordForm_Load);
this.Shown += new System.EventHandler(this.EnterPasswordForm_Shown);
this.mainPanel.ResumeLayout(false);
this.mainPanel.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.showKeyPictureBox)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button okButton;
private System.Windows.Forms.PictureBox showKeyPictureBox;
private System.Windows.Forms.Panel mainPanel;
private System.Windows.Forms.Label fileNameLabel;
private System.Windows.Forms.PictureBox lockPictureBox;
public System.Windows.Forms.PlaceholderTextBox keyTextBox;
private System.Windows.Forms.ToolTip enterKeyFormToolTip;
private System.Windows.Forms.Button passwordGeneratorButton;
}
}

View file

@ -0,0 +1,112 @@
using System;
using System.Windows.Forms;
namespace Crypto_Notepad
{
public partial class EnterPasswordForm : Form
{
public EnterPasswordForm()
{
PublicVar.okPressed = false;
InitializeComponent();
}
/*Form Events*/
private void EnterPasswordForm_FormClosed(object sender, FormClosedEventArgs e)
{
MainForm main = Owner as MainForm;
if (main.Visible == false)
{
main.trayIcon.Visible = false;
Environment.Exit(0);
}
keyTextBox.Focus();
}
private void EnterPasswordForm_Load(object sender, EventArgs e)
{
fileNameLabel.Text = PublicVar.openFileName;
Properties.Settings settings = Properties.Settings.Default;
TopMost = settings.alwaysOnTop;
MainForm main = Owner as MainForm;
if (main.Visible)
{
CenterToParent();
}
else
{
CenterToScreen();
}
}
private void EnterPasswordForm_Shown(object sender, EventArgs e)
{
fileNameLabel.Text = PublicVar.openFileName;
}
/*Form Events*/
/*Enter key area*/
private void KeyTextBox_TextChanged(object sender, EventArgs e)
{
if (keyTextBox.Text.Length > 0)
{
okButton.Enabled = true;
}
else
{
okButton.Enabled = false;
}
}
private void KeyTextBox_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
e.SuppressKeyPress = true;
}
if (e.KeyCode == Keys.Enter & okButton.Enabled)
{
OkButton_Click(sender, e);
}
}
private void ShowKeyPictureBox_Click(object sender, EventArgs e)
{
if (keyTextBox.UseSystemPasswordChar)
{
keyTextBox.UseSystemPasswordChar = false;
showKeyPictureBox.Image = Properties.Resources.eye;
}
else
{
keyTextBox.UseSystemPasswordChar = true;
showKeyPictureBox.Image = Properties.Resources.eye_half;
}
}
/*Enter key area*/
/*Buttons*/
private void OkButton_Click(object sender, EventArgs e)
{
TypedPassword.Value = keyTextBox.Text;
keyTextBox.Focus();
PublicVar.okPressed = true;
Hide();
}
private void PasswordGeneratorButton_Click(object sender, EventArgs e)
{
ActiveControl = null;
PasswordGeneratorFrom passwordGeneratorFrom = new PasswordGeneratorFrom();
if ((Application.OpenForms["PasswordGeneratorFrom"] as PasswordGeneratorFrom) == null)
{
passwordGeneratorFrom.Show(this);
}
}
/*Buttons*/
}
}

View file

@ -117,250 +117,10 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="MainMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="enterKeyFormToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>535, 17</value>
</metadata>
<metadata name="OpenFile.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>127, 17</value>
</metadata>
<metadata name="SaveFile.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>227, 17</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>438, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox12.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAABidJREFUaEPt
mE1oVFcUx6WIiBQJIRQRCaVI6CILKV0UKdJF6EKkC+miiJSCjUKIRUyC4EIwYpoQQ0g0UfNhNIlfWSTi
VzQm0ZjESRzHJESQLkqXLqSEIkOREl7/v8s9w3SYaT5mJm7mwOHNvHfPOf//Oeeed2fW5SQnOclJTnKy
EqmsrCxsbW3de/bs2X26Fp0/f369f7RqkY8t586d2yOf+1taWnZcuHBhg3+UWZHzvRcvXvyjt7c3uHr1
atDR0bGgwEcE4CO/ZMWiJHwt+0hPT09w7dq1oKurK6p7v+reRr8kM6Ks7Mb5kydPgnA47HRqasoREYl6
v2xFIqAlbW1tC8PDw8GLFy9iPvv6+gI9W5XPpEKbyOHAyMiICzA4OOh0cnLSBV4NCfn7tr29/S0JwcfQ
0FBw7969gO/EULL+VsW3+eXpiYIVdnZ2/objhw8fBnfv3nXB0PHxcQeA8kNiOe0EeDI/NjbmbB88eBDc
v38/5pNK3LhxY1H+dnuT9EQBC9T7ITI+OjrqglgVUEhEIpEYCW+WVOSrRJlfePr0aSzz5gcSkIGA9tk/
qsAX3ix9kbO6W7duOaCPHj2KBTOF3MuXL/+XhHy4toEw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PDvq6urjwj8Fq3fKuVakEQ/kfK8oKKi4htt1tdGAp9UA598Vsu+KS8vL/Y2EP8PCQ81tfjFGBE4
XwF3qfSvBwYGYqdMsqVejZ48ebJSa7ZJC6UAJChV2JygAIEca7ccPXq0RCTm+/v7Yz+GIME+ks9yvxaN
EfDwlhYthulGKYEB5LKm6dLDXx7aE/ONjY2Dx48f/1GZB5ADxTopNlQP+3i19sIf67eKxE5t+i75nNER
+/empqaxEydO/Hzw4MFEfyv/i0VGRoLAZGGz2ilfe6JYuqOsrIwgOCcIwFjHelfmFGqtaRXJE9h82kU+
v5TPT3XPKm8+mWSrP2Zg7J1YVt1o9J/tnutPb7Kk+PXmE03mk++rB54oOPNKcNO0Anh/iT7T9puTnOQk
JzlZhqxb9y/IfsJRyFDF/QAAAABJRU5ErkJggg==
</value>
</data>
<data name="pictureBox5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAANySURBVDhPdZFdTJtlGIafI+PRMBsiOBczGpcoYcyf
HahnakzMTEwUNTP+JB5pTCYwa9uV9Zfva/laQLYpjVQQSv+gpQwobWk7WmRiKUMKw8gKsxRDKT+FzcUT
k92+XxXPfJPr4H3z3PfzPs9NgrmNeKOpiFbPk6JR3eQbGsbI6BgMRgHnpbKrfU531fc2++9uzyD8YyHY
3QPotTsXbA6XpGjAGQRq4pupUaVzDY/4cf8+oOf4jedfePGtz859/uaA14flW2nsFfaxtb2DTCaLSGQC
XT02FA30nJE0Oq5f7HDnzl0MeAdBRNWMBzu+td5bvLmEdHoVvquj6HO4Yen8DhZrFzo6rSCj0EI9NgeZ
Wr7CVn4LN+bmsbBwEzKFslscqbX9Mtay6wiGwhgfj6Dt0hXR/Nn/MDSbh6zdvciur2NicgopJhaLpTIF
VBp9u6HZhMzaGqZ/mkFiZhbN5laITTneyPYmEDMQcPt2Bv5ACBPxH9Bp7Ub9+S+Qy+Xg6vdCrdXj1+U0
ZmfnkEjewEwiCbYv6DgDmAFIeVEd7e6xIxydgHfQh9PPnX79o/fODvXbbchlM9BodJifT+HH6QRSqUXs
bG9jv7CHlZUVNKo0+2wMqrygVEWbmngo5bIouz/AeFwite7UXOjB7kYWyUQCfXYn6uob0GYSoG1UoqGu
Lsnqashsbi2aMMSlVB7iYnRIG+yt9axiep/FGf0NEf8I1CoVvmyod/5bJ3LCqLlI9E2LQBaBpxJ+ko5w
1+ghTcDxqT+DZAF4f3QLr3i3cUphRX5tFcNux1+1g7c6SzShgVJW+7AhRlTKx6iMv0blXISOaAPOdzzp
oviD0U2c8eZQbfkFVTLrbtDVk1cHlpG8B7ztWUGpdsx1lAsTPcaH6Sg3To/oAp6Xun7G7B4gmyrgjGcD
NZYllMmcfvbdkyVSp/fl/jzeHc5j7g+g1rEEUUPPXLlOT1+eoqda41i4C3zozzNxDidZ58Oy/hATH3/U
EKUKlS9YbVnEq+4NnB3ZxOKfgKihU5euU027aDCJT8IFvOHbRHVHCofl/4gFeT2VG9msRJIKuSNU9fU8
XhvI4ePgLp5kGjrGjxepULhjJ0xxSIQJlCtcYpzHOYWURMqMcTpmiIgmlRVyZ7TSFMMT5jhEjfh4cCSM
g4jEWP/vHETOIMnfymoyqCgZt44AAAAASUVORK5CYII=
</value>
</data>
<data name="pictureBox2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIJSURBVDhPnZPNaxNRFMXPX+LGP0Fod25UqmhFuxNc
6cKVGxEKLqrQIkpt0kVRahcFm5qFSWY0GZs2WvzArwYFoWubmomZJDVpmmlMY8bjuy82TUyg0AM/7rtz
3zvvXpiHp9FoKWyaDEUifNJBWMewYTBimnm1D1HL6gKyYT/lcjm54HEvE8jNom9rKcU611LrOkoumpuf
19FxHIYMI/i/CaRN0fd0mmnbpp2xdZRcFAgGmS8U9Fo6UeOEnsVi7QZhXbQzWf7IOi0kF60kk9pktxMZ
ORqzELMWYFlxZRBuGjjKPZfPt5B8y63oWrtCEYOWtYRE/C1eLn7YM8gXNljY+NmBfMspdK1Q1PtMY4HL
8SSOjQMDE9gzKJZKPSmVNlkuu6y6nt6XiCV5XB0e9APnJtsMNstbPajQrdTo7ZA+6xL7b4FHx8CBu+Cg
D/fPtxtUXLeL7e0qG3XS//wyL8yAD7+Cq8XrnF0Fr8yBZ3140DKoVqtd1H6pq5X6RsCpFdD/ETqf/ARO
fwZP3wNbBrVaXbHTwe96c+7+m2Ayc02vd/UlO8xT42Lw70fyPI9eo9EB/+gS+5TBnWVw9EWzA4kTr8Ez
0oE8pP008+Yqh6bAsSXwfWqYtxPgxWnwxAhCeBQIvJK/S79ANU478k4MM8pF6x1vzA7xpGpZ2pab9WHg
kAKHFUcOgDoM/AVHyvZVwuglRAAAAABJRU5ErkJggg==
</value>
</data>
<data name="pictureBox11.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAI/SURBVDhPjZPLb1JBFMb5N6zWRU2MCxJr3Fit0fgH
uHDTmNSlaeKCtNWNj4U0xhpf6UaNJk1seS24XJ7WapsIWrGRaLTaYEq0IFDgXigUkF4Kl69zBgIl1Ogv
98uZc2fONzOZGY3T7c7aHA4Ioghrm2w82ux2iA6HpPkbNOBfpFIpmsDcKGmHZiZ+rYaZIlgNR3iknDCY
TDwmk0kIdrulUdaClkn8jkYRjcUQi8d4pJwwWiyQZJm3aSWi0yU0SuvQXolYPIG1RLIpyomPgQBMzMRg
tvDc6niBRmkdq61ukGTuKUlqivJ8scD7dmJx+XY3kOQ05HSmTZLMlMlB3qggNKfH0qODCE4eQchwAivG
U4/bDNaz2U7lcsgVy1iZu4mQuQ+V70NAaBi1HzrEPWeZyeknTYPcRr5T+T8oKMD78T2oBkeAn1cxc/04
Zm/0s2O7huBUP5oGhWKxQ8WSgk0V8N3qAsJ6IDIG9+XD8FzpBdbG8W2yr2VQKpXatalA2QIqrG9e3wXl
8yVUlnRQl0dQC46y7Qzjy7NjLQOFjVaUcl3lCraqAPvw4W430t7zUIM65L3noPgHUFoYwPLUSXhu9wrN
i6SqKtRqlcca/wMs3uvGuu8CX37GN4j5sX14e6cH/odaOPVaKzuD/Rp6SLsReLAXCecZ1L4OIctW8Gmi
h/8XXvrpHhzlxcS00eilB8VfINuOVWRt1yu8fjqIhfuHsDihhff5Rdhm3kF0z2LaLLzhhTs4wESO/ysa
30Cj2Qa5x8Q38oc0LgAAAABJRU5ErkJggg==
</value>
</data>
<data name="pictureBox10.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAK8SURBVDhPhZLZT1NBFIfnf/FdTXgihqKogQgii4LC
g74YCa4BN2SRYhFEliBLSw0gAgq9vb1bbwtUWUKCiKiA8qhBQBYRqaVssvycGZAEjXqSL+fOnHO+mUwu
acw4Qp5khJHm9BCSaSoiWbezkZWVBZbZmu2zOutrTA8j9dcNRPd0Es3lJpquE1J/K1R+fPMgGm4EIS07
Hy5XK3TdzTNbs31Wr08LlRvSDpH61EDibGunw1uC2msh8A1JmB9oRl6xGb19b9DT+4rm18grqoR/oAm+
QRE1qUGoSwkk+rNu4nS38mEuqE4xYGnyPd49jEPlIxGWWhssNU9RVdMAc3Ujhi2RWB7vhzV5D7Q2enV3
C1GdOsW5KbBeCYL3Yw/6zfF4a03AoPUkhiyxaLc9gKjqsEkqmh0qBFmDXVJgd0gUB0RZhqJpMrFeNuDL
cCtelMej15yIl5ZE9FXEQtDa8L8QJQmk6pIB4312dJXGobssgXIK3SVRsKktvGlkdAzjnycokzyPjo1j
5NMor7GbEPNFAz501eJ5cSw6SuMpcegoPAqb4uZNU9PTyM3NhaKokCQZoujAxNQUrwlccMGAYVcp2u7H
wFN4gnIcnvxwCFs3mJ39Bp9vnuP1fsfcnBczM7O8JogiFZwPRr+QAz0/Cq6CGLjuRUM3hW4L2KDJZIKm
qvD7F+CgpzIRCy6ooILuuqtQ7h6DmhcNlWbZeHhbsLC4iB+rq5zllRUsLi1h3u/ntU1BcjA85WfhuBNB
iYQjJwL2zBDYtU0BGzQajXDpOpxOJ30LhYtYcEE5FcgFcRDooJBzFIIxHE3pByA6W3nT+vo6z79iY2MD
a2tr/Js/Yv6ZfZ1lSftRlhRMofmcASWnAyC7PbzpX8F+JkJjFyXgd6jgq0NW+Cnsqjuge+wnkhTFR3v/
Grspf4h3Qvb+BApKtlis41k4AAAAAElFTkSuQmCC
</value>
</data>
<data name="pictureBox9.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAF0SURBVDhPhZPdTsJAEIW5M9GHkcTnkHsTE8WQyHMZ
oID9IyTqK8i915IISqG1LbQVoWSdMy5rqxW+5GSXZfbsnG1b6vX7vmHbQjdNcQsZBo+GZQnTtp9K+0Dh
fziOAyNNlhaDk8HzcKgEbhoNHmFCnTRk+V/QLngZjcVo/MojeBwMlEmXYqFTHCaj6XI7GdCfYDJxhDOZ
8jifL3htS6vTkbNvctG2BjPXFa7nsTCfzmYs0Gy3qbMRz39F05WBHwQ5vfs+C8DgjToD2WiIowwWi6hQ
AAau66nfW3B/yiBJPgoFmpomwjDkeNlo2KueQpqmIl2v86I1AIMojkVAJtlobIC3cB+IsFx+iiiKc9HY
gG4yxGWo11iqq+tCo8fXos139w9itVpTpGUuGhsQx9f1+sVVrXYOXVarZ6eVSgWdxUnCjxSbN5vNT0wZ
jS9RckQ6zOiAOuOiXeAQqi3G6vXmMOGvNBONRWuIjRpZXkiZdLJbpfIXwQvNhTAS2SsAAAAASUVORK5C
YII=
</value>
</data>
<data name="pictureBox8.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGNSURBVDhPY/j//z8Yo4NtO3b9gTKxArg+XAZcvHj5
/+q1619BuRgAw4Ct23dehsqBwbXrN/8fOHQI02QowDDg8pUr/2/cvPUaKs9w8dKV/7t27yXegClTps19
/er1/ytXrz8GKTh1+uz/o8dPEG8AEEgvXbHq7evXr/9fuHT58sEjx/4fOX6SJANAQH/mnHk7X73/+H/n
ujX/j1+8QrIBIKA0ZcHSbVdNRf/vjw/+P2fmjCCoOArAZwAIKK7JTPo/r6v7/90Ur/8XvPUkoOJwQMgA
hvUVOf9zi8tqd9upbT3rrv//jKfhszPextdPexmCFeM04GKAidoFH8P/55y1QYLCQKy43UZz7xEHHVAU
a88zU+k+7qj7GKcB53yNH/SaKBced9BBCDIwKO+31Hx62EpzPZAtdsha6xtOA854GIA4AkestZANAAHd
TYYqG/YZq/2fp6MwBacBJ5x0wZwDZuroBoCAIhAbA7EETgNANh8wUf8/UVWmBSqEFeA0AAhANoCwCJiH
A0D0/WcAAM6tXj5porEnAAAAAElFTkSuQmCC
</value>
</data>
<data name="pictureBox7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIaSURBVDhPnZNPTBNBFMafUa/qQYMGLCkaQ2Ig1EYj
/rt49ubBiwqJ8WJiYkS9mBATT+pZD960pYnd6S7dNshBsYhG4e5RwBZpt2gLbRa27fZz3ohbCk1I/JJf
Zt6+976Zyc7QqGkWhGFAi8UQbUKoUeg6YoZhyToyk8ktEBdsp1wuxwuMtDIhXpn1fXZOMo/ZuXk1csx6
HQ6rMZvNQtP1yGYT4m2yfqTTSGcyyCxk1MgxKxSJwMrn1Zx3Io+jxROJjQZCJTMLi/i5mPXgmDU9M6NM
/u2Ejxzn5rExBUXFX4OsdM9ZlgfHK+WSym1UlA3ejpM5kSJzcqphYOWXkF/61QR/y61jyZilJZKIT30m
s2sPmd37Gwa/C4XWFIsolEpYdiqqTpv8hNGj+8js6yAz6G8YFJdXWiAb7VWUZf7r8BBGDu7GG/9eiOOH
YAQ6n8dPHmkYlMrlLZRtG7bMTQ/fw8ezx4DHt4BnQ8CTO/hy6TSME/4XnoHNxZtYdRxUZS50YAfq968A
kvrdy8ADOX94HaL3MDyDtbWKxGnCqdZQZ4O2XcB4RNV5eqdB62mXBusXyXVduLVaMyoDhNt2ojp4HtWB
c3CunVFz9+ZFiD4fiB/Sdvr29BEmAu2oXD2F+mA/KgP9SF3oxsten0avQqEPfLvUC5THaYJfY9yE/j4F
/fYNiJ4OiIAfItglmzs1IvJJSP4LCv4HspnoDyOt+8PgffPXAAAAAElFTkSuQmCC
</value>
</data>
<data name="pictureBox6.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIxSURBVDhPpdPdS1NhHAfw8x9l2Cb04pIuuuymu24i
KTQ1pWiBYGURiMuVe0tJcLmgMTVtMMzpsKIolL2csbX30ehGCrV39/7t+5ydpquooAc+nJ3n/J7vec7v
7EgA/osUHjvyImQ5hKBpf504l++0+aR/GaIY5TSQjwPbiZpiCn6jRg08gKC5UUiwtoI3n5dEAfJRFOST
yMvtdAqV9x7OJYESgyuZX1UJbyHbDqMWsB1AMdpJPaoulONdyDiPYm14L+1pZGiC/5YGspUBIUsr7/aK
oecZfhGVrB5VSruOYf3x8dojfYvu+BrhkUoJpVeSSPEbW5i6jzRYNWixOtyCd0snUHrdjWKkA4XwGTpd
Vwy3Ax8W2Z+D6g6QY+P4zAXRQCGNSvIcyok+lOJC70+6gS0PA7iDoFnH9Xog00Od1AFkzxLPs72/l+lj
wNyugPUB5KJ38WAlBdeTBCUx/TRFaUw/2+HinHMljVxkHPjkrAWERMDGNTi8cbiWZdhmn2Pong83Jpdx
fcKLwfEFXBnz4LLtEUYcS3D5ZDgWRTOnEKoFsAdfhmD3hDBy34tsbArYvKqEKjZVW4N4E3PAYF9gbYBv
bpJ/KPUtoDSKCbcfAzY3L9xkoAn4bOY2SRwFZe42+k0PlVpU7ZAtOgbY2j7GrFqMza+h3+pG3KJVthYw
6RqIOXHt0uisUhvjb7FWfA5N1GyeeQm9aY6fl9T8JxeMM7CwVj0Xa+vjR9Hfxq46SfoOyeerzl+Ia18A
AAAASUVORK5CYII=
</value>
</data>
<data name="pictureBox4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKDSURBVDhPjZM9TFNhFIbvYIzGwUTRSOLOonEwcXCy
iSQEXAyD0Q0HXTCRCVvxBwfRaByEKAGhLRg10RiDoV1YDIaEKuAPpYUoubSWttDS3rbc2/vTvp5zbAwD
id7k7Xfa8zznu7nfrXLoTrCrrjuIvTfHsadrHLv/EWaYZYdd5QAVMxlgMungfy9m2WFX2Xc7gK+ZCpS7
S9KMJjRKARHKQjyPcCyHyC8NC5x4Thhm2WFXBkylq1BcHdL0uN3weDzw+0fg9XqxnNHR2dlJ3/3weYeF
UVxXxZEB+7sDmIg72NE2CNOpILVZQbJURaJgU5zaaiOuWUhoJgyL2QFx2FXqaMq7H2Uc7ldRtm1cv+bG
iG8Ea7oDN9Wj/lH4vT6kSxZ8Q0PQTVNYdtiVAS+jOhqeqXRzNoq2g5zpYKNsI0+7cTZMG9myCc20UK1a
aBhUxfkzgG7DN1/CCf8KgssFGuKgQoMcCq9bwxswwyw77NIxBjDwpYjGVwmcehGnZgzHhmM4OrSCI7Vw
zb9xjxlm2WFXBvTNFnH27SpaXifwfHqVH/SWq0qpyMq9ljcJYdmRAQfp49HnIi6MpaiRJNBBRM1gic59
id6JsJrF959rCC+nqWcLwyw77MqA+580XAymcW4sCZseVsGowH2rB67TzVRXEY1vYDGWhW2UiUkJy87f
AT2hIq5MZNEWXIexWaadAFdjM+497JNaTWlQk3kYJUMYZtmRAfSHwIMZHTemCuj4kKddLJGams7gcW+/
1Gs5A+s5HZZuCsMsO+wqde1Pn3DBZ7rT8x7f5iKYno3i0uX2VuXk+dbZuUVMhsL4GJqn3oIwzIpDrkJX
PeX4NtlVy3a9WpT633WX8Y7EeigwAAAAAElFTkSuQmCC
</value>
</data>
<data name="pictureBox3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJ6SURBVDhPbZNdTxNBGIX7G/wLRqOYIMGYaKEVURN/
gBfemXjhhQmgJgqpCAgxsUiMbWlA1BssH4rbrhhMFEkgISLWQrdVpEjLZ8BCv6CklO60x3e2QFvsSc6+
k905zzuzO6sCoHJ3XAq72i9CajsPyXwOzlYNnKYSOI3qtE1qSK2lcLdpQ6os8axycbWVK4FZ4TqCDhMS
q4MAmyZPAbKbLNHYjV+GQkpktA9wmkqp+BGd6cXy0H242i9g7GkZvrysRH/XM3TbPqNbGMAb2wCE9wOW
3XwGMGk4qwAQsQHbE0BiBiwwisD3Fsxbr2FlqJGep+X3+yHYbD05gAmDmpboAlvUgXmrIc/VI7nyAgh+
AHZ+wv74qBLu7OpRKodYRfEdDfcAJTRxnAB1YL5ayLM1SHjuIDF1E4i5CHBMCY7bHei0WJQxrYKXPQC9
g/gwAerB5h5A9upoF3eR+F0BRL/Crj+OrR0+P6M+q5WXXYCRALGPYEsNWYB7BKgEwp/wQ1+A4CbDeiCE
tbV1HkSfIPCyB9BQJ4EADwlQlwFMVwHrfQQ4gY04sTY2EYqEefAgQAtsvCZAYw5A9twG/r6iLRQgJlOP
rRii0S0ezAOIdCC53JQDSC3q4e29DI/1FuKMdhnbIW/zYC5gsrWMVmAEVh8hudAA2aeD/KcaWGiCvbkI
1BxJMmNMMVfuSzSXh+fEqwiPVyBJXyK1xD+njgB1cLQU8Yn/SRBFXtIA0snnVcW1I82asQljGXzCFQRH
byA1XwPJcBpv+wepo6gsm3fmZ4DOw3A2gOsQ+Qj5VHtlsW7kifabZKa/03gmyO/l8eGDgGztw8iF/EY+
AVD9A2v4zMuwTEzKAAAAAElFTkSuQmCC
</value>
</data>
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAABidJREFUaE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TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>55</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
AAABAAYAEBAAAAAAIABoBAAAZgAAACAgAAAAACAAqBAAAM4EAAAwMAAAAAAgAKglAAB2FQAAQEAAAAAA AAABAAYAEBAAAAAAIABoBAAAZgAAACAgAAAAACAAqBAAAM4EAAAwMAAAAAAgAKglAAB2FQAAQEAAAAAA

1563
Crypto Notepad/Forms/MainForm.Designer.cs generated Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,307 @@
namespace Crypto_Notepad
{
partial class PasswordGeneratorFrom
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PasswordGeneratorFrom));
this.generateButton = new System.Windows.Forms.Button();
this.passwordsListTextBox = new System.Windows.Forms.TextBox();
this.clearPasswordsListButton = new System.Windows.Forms.Button();
this.lowercaseCheckBox = new System.Windows.Forms.CheckBox();
this.uppercaseCheckBox = new System.Windows.Forms.CheckBox();
this.numericCheckBox = new System.Windows.Forms.CheckBox();
this.passwordLengthLabel = new System.Windows.Forms.Label();
this.numberOfStringsLabel = new System.Windows.Forms.Label();
this.passwordLengthTextBox = new System.Windows.Forms.TextBox();
this.numberOfStringsTextBox = new System.Windows.Forms.TextBox();
this.copyAllButton = new System.Windows.Forms.Button();
this.copyLastButton = new System.Windows.Forms.Button();
this.passwordGeneratorToolTip = new System.Windows.Forms.ToolTip(this.components);
this.specialCheckBox = new System.Windows.Forms.CheckBox();
this.additionalCheckBox = new System.Windows.Forms.CheckBox();
this.bracketsCheckBox = new System.Windows.Forms.CheckBox();
this.specialGroupBox = new System.Windows.Forms.GroupBox();
this.specialGroupBox.SuspendLayout();
this.SuspendLayout();
//
// generateButton
//
this.generateButton.AutoSize = true;
this.generateButton.Location = new System.Drawing.Point(9, 132);
this.generateButton.Name = "generateButton";
this.generateButton.Size = new System.Drawing.Size(66, 23);
this.generateButton.TabIndex = 1;
this.generateButton.Text = "Generate";
this.generateButton.UseVisualStyleBackColor = true;
this.generateButton.Click += new System.EventHandler(this.GenerateButton_Click);
//
// passwordsListTextBox
//
this.passwordsListTextBox.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.passwordsListTextBox.Location = new System.Drawing.Point(9, 161);
this.passwordsListTextBox.Multiline = true;
this.passwordsListTextBox.Name = "passwordsListTextBox";
this.passwordsListTextBox.ReadOnly = true;
this.passwordsListTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.passwordsListTextBox.Size = new System.Drawing.Size(282, 174);
this.passwordsListTextBox.TabIndex = 11;
this.passwordsListTextBox.WordWrap = false;
this.passwordsListTextBox.TextChanged += new System.EventHandler(this.PasswordsListTextBox_TextChanged);
//
// clearPasswordsListButton
//
this.clearPasswordsListButton.AutoSize = true;
this.clearPasswordsListButton.Location = new System.Drawing.Point(81, 132);
this.clearPasswordsListButton.Name = "clearPasswordsListButton";
this.clearPasswordsListButton.Size = new System.Drawing.Size(66, 23);
this.clearPasswordsListButton.TabIndex = 4;
this.clearPasswordsListButton.Text = "Clear";
this.clearPasswordsListButton.UseVisualStyleBackColor = true;
this.clearPasswordsListButton.Click += new System.EventHandler(this.ClearPasswordsListButton_Click);
//
// lowercaseCheckBox
//
this.lowercaseCheckBox.AutoSize = true;
this.lowercaseCheckBox.Checked = true;
this.lowercaseCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.lowercaseCheckBox.Location = new System.Drawing.Point(55, 21);
this.lowercaseCheckBox.Name = "lowercaseCheckBox";
this.lowercaseCheckBox.Size = new System.Drawing.Size(41, 17);
this.lowercaseCheckBox.TabIndex = 7;
this.lowercaseCheckBox.Text = "a-z";
this.lowercaseCheckBox.UseVisualStyleBackColor = true;
this.lowercaseCheckBox.CheckedChanged += new System.EventHandler(this.PasswordValidation);
this.lowercaseCheckBox.Click += new System.EventHandler(this.LowercaseCheckBox_Click);
//
// uppercaseCheckBox
//
this.uppercaseCheckBox.AutoSize = true;
this.uppercaseCheckBox.Checked = true;
this.uppercaseCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.uppercaseCheckBox.Location = new System.Drawing.Point(6, 21);
this.uppercaseCheckBox.Name = "uppercaseCheckBox";
this.uppercaseCheckBox.Size = new System.Drawing.Size(43, 17);
this.uppercaseCheckBox.TabIndex = 8;
this.uppercaseCheckBox.Text = "A-Z";
this.uppercaseCheckBox.UseVisualStyleBackColor = true;
this.uppercaseCheckBox.CheckedChanged += new System.EventHandler(this.PasswordValidation);
this.uppercaseCheckBox.Click += new System.EventHandler(this.UppercaseCheckBox_Click);
//
// numericCheckBox
//
this.numericCheckBox.AutoSize = true;
this.numericCheckBox.Checked = true;
this.numericCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.numericCheckBox.Location = new System.Drawing.Point(102, 21);
this.numericCheckBox.Name = "numericCheckBox";
this.numericCheckBox.Size = new System.Drawing.Size(42, 17);
this.numericCheckBox.TabIndex = 9;
this.numericCheckBox.Text = "0-9";
this.numericCheckBox.UseVisualStyleBackColor = true;
this.numericCheckBox.CheckedChanged += new System.EventHandler(this.PasswordValidation);
this.numericCheckBox.Click += new System.EventHandler(this.NumericCheckBox_Click);
//
// passwordLengthLabel
//
this.passwordLengthLabel.AutoSize = true;
this.passwordLengthLabel.Location = new System.Drawing.Point(6, 9);
this.passwordLengthLabel.Name = "passwordLengthLabel";
this.passwordLengthLabel.Size = new System.Drawing.Size(130, 13);
this.passwordLengthLabel.TabIndex = 8;
this.passwordLengthLabel.Text = "Password length [4-256]";
//
// numberOfStringsLabel
//
this.numberOfStringsLabel.AutoSize = true;
this.numberOfStringsLabel.Location = new System.Drawing.Point(6, 37);
this.numberOfStringsLabel.Name = "numberOfStringsLabel";
this.numberOfStringsLabel.Size = new System.Drawing.Size(143, 13);
this.numberOfStringsLabel.TabIndex = 9;
this.numberOfStringsLabel.Text = "Number of strings [1-1000]";
//
// passwordLengthTextBox
//
this.passwordLengthTextBox.Location = new System.Drawing.Point(166, 6);
this.passwordLengthTextBox.Name = "passwordLengthTextBox";
this.passwordLengthTextBox.Size = new System.Drawing.Size(125, 22);
this.passwordLengthTextBox.TabIndex = 5;
this.passwordLengthTextBox.Text = "40";
this.passwordLengthTextBox.TextChanged += new System.EventHandler(this.PasswordValidation);
this.passwordLengthTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.PasswordLengthTextBox_KeyPress);
//
// numberOfStringsTextBox
//
this.numberOfStringsTextBox.Location = new System.Drawing.Point(166, 34);
this.numberOfStringsTextBox.Name = "numberOfStringsTextBox";
this.numberOfStringsTextBox.Size = new System.Drawing.Size(125, 22);
this.numberOfStringsTextBox.TabIndex = 6;
this.numberOfStringsTextBox.Text = "10";
this.numberOfStringsTextBox.TextChanged += new System.EventHandler(this.PasswordValidation);
this.numberOfStringsTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.PasswordLengthTextBox_KeyPress);
//
// copyAllButton
//
this.copyAllButton.AutoSize = true;
this.copyAllButton.Location = new System.Drawing.Point(225, 132);
this.copyAllButton.Name = "copyAllButton";
this.copyAllButton.Size = new System.Drawing.Size(66, 23);
this.copyAllButton.TabIndex = 3;
this.copyAllButton.Text = "Copy all";
this.copyAllButton.UseVisualStyleBackColor = true;
this.copyAllButton.Click += new System.EventHandler(this.CopyAllButton_Click);
this.copyAllButton.MouseEnter += new System.EventHandler(this.CopyAllButton_MouseEnter);
//
// copyLastButton
//
this.copyLastButton.AutoSize = true;
this.copyLastButton.Location = new System.Drawing.Point(153, 132);
this.copyLastButton.Name = "copyLastButton";
this.copyLastButton.Size = new System.Drawing.Size(66, 23);
this.copyLastButton.TabIndex = 2;
this.copyLastButton.Text = "Copy last";
this.copyLastButton.UseVisualStyleBackColor = true;
this.copyLastButton.Click += new System.EventHandler(this.CopyLastButton_Click);
this.copyLastButton.MouseEnter += new System.EventHandler(this.CopyLastButton_MouseEnter);
//
// passwordGeneratorToolTip
//
this.passwordGeneratorToolTip.AutoPopDelay = 1000;
this.passwordGeneratorToolTip.InitialDelay = 1;
this.passwordGeneratorToolTip.ReshowDelay = 100;
//
// specialCheckBox
//
this.specialCheckBox.AutoSize = true;
this.specialCheckBox.Location = new System.Drawing.Point(150, 21);
this.specialCheckBox.Name = "specialCheckBox";
this.specialCheckBox.Size = new System.Drawing.Size(117, 17);
this.specialCheckBox.TabIndex = 13;
this.specialCheckBox.Text = "Special characters";
this.passwordGeneratorToolTip.SetToolTip(this.specialCheckBox, "/ \\ ! ? @ # & $ % №");
this.specialCheckBox.UseVisualStyleBackColor = true;
this.specialCheckBox.CheckedChanged += new System.EventHandler(this.PasswordValidation);
this.specialCheckBox.Click += new System.EventHandler(this.SpecialCheckBox_Click);
this.specialCheckBox.MouseEnter += new System.EventHandler(this.SpecialCheckBox_MouseEnter);
//
// additionalCheckBox
//
this.additionalCheckBox.AutoSize = true;
this.additionalCheckBox.Location = new System.Drawing.Point(80, 41);
this.additionalCheckBox.Name = "additionalCheckBox";
this.additionalCheckBox.Size = new System.Drawing.Size(80, 17);
this.additionalCheckBox.TabIndex = 13;
this.additionalCheckBox.Text = "Additional";
this.passwordGeneratorToolTip.SetToolTip(this.additionalCheckBox, "\" ; _ - . = * + : ^ , | \'");
this.additionalCheckBox.UseVisualStyleBackColor = true;
this.additionalCheckBox.CheckedChanged += new System.EventHandler(this.PasswordValidation);
this.additionalCheckBox.Click += new System.EventHandler(this.additionalCheckBox_Click);
this.additionalCheckBox.MouseEnter += new System.EventHandler(this.SpecialCheckBox_MouseEnter);
//
// bracketsCheckBox
//
this.bracketsCheckBox.AutoSize = true;
this.bracketsCheckBox.Location = new System.Drawing.Point(6, 41);
this.bracketsCheckBox.Name = "bracketsCheckBox";
this.bracketsCheckBox.Size = new System.Drawing.Size(68, 17);
this.bracketsCheckBox.TabIndex = 13;
this.bracketsCheckBox.Text = "Brackets";
this.passwordGeneratorToolTip.SetToolTip(this.bracketsCheckBox, "( ) { } [ ] < >");
this.bracketsCheckBox.UseVisualStyleBackColor = true;
this.bracketsCheckBox.CheckedChanged += new System.EventHandler(this.PasswordValidation);
this.bracketsCheckBox.Click += new System.EventHandler(this.BracketsCheckBox_Click);
this.bracketsCheckBox.MouseEnter += new System.EventHandler(this.SpecialCheckBox_MouseEnter);
//
// specialGroupBox
//
this.specialGroupBox.Controls.Add(this.bracketsCheckBox);
this.specialGroupBox.Controls.Add(this.additionalCheckBox);
this.specialGroupBox.Controls.Add(this.uppercaseCheckBox);
this.specialGroupBox.Controls.Add(this.lowercaseCheckBox);
this.specialGroupBox.Controls.Add(this.numericCheckBox);
this.specialGroupBox.Controls.Add(this.specialCheckBox);
this.specialGroupBox.Location = new System.Drawing.Point(9, 62);
this.specialGroupBox.Name = "specialGroupBox";
this.specialGroupBox.Size = new System.Drawing.Size(282, 64);
this.specialGroupBox.TabIndex = 12;
this.specialGroupBox.TabStop = false;
this.specialGroupBox.Text = "Use characters";
//
// PasswordGeneratorFrom
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(298, 344);
this.Controls.Add(this.specialGroupBox);
this.Controls.Add(this.copyLastButton);
this.Controls.Add(this.copyAllButton);
this.Controls.Add(this.numberOfStringsTextBox);
this.Controls.Add(this.passwordLengthTextBox);
this.Controls.Add(this.numberOfStringsLabel);
this.Controls.Add(this.passwordLengthLabel);
this.Controls.Add(this.clearPasswordsListButton);
this.Controls.Add(this.passwordsListTextBox);
this.Controls.Add(this.generateButton);
this.Font = new System.Drawing.Font("Segoe UI", 8.25F);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "PasswordGeneratorFrom";
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.Text = "Password Generator";
this.Deactivate += new System.EventHandler(this.PasswordGeneratorFrom_Deactivate);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PasswordGeneratorFrom_FormClosing);
this.Load += new System.EventHandler(this.PasswordGeneratorFrom_Load);
this.specialGroupBox.ResumeLayout(false);
this.specialGroupBox.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button generateButton;
private System.Windows.Forms.TextBox passwordsListTextBox;
private System.Windows.Forms.Button clearPasswordsListButton;
private System.Windows.Forms.CheckBox lowercaseCheckBox;
private System.Windows.Forms.CheckBox uppercaseCheckBox;
private System.Windows.Forms.CheckBox numericCheckBox;
private System.Windows.Forms.Label passwordLengthLabel;
private System.Windows.Forms.Label numberOfStringsLabel;
private System.Windows.Forms.TextBox passwordLengthTextBox;
private System.Windows.Forms.TextBox numberOfStringsTextBox;
private System.Windows.Forms.Button copyAllButton;
private System.Windows.Forms.Button copyLastButton;
private System.Windows.Forms.ToolTip passwordGeneratorToolTip;
private System.Windows.Forms.GroupBox specialGroupBox;
private System.Windows.Forms.CheckBox specialCheckBox;
private System.Windows.Forms.CheckBox additionalCheckBox;
private System.Windows.Forms.CheckBox bracketsCheckBox;
}
}

View file

@ -0,0 +1,239 @@
using Crypto_Notepad.Properties;
using PasswordGenerator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace Crypto_Notepad
{
public partial class PasswordGeneratorFrom : Form
{
Settings settings = Settings.Default;
public PasswordGeneratorFrom()
{
InitializeComponent();
}
#region Methods
private IEnumerable<string> GeneratePasswordGroup()
{
IPassword pwd;
bool includeSpecial = true;
string main = @"/\!?@#&$%№";
string additional = "\";_-.=*+:^,|'";
string brackets = "(){}[]<>";
if (!specialCheckBox.Checked)
{
main = "";
}
if (!additionalCheckBox.Checked)
{
additional = "";
}
if (!bracketsCheckBox.Checked)
{
brackets = "";
}
if (!specialCheckBox.Checked & !additionalCheckBox.Checked & !bracketsCheckBox.Checked)
{
includeSpecial = false;
}
if (includeSpecial)
{
pwd = new Password(
includeLowercase: lowercaseCheckBox.Checked,
includeUppercase: uppercaseCheckBox.Checked,
includeNumeric: numericCheckBox.Checked,
includeSpecial: false,
passwordLength: int.Parse(passwordLengthTextBox.Text)).IncludeSpecial(main + additional + brackets);
}
else
{
pwd = new Password(
includeLowercase: lowercaseCheckBox.Checked,
includeUppercase: uppercaseCheckBox.Checked,
includeNumeric: numericCheckBox.Checked,
includeSpecial: false,
passwordLength: int.Parse(passwordLengthTextBox.Text));
}
return pwd.NextGroup(Convert.ToInt32(numberOfStringsTextBox.Text));
}
#endregion
#region Event Handlers
private void GenerateButton_Click(object sender, EventArgs e)
{
passwordsListTextBox.AppendLine(string.Join(Environment.NewLine, GeneratePasswordGroup().ToArray()));
}
private void ClearPasswordsListButton_Click(object sender, EventArgs e)
{
passwordsListTextBox.Clear();
}
private void PasswordLengthTextBox_KeyPress(object sender, KeyPressEventArgs e)
{
if (!char.IsControl(e.KeyChar) & !char.IsDigit(e.KeyChar))
{
e.Handled = true;
}
}
private void PasswordGeneratorFrom_Load(object sender, EventArgs e)
{
CenterToParent();
lowercaseCheckBox.Checked = settings.passwordGeneratorLowercase;
uppercaseCheckBox.Checked = settings.passwordGeneratorUppercase;
numericCheckBox.Checked = settings.passwordGeneratorNumeric;
specialCheckBox.Checked = settings.passwordGeneratorSpecial;
bracketsCheckBox.Checked = settings.passwordGeneratorBrackets;
additionalCheckBox.Checked = settings.passwordGeneratorAdditional;
passwordLengthTextBox.Text = settings.passwordGeneratorLength;
numberOfStringsTextBox.Text = settings.passwordGeneratorNumberOfStrings;
passwordsListTextBox.Text = string.Join(Environment.NewLine, GeneratePasswordGroup().ToArray());
}
private void LowercaseCheckBox_Click(object sender, EventArgs e)
{
settings.passwordGeneratorLowercase = lowercaseCheckBox.Checked;
settings.Save();
}
private void UppercaseCheckBox_Click(object sender, EventArgs e)
{
settings.passwordGeneratorUppercase = uppercaseCheckBox.Checked;
settings.Save();
}
private void NumericCheckBox_Click(object sender, EventArgs e)
{
settings.passwordGeneratorNumeric = numericCheckBox.Checked;
settings.Save();
}
private void SpecialCheckBox_Click(object sender, EventArgs e)
{
settings.passwordGeneratorSpecial = specialCheckBox.Checked;
settings.Save();
}
private void PasswordGeneratorFrom_FormClosing(object sender, FormClosingEventArgs e)
{
if (!settings.passwordGeneratorLowercase & !settings.passwordGeneratorUppercase
& !settings.passwordGeneratorNumeric & !settings.passwordGeneratorSpecial)
{
settings.passwordGeneratorLowercase = true;
}
try
{
if (Enumerable.Range(4, 256).Contains(int.Parse(passwordLengthTextBox.Text)))
{
settings.passwordGeneratorLength = passwordLengthTextBox.Text;
}
if (Enumerable.Range(1, 1000).Contains(int.Parse(numberOfStringsTextBox.Text)))
{
settings.passwordGeneratorNumberOfStrings = numberOfStringsTextBox.Text;
}
}
catch
{
}
settings.Save();
}
private void PasswordValidation(object sender, EventArgs e)
{
try
{
if (!Enumerable.Range(1, 1000).Contains(int.Parse(numberOfStringsTextBox.Text)) |
!Enumerable.Range(4, 256).Contains(int.Parse(passwordLengthTextBox.Text)) |
!lowercaseCheckBox.Checked &
!uppercaseCheckBox.Checked &
!numericCheckBox.Checked &
!specialCheckBox.Checked &
!additionalCheckBox.Checked &
!bracketsCheckBox.Checked |
string.IsNullOrWhiteSpace(numberOfStringsTextBox.Text.Trim('0')))
{
generateButton.Enabled = false;
}
else
{
generateButton.Enabled = true;
}
}
catch
{
generateButton.Enabled = false;
}
}
private void CopyAllButton_Click(object sender, EventArgs e)
{
Clipboard.SetText(passwordsListTextBox.Text);
passwordGeneratorToolTip.SetToolTip(copyAllButton, "Copied");
}
private void CopyLastButton_Click(object sender, EventArgs e)
{
Clipboard.SetText(passwordsListTextBox.Lines[passwordsListTextBox.Lines.Length - 1]);
passwordGeneratorToolTip.SetToolTip(copyLastButton, "Copied");
}
private void PasswordsListTextBox_TextChanged(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(passwordsListTextBox.Text))
{
copyLastButton.Enabled = false;
copyAllButton.Enabled = false;
}
else
{
copyLastButton.Enabled = true;
copyAllButton.Enabled = true;
}
}
private void CopyLastButton_MouseEnter(object sender, EventArgs e)
{
passwordGeneratorToolTip.AutoPopDelay = 1000;
passwordGeneratorToolTip.SetToolTip(copyLastButton, null);
}
private void CopyAllButton_MouseEnter(object sender, EventArgs e)
{
passwordGeneratorToolTip.AutoPopDelay = 1000;
passwordGeneratorToolTip.SetToolTip(copyAllButton, null);
}
private void PasswordGeneratorFrom_Deactivate(object sender, EventArgs e)
{
PasswordGeneratorFrom_FormClosing(null, null);
}
#endregion
private void SpecialCheckBox_MouseEnter(object sender, EventArgs e)
{
passwordGeneratorToolTip.AutoPopDelay = 10000;
}
private void BracketsCheckBox_Click(object sender, EventArgs e)
{
settings.passwordGeneratorBrackets = bracketsCheckBox.Checked;
settings.Save();
}
private void additionalCheckBox_Click(object sender, EventArgs e)
{
settings.passwordGeneratorAdditional = additionalCheckBox.Checked;
settings.Save();
}
}
}

View file

@ -117,7 +117,32 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="passwordGeneratorToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAA
AAD///8AAAAAAgAAAAwAAAAaABoxWQAtV70AGC5gAAAAKwAAAB4AAAAQAAAABAZtAJkFaQDMBm0AmQdx
AAAOjAAA////AAAAAAEAAAAGAAAADQAzXaiFzub/ADNdqQAjPk8AAAAPAAAACAAAAAIMgwDMK98a/wyD
AMwNiAAADowAAP///wAAAAAAAAAAAAAvTwAAPmihg8zl/33K5P8APmmiBEM1AA6NAJkOjADMDowAzD3i
LP8OjADMDowAzA6NAJn///8AAAAAAAA5WQAAS3YAAEt2qYPM5f8AS3apAEt2LghwOwAQlQDMUudB/1Ln
Qf9S50H/UudB/1LnQf8QlQDM////AABUfwAAVH8AAFR/AABUf7aDzOX/dsLc9gBUf7YJeEAAEpwAmRKd
AMwSnQDMZutV/xKdAMwSnQDMEpwAmf///wAAVYAAAFWAAABVgAAAVYC1g8zl/wBVgLUAVYAuBWdgABKd
AAAToQAAFKQAzHXuZP8UpADME6EAABKdAAD///8AAFmFAABWgQAAVYAAAFWAsYPM5f9muNX/AFWAsQBV
gAAFaGEAFKgAABWpAJkVqQDMFakAmRSoAAASnQAA////AABZhQAAVoEFAFWAQQBVgKyDzOX/YbPS/wBV
gKwAVYBBAFaBBQVtZAAVqQAAFaoAABWpAAAUqAAAEp0AAP///wAAWYUHAFiEbT6OscV8w+Drcrza/1uu
zv9Xr9LrLIatxQBYhG0AWYUHBm5kABWqAAAVqQAAFKgAABKdAAD///8AAV6MS1SkxcyW2vb/iMzu/2ey
0/9MosX/Ta/X/2LG7f87mcLMAV6MSwFejQAGcWoAC4RHAAuDRwAKfkcA////AAFjlIWZ3/f3mt74/5ba
9f+ByuX/br3a/2rD5P9pyvD/ac309wFjlIUBY5QAAWOUAAFjlAABY5QAAWOUAP///wACap6SoeX+/xCY
sc4AkKjJAJCoyQCQqMkAkKjJCZawzm7T+v8Cap6SAmqeAAJqngACap4AAmqeAAJqngD///8AAnCocYzX
8etFq8vdAIakggCJpRkAiaUZAIakgimix91qyu/rAnCocQJwqAACcKgAAnCoAAJwqAACcKgA////AAJ2
sC8nkcOkneH5/0WhxtYPeqW6C3iiuimUvNZ30fP/Io/CpAJ2sC8Cda8AAnWvAAJ1rwACda8AAnWvAP//
/wADe7cBA3y5TCmWyaF+zu3djdXs/4DM5v9txOXdJZTJoQN8uUwDe7cBA3u3AAN7twADe7cAA3u3AAN7
twD///8AA3u3AAN+vQEDgL8tA4C/aQOAv4MDgL+DA4C/aQOAvy0Dfr0BA3u3AAN7twADe7cAA3u3AAN7
twADe7cAgAMAAIADAADwgAAA8IAAAPCAAADw4wAA8OMAAMA/AACAHwAAgB8AAIAfAACAHwAAgB8AAIAf
AACAHwAAwD8AAA==
</value>
</data>
</root> </root>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,657 @@
using System;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
namespace Crypto_Notepad
{
public partial class SettingsForm : Form
{
Properties.Settings settings = Properties.Settings.Default;
public SettingsForm()
{
InitializeComponent();
}
#region Methods
private void LoadSettings()
{
editorFontColor.BackColor = settings.editorForeColor;
editorBackColor.BackColor = settings.editorBackColor;
editorInsertKeyComboBox.Text = settings.insertKey;
if (settings.clipboardClearTime != "")
{
clearClipboardTextBox.Text = settings.clipboardClearTime.Remove(settings.clipboardClearTime.Length - 1);
}
editorPaddingLeftTextBox.Text = settings.editorPaddingLeft;
editorOpenLinksWithComboBox.Text = settings.openLinks;
editorBorderComboBox.Text = settings.editorBorder;
fontDialog.Font = settings.editorFont;
editorFontLabel.Text = settings.editorFont.Name.ToString() + " " + settings.editorFont.Size.ToString();
lockTimeoutTextBox.Text = settings.lockTimeout;
autoLockOnMinimizeCheckBox.Checked = settings.autoLock;
autoCheckUpdatesCheckBox.Checked = settings.autoCheckUpdate;
mainMenuCheckBox.Checked = settings.mainMenuVisible;
menuIconsCheckBox.Checked = settings.menuIcons;
shortcutKeysCheckBox.Checked = settings.shortcutKeys;
minimizeToTrayCheckBox.Checked = settings.minimizeToTray;
closeToTrayCheckBox.Checked = settings.closeToTray;
singleInstanceCheckBox.Checked = settings.singleInstance;
clearClipboardCheckBox.Checked = settings.clearClipboardAtClose;
trayMenuCheckBox.Checked = settings.trayMenu;
integrateCheckBox.Checked = settings.explorerIntegrate;
associateCheckBox.Checked = settings.explorerAssociate;
sendToCheckBox.Checked = settings.explorerSendTo;
hashAlgorithmComboBox.Text = settings.HashAlgorithm;
keySizeComboBox.Text = settings.KeySize;
passwordIterationsTextBox.Text = settings.PasswordIterations;
openTxtUnencryptedCheckBox.Checked = settings.openTxtUnencrypted;
searchBackColor.BackColor = settings.searchPanelBackColor;
searchFontColor.BackColor = settings.searchPanelForeColor;
searchBorderComboBox.Text = settings.searchPanelBorder;
toolbarBackColor.BackColor = settings.toolbarBackColor;
toolbarBorderCheckBox.Checked = settings.toolbarBorder;
toolbarVisibleCheckBox.Checked = settings.toolbarVisible;
toolbarOldIconsCheckBox.Checked = settings.oldToolbarIcons;
toolbarCloseButtonCheckBox.Checked = settings.toolbarCloseButton;
statusPanelBackColor.BackColor = settings.statusPanelBackColor;
statusPanelFontColor.BackColor = settings.statusPanelFontColor;
statusPanelVisibleCheckBox.Checked = settings.statusPanelVisible;
statusPanelLengthCheckBox.Checked = settings.statusPanelLength;
statusPanelLinesCheckBox.Checked = settings.statusPanelLines;
statusPanelModifiedCheckBox.Checked = settings.statusPanelModified;
statusPanelSizeCheckBox.Checked = settings.statusPanelSize;
statusPanelReadonlyCheckBox.Checked = settings.statusPanelReadonly;
statusPanelWordwrapCheckBox.Checked = settings.statusPanelWordWrap;
statusPanelPasteboardCheckBox.Checked = settings.statusPanelPasteboard;
statusPanelClipboardCheckBox.Checked = settings.statusPanelClipboard;
encryptionHintLabel.Visible = settings.encryptionHint;
}
#endregion
#region Event Handlers
private void SettingsForm_Load(object sender, EventArgs e)
{
string custom_colors = settings.customColor;
int[] array_of_colors = custom_colors.Split(';').Select(n => Convert.ToInt32(n)).ToArray();
colorDialog.CustomColors = array_of_colors;
settingsTabControl.Appearance = TabAppearance.FlatButtons;
settingsTabControl.ItemSize = new Size(0, 1);
settingsTabControl.SizeMode = TabSizeMode.Fixed;
settingsNavigation.SelectedIndex = 0;
TopMost = settings.alwaysOnTop;
settingsTabControl.TabStop = false;
LoadSettings();
}
private void EditorPaddingLeftTextBox_Click(object sender, EventArgs e)
{
editorPaddingLeftTextBox.SelectAll();
}
private void SettingsForm_FormClosed(object sender, FormClosedEventArgs e)
{
MainForm main = Owner as MainForm;
string customColor = string.Join(";", colorDialog.CustomColors);
settings.customColor = customColor;
if (string.IsNullOrWhiteSpace(settings.PasswordIterations))
{
settings.PasswordIterations = "1";
}
if (string.IsNullOrWhiteSpace(editorPaddingLeftTextBox.Text))
{
settings.editorPaddingLeft = "0";
main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0);
}
settings.Save();
}
private void EditorPaddingLeftTextBox_KeyPress(object sender, KeyPressEventArgs e)
{
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar))
{
e.Handled = true;
}
}
private void PasswordIterationsTextBox_KeyPress(object sender, KeyPressEventArgs e)
{
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar))
{
e.Handled = true;
}
}
private void LockTimeoutTextBox_KeyPress(object sender, KeyPressEventArgs e)
{
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar))
{
e.Handled = true;
}
}
#endregion
#region Settings Events
private void EncryptionHintLabel_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
encryptionHintLabel.Visible = false;
settings.encryptionHint = false;
}
}
private void EditorFontColor_Click(object sender, EventArgs e)
{
colorDialog.Color = editorFontColor.BackColor;
using (new CenterWinDialog(this))
{
if (colorDialog.ShowDialog() == DialogResult.OK)
{
MainForm main = Owner as MainForm;
main.richTextBox.ForeColor = colorDialog.Color;
main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0);
settings.editorForeColor = colorDialog.Color;
editorFontColor.BackColor = colorDialog.Color;
}
}
}
private void EditorBackColor_Click(object sender, EventArgs e)
{
colorDialog.Color = editorBackColor.BackColor;
using (new CenterWinDialog(this))
{
if (colorDialog.ShowDialog() == DialogResult.OK)
{
MainForm main = Owner as MainForm;
main.richTextBox.BackColor = colorDialog.Color;
main.BackColor = colorDialog.Color;
settings.editorBackColor = colorDialog.Color;
editorBackColor.BackColor = colorDialog.Color;
}
}
}
private void SettingsNavigation_Click(object sender, EventArgs e)
{
switch (settingsNavigation.SelectedIndex)
{
case 0:
settingsTabControl.SelectedTab = generalTabPage;
break;
case 1:
settingsTabControl.SelectedTab = interfaceTabPage;
break;
case 2:
settingsTabControl.SelectedTab = editorTabPage;
break;
case 3:
settingsTabControl.SelectedTab = encryptionTabPage;
break;
}
}
private void SettingsTabControl_SelectedIndexChanged(object sender, EventArgs e)
{
settingsTabControl.Focus();
}
private void ToolbarVisibleCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
main.toolbarPanel.Visible = toolbarVisibleCheckBox.Checked;
main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0);
settings.toolbarVisible = toolbarVisibleCheckBox.Checked;
}
private void AssociateCheckBox_Click(object sender, EventArgs e)
{
if (associateCheckBox.Checked)
{
Methods.AssociateExtension(Assembly.GetEntryAssembly().Location, "cnp");
}
else
{
Methods.DissociateExtension("cnp");
}
settings.explorerAssociate = associateCheckBox.Checked;
}
private void IntegrateCheckBox_Click(object sender, EventArgs e)
{
if (integrateCheckBox.Checked)
{
Methods.MenuIntegrate("enable");
}
else
{
Methods.MenuIntegrate("disable");
}
settings.explorerIntegrate = integrateCheckBox.Checked;
}
private void EditorPaddingLeftTextBox_TextChanged(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
if (editorPaddingLeftTextBox.Text.Length >= 1)
{
if (settings.editorPaddingLeft != editorPaddingLeftTextBox.Text)
{
main.richTextBox.SetInnerMargins(Convert.ToInt32(editorPaddingLeftTextBox.Text), 0, 0, 0);
main.richTextBox.Refresh();
settings.editorPaddingLeft = editorPaddingLeftTextBox.Text;
}
}
}
private void LockTimeoutTextBox_TextChanged(object sender, EventArgs e)
{
if (lockTimeoutTextBox.Text != settings.lockTimeout)
{
settings.lockTimeout = lockTimeoutTextBox.Text;
}
if (string.IsNullOrEmpty(lockTimeoutTextBox.Text) | lockTimeoutTextBox.Text == "0")
{
MainForm main = Owner as MainForm;
main.lockTimer.Enabled = false;
}
}
private void SendToCheckBox_Click(object sender, EventArgs e)
{
if (sendToCheckBox.Checked)
{
Methods.SendToShortcut();
}
else
{
string shortcutPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\Microsoft\Windows\SendTo\Crypto Notepad.lnk";
if (System.IO.File.Exists(shortcutPath))
{
System.IO.File.Delete(shortcutPath);
}
}
settings.explorerSendTo = sendToCheckBox.Checked;
}
private void EditorInsertKeyComboBox_DropDownClosed(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
if (settings.insertKey != editorInsertKeyComboBox.Text)
{
if (editorInsertKeyComboBox.Text == "Disable")
{
main.insertMainMenu.ShortcutKeys = Keys.Insert;
}
else
{
main.insertMainMenu.ShortcutKeys = Keys.None;
}
settings.insertKey = editorInsertKeyComboBox.Text;
}
}
private void MenuIconsCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
settings.menuIcons = menuIconsCheckBox.Checked;
main.MenuIcons(settings.menuIcons);
}
private void EditorFontLabel_Click(object sender, EventArgs e)
{
using (new CenterWinDialog(this))
{
if (fontDialog.ShowDialog() == DialogResult.OK)
{
MainForm main = Owner as MainForm;
main.richTextBox.Font = fontDialog.Font;
main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0);
settings.editorFont = fontDialog.Font;
editorFontLabel.Text = settings.editorFont.Name.ToString() + " " + settings.editorFont.Size.ToString();
}
}
}
private void KeySizeComboBox_DropDownClosed(object sender, EventArgs e)
{
if (keySizeComboBox.Text != settings.KeySize)
{
settings.KeySize = keySizeComboBox.Text;
}
}
private void HashAlgorithmComboBox_DropDownClosed(object sender, EventArgs e)
{
if (hashAlgorithmComboBox.Text != settings.HashAlgorithm)
{
settings.HashAlgorithm = hashAlgorithmComboBox.Text;
}
}
private void FontDialog_Apply(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
main.richTextBox.Font = fontDialog.Font;
main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0);
settings.editorFont = fontDialog.Font;
}
private void StatusPanelVisibleCheckBox_Click(object sender, EventArgs e)
{
Application.DoEvents();
MainForm main = Owner as MainForm;
main.statusPanel.Visible = statusPanelVisibleCheckBox.Checked;
settings.statusPanelVisible = statusPanelVisibleCheckBox.Checked;
}
private void StatusPanelBackColor_Click(object sender, EventArgs e)
{
colorDialog.Color = statusPanelBackColor.BackColor;
using (new CenterWinDialog(this))
{
if (colorDialog.ShowDialog() == DialogResult.OK)
{
MainForm main = Owner as MainForm;
main.statusPanel.BackColor = colorDialog.Color;
statusPanelBackColor.BackColor = colorDialog.Color;
settings.statusPanelBackColor = colorDialog.Color;
}
}
}
private void StatusPanelFontColor_Click(object sender, EventArgs e)
{
colorDialog.Color = statusPanelFontColor.BackColor;
using (new CenterWinDialog(this))
{
if (colorDialog.ShowDialog() == DialogResult.OK)
{
MainForm main = Owner as MainForm;
main.statusPanel.ForeColor = colorDialog.Color;
main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0);
statusPanelFontColor.BackColor = colorDialog.Color;
settings.statusPanelFontColor = colorDialog.Color;
}
}
}
private void ToolbarBackColor_Click(object sender, EventArgs e)
{
colorDialog.Color = toolbarBackColor.BackColor;
using (new CenterWinDialog(this))
{
if (colorDialog.ShowDialog() == DialogResult.OK)
{
MainForm main = Owner as MainForm;
main.toolbarPanel.BackColor = colorDialog.Color;
settings.toolbarBackColor = colorDialog.Color;
toolbarBackColor.BackColor = colorDialog.Color;
}
}
}
private void ToolbarBorderCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
if (toolbarBorderCheckBox.Checked)
{
main.toolbarPanel.BorderStyle = BorderStyle.FixedSingle;
}
else
{
main.toolbarPanel.BorderStyle = BorderStyle.None;
}
settings.toolbarBorder = toolbarBorderCheckBox.Checked;
}
private void SearchBackColor_Click(object sender, EventArgs e)
{
colorDialog.Color = searchBackColor.BackColor;
using (new CenterWinDialog(this))
{
if (colorDialog.ShowDialog() == DialogResult.OK)
{
MainForm main = Owner as MainForm;
main.searchPanel.BackColor = colorDialog.Color;
main.searchTextBox.BackColor = colorDialog.Color;
settings.searchPanelBackColor = colorDialog.Color;
searchBackColor.BackColor = colorDialog.Color;
}
}
}
private void SearchFontColor_Click(object sender, EventArgs e)
{
colorDialog.Color = searchFontColor.BackColor;
using (new CenterWinDialog(this))
{
if (colorDialog.ShowDialog() == DialogResult.OK)
{
MainForm main = Owner as MainForm;
main.searchTextBox.ForeColor = colorDialog.Color;
main.searchCaseSensitiveCheckBox.ForeColor = colorDialog.Color;
main.searchWholeWordCheckBox.ForeColor = colorDialog.Color;
main.searchFindNextButton.ForeColor = colorDialog.Color;
main.searchCloseButton.ForeColor = colorDialog.Color;
settings.searchPanelForeColor = colorDialog.Color;
searchFontColor.BackColor = colorDialog.Color;
}
}
}
private void MainMenuCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
if (mainMenuCheckBox.Checked)
{
main.mainMenu.Visible = true;
}
else
{
main.mainMenu.Visible = false;
}
settings.mainMenuVisible = mainMenuCheckBox.Checked;
}
private void ToolbarOldIconsCheckBox_Click(object sender, EventArgs e)
{
settings.oldToolbarIcons = toolbarOldIconsCheckBox.Checked;
MainForm main = Owner as MainForm;
main.ToolbarIcons(settings.oldToolbarIcons);
}
private void EditorOpenLinksWithComboBox_DropDownClosed(object sender, EventArgs e)
{
if (settings.openLinks != editorOpenLinksWithComboBox.Text)
{
settings.openLinks = editorOpenLinksWithComboBox.Text;
}
}
private void AutoLockOnMinimizeCheckBox_Click(object sender, EventArgs e)
{
settings.autoLock = autoLockOnMinimizeCheckBox.Checked;
}
private void AutoCheckUpdatesCheckBox_Click(object sender, EventArgs e)
{
settings.autoCheckUpdate = autoCheckUpdatesCheckBox.Checked;
}
private void PasswordIterationsTextBox_TextChanged(object sender, EventArgs e)
{
if (passwordIterationsTextBox.Text != settings.PasswordIterations)
{
settings.PasswordIterations = passwordIterationsTextBox.Text;
}
}
private void MinimizeToTrayCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
if (closeToTrayCheckBox.Checked == false & minimizeToTrayCheckBox.Checked == false & trayMenuCheckBox.Checked == false)
{
main.trayIcon.Visible = false;
}
if (minimizeToTrayCheckBox.Checked == true)
{
main.trayIcon.Visible = true;
}
settings.minimizeToTray = minimizeToTrayCheckBox.Checked;
}
private void CloseToTrayCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
if (closeToTrayCheckBox.Checked == false & minimizeToTrayCheckBox.Checked == false & trayMenuCheckBox.Checked == false)
{
main.trayIcon.Visible = false;
}
if (closeToTrayCheckBox.Checked == true)
{
main.trayIcon.Visible = true;
}
settings.closeToTray = closeToTrayCheckBox.Checked;
}
private void EditorBorderComboBox_DropDownClosed(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
main.richTextBoxPanel.BorderStyle = (BorderStyle)Enum.Parse(typeof(BorderStyle), editorBorderComboBox.Text);
settings.editorBorder = editorBorderComboBox.Text;
}
private void SearchBorderComboBox_DropDownClosed(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
main.searchPanel.CellBorderStyle = (TableLayoutPanelCellBorderStyle)Enum.Parse(typeof(TableLayoutPanelCellBorderStyle), searchBorderComboBox.Text);
settings.searchPanelBorder = searchBorderComboBox.Text;
}
private void ToolbarCloseButtonCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
main.closeToolbarButton.Visible = toolbarCloseButtonCheckBox.Checked;
settings.toolbarCloseButton = toolbarCloseButtonCheckBox.Checked;
}
private void SingleInstanceCheckBox_Click(object sender, EventArgs e)
{
settings.singleInstance = singleInstanceCheckBox.Checked;
}
private void StatusPanelLengthCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
main.statusPanelLengthLabel.Visible = statusPanelLengthCheckBox.Checked;
settings.statusPanelLength = statusPanelLengthCheckBox.Checked;
main.StatusPanelTextInfo();
}
private void StatusPanelLinesCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
main.statusPanelLinesLabel.Visible = statusPanelLinesCheckBox.Checked;
settings.statusPanelLines = statusPanelLinesCheckBox.Checked;
main.StatusPanelTextInfo();
}
private void StatusPanelModifiedCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
main.statusPanelModifiedLabel.Visible = statusPanelModifiedCheckBox.Checked;
settings.statusPanelModified = statusPanelModifiedCheckBox.Checked;
main.StatusPanelFileInfo();
}
private void StatusPanelSizeCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
main.statusPanelSizeLabel.Visible = statusPanelSizeCheckBox.Checked;
settings.statusPanelSize = statusPanelSizeCheckBox.Checked;
main.StatusPanelFileInfo();
}
#endregion
private void StatusPanelReadonlyCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
main.statusPanelReadonlyLabel.Visible = statusPanelReadonlyCheckBox.Checked;
settings.statusPanelReadonly = statusPanelReadonlyCheckBox.Checked;
main.StatusPanelFileInfo();
}
private void StatusPanelWordwrapCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
main.statusPanelWordwrapLabel.Visible = statusPanelWordwrapCheckBox.Checked;
settings.statusPanelWordWrap = statusPanelWordwrapCheckBox.Checked;
main.StatusPanelFileInfo();
}
private void StatusPanelPasteboardCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
main.statusPanelPasteboardLabel.Visible = statusPanelPasteboardCheckBox.Checked;
settings.statusPanelPasteboard = statusPanelPasteboardCheckBox.Checked;
main.StatusPanelFileInfo();
}
private void StatusPanelClipboardCheckBox_Click(object sender, EventArgs e)
{
settings.statusPanelClipboard = statusPanelClipboardCheckBox.Checked;
}
private void ClearClipboardTextBox_TextChanged(object sender, EventArgs e)
{
if (clearClipboardTextBox.Text == "" || clearClipboardTextBox.Text == "0")
{
settings.clipboardClearTime = "";
}
else
{
settings.clipboardClearTime = clearClipboardTextBox.Text + 0;
}
}
private void ClearClipboardCheckBox_Click(object sender, EventArgs e)
{
settings.clearClipboardAtClose = clearClipboardCheckBox.Checked;
}
private void TrayMenuCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
if (closeToTrayCheckBox.Checked == false & minimizeToTrayCheckBox.Checked == false & trayMenuCheckBox.Checked == false)
{
main.trayIcon.Visible = false;
}
if (trayMenuCheckBox.Checked == true)
{
main.trayIcon.Visible = true;
}
settings.trayMenu = trayMenuCheckBox.Checked;
}
private void ShortcutKeysCheckBox_Click(object sender, EventArgs e)
{
MainForm main = Owner as MainForm;
settings.shortcutKeys = shortcutKeysCheckBox.Checked;
main.ShortcutKeys(settings.shortcutKeys);
}
private void OpenTxtUnencryptedCheckBox_Click(object sender, EventArgs e)
{
settings.openTxtUnencrypted = openTxtUnencryptedCheckBox.Checked;
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,28 +1,79 @@
using System; using Crypto_Notepad.Properties;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Forms; using System.Windows.Forms;
namespace Crypto_Notepad namespace Crypto_Notepad
{ {
static class Program static class Program
{ {
[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool SetForegroundWindow(IntPtr hWnd);
/// <summary> /// <summary>
/// Главная точка входа для приложения. /// The main entry point for the application.
/// </summary> /// </summary>
[STAThread] [STAThread]
static void Main() static void Main()
{
Settings settings = Settings.Default;
using (Mutex mutex = new Mutex(true, PublicVar.appName, out bool createdNew))
{
if (!settings.singleInstance)
{
createdNew = true;
}
if (createdNew)
{ {
Application.EnableVisualStyles(); Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false); Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainWindow()); Application.Run(new MainForm());
} }
} else
static class publicVar
{ {
public static string encryptionKey = ""; DialogResult dialogResult = MessageBox.Show(
public static bool keyChanged = false; PublicVar.appName + " is already running.\nDo you still want to open a new copy of the app?",
public static bool settingsChanged = false; PublicVar.appName, MessageBoxButtons.YesNo, MessageBoxIcon.Warning,
MessageBoxDefaultButton.Button2, MessageBoxOptions.DefaultDesktopOnly);
if (dialogResult == DialogResult.Yes)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
if (dialogResult == DialogResult.No)
{
Process current = Process.GetCurrentProcess();
foreach (Process process in Process.GetProcessesByName(current.ProcessName))
{
if (process.Id != current.Id)
{
SetForegroundWindow(process.MainWindowHandle);
break;
}
}
}
}
}
}
}
static class PublicVar
{
public static EncryptedString password = new EncryptedString();
public static bool passwordChanged = false;
public static bool okPressed = false; public static bool okPressed = false;
public static bool messageBoxCenterParent = false;
public const string appName = "Crypto Notepad";
public static string openFileName;
public static bool metadataCorrupt = false;
}
static class TypedPassword
{
public static string Value { get; set; }
} }
} }

View file

@ -7,11 +7,11 @@
// связанные со сборкой. // связанные со сборкой.
[assembly: AssemblyTitle("Crypto Notepad")] [assembly: AssemblyTitle("Crypto Notepad")]
[assembly: AssemblyDescription("Simple editor with encryption features")] [assembly: AssemblyDescription("Simple editor with encryption features")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("Crypto Notepad")]
[assembly: AssemblyProduct("Crypto Notepad")] [assembly: AssemblyProduct("Crypto Notepad")]
[assembly: AssemblyCopyright("Sigmanor")] [assembly: AssemblyCopyright("Sigmanor")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("Crypto Notepad")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми // Параметр ComVisible со значением FALSE делает типы в сборке невидимыми
@ -20,7 +20,7 @@
[assembly: ComVisible(false)] [assembly: ComVisible(false)]
// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM // Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM
[assembly: Guid("969df047-1cd0-4744-aeed-8d8877b6c909")] [assembly: Guid("969df047-1cd0-4744-deed-8d8877b6c909")]
// Сведения о версии сборки состоят из следующих четырех значений: // Сведения о версии сборки состоят из следующих четырех значений:
// //
@ -33,4 +33,4 @@
// используя "*", как показано ниже: // используя "*", как показано ниже:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.7.3.0")]

View file

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// Этот код создан программой. // This code was generated by a tool.
// Исполняемая версия:4.0.30319.42000 // Runtime Version:4.0.30319.42000
// //
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // Changes to this file may cause incorrect behavior and will be lost if
// повторной генерации кода. // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
@ -13,13 +13,13 @@ namespace Crypto_Notepad.Properties {
/// <summary> /// <summary>
/// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д. /// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary> /// </summary>
// Этот класс создан автоматически классом StronglyTypedResourceBuilder // This class was auto-generated by the StronglyTypedResourceBuilder
// с помощью такого средства, как ResGen или Visual Studio. // class via a tool like ResGen or Visual Studio.
// Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen // To add or remove a member, edit your .ResX file then rerun ResGen
// с параметром /str или перестройте свой проект VS. // with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources { internal class Resources {
@ -33,7 +33,7 @@ internal Resources() {
} }
/// <summary> /// <summary>
/// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом. /// Returns the cached ResourceManager instance used by this class.
/// </summary> /// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager { internal static global::System.Resources.ResourceManager ResourceManager {
@ -47,8 +47,8 @@ internal Resources() {
} }
/// <summary> /// <summary>
/// Перезаписывает свойство CurrentUICulture текущего потока для всех /// Overrides the current thread's CurrentUICulture property for all
/// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией. /// resource lookups using this strongly typed resource class.
/// </summary> /// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture { internal static global::System.Globalization.CultureInfo Culture {
@ -61,57 +61,217 @@ internal Resources() {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap close_b { internal static System.Drawing.Bitmap application {
get { get {
object obj = ResourceManager.GetObject("close_b", resourceCulture); object obj = ResourceManager.GetObject("application", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap close_g { internal static System.Drawing.Bitmap application_blue {
get { get {
object obj = ResourceManager.GetObject("close_g", resourceCulture); object obj = ResourceManager.GetObject("application_blue", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap cut_red { internal static System.Drawing.Bitmap application_dock_180 {
get { get {
object obj = ResourceManager.GetObject("cut_red", resourceCulture); object obj = ResourceManager.GetObject("application-dock-180", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap disk_multiple { internal static System.Drawing.Bitmap applications_blue {
get { get {
object obj = ResourceManager.GetObject("disk_multiple", resourceCulture); object obj = ResourceManager.GetObject("applications_blue", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap diskette { internal static System.Drawing.Bitmap arrow_left {
get { get {
object obj = ResourceManager.GetObject("diskette", resourceCulture); object obj = ResourceManager.GetObject("arrow_left", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap arrow_right {
get {
object obj = ResourceManager.GetObject("arrow_right", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap big_lock {
get {
object obj = ResourceManager.GetObject("big_lock", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap clipboard {
get {
object obj = ResourceManager.GetObject("clipboard", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap clipboard_minus {
get {
object obj = ResourceManager.GetObject("clipboard_minus", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap clipboard_text {
get {
object obj = ResourceManager.GetObject("clipboard_text", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap clock_plus {
get {
object obj = ResourceManager.GetObject("clock_plus", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap cross_button {
get {
object obj = ResourceManager.GetObject("cross_button", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap disk_minus {
get {
object obj = ResourceManager.GetObject("disk_minus", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap disk_return_black {
get {
object obj = ResourceManager.GetObject("disk_return_black", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap disks_black {
get {
object obj = ResourceManager.GetObject("disks_black", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap document {
get {
object obj = ResourceManager.GetObject("document", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap document_copy {
get {
object obj = ResourceManager.GetObject("document_copy", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap document_minus {
get {
object obj = ResourceManager.GetObject("document_minus", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap document_pencil {
get {
object obj = ResourceManager.GetObject("document_pencil", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap document_plus {
get {
object obj = ResourceManager.GetObject("document_plus", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap document_text {
get {
object obj = ResourceManager.GetObject("document_text", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap eye { internal static System.Drawing.Bitmap eye {
get { get {
@ -121,7 +281,7 @@ internal static System.Drawing.Bitmap eye {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap eye_half { internal static System.Drawing.Bitmap eye_half {
get { get {
@ -131,27 +291,37 @@ internal static System.Drawing.Bitmap eye_half {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap folder_stand { internal static System.Drawing.Bitmap folder_horizontal {
get { get {
object obj = ResourceManager.GetObject("folder_stand", resourceCulture); object obj = ResourceManager.GetObject("folder_horizontal", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap folder_vertical_document { internal static System.Drawing.Bitmap folder_open_document {
get { get {
object obj = ResourceManager.GetObject("folder_vertical_document", resourceCulture); object obj = ResourceManager.GetObject("folder_open_document", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap gear {
get {
object obj = ResourceManager.GetObject("gear", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap gnupg_keys { internal static System.Drawing.Bitmap gnupg_keys {
get { get {
@ -161,17 +331,37 @@ internal static System.Drawing.Bitmap gnupg_keys {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Byte[]. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static byte[] Ionic_Zip { internal static System.Drawing.Bitmap information {
get { get {
object obj = ResourceManager.GetObject("Ionic_Zip", resourceCulture); object obj = ResourceManager.GetObject("information", resourceCulture);
return ((byte[])(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap key {
get {
object obj = ResourceManager.GetObject("key", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap key_plus {
get {
object obj = ResourceManager.GetObject("key_plus", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap key_solid { internal static System.Drawing.Bitmap key_solid {
get { get {
@ -181,17 +371,47 @@ internal static System.Drawing.Bitmap key_solid {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap lock_icon { internal static System.Drawing.Bitmap lock_pencil {
get { get {
object obj = ResourceManager.GetObject("lock_icon", resourceCulture); object obj = ResourceManager.GetObject("lock_pencil", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap lock_warning {
get {
object obj = ResourceManager.GetObject("lock_warning", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap magnifier {
get {
object obj = ResourceManager.GetObject("magnifier", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap minus {
get {
object obj = ResourceManager.GetObject("minus", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap notepad_lock { internal static System.Drawing.Bitmap notepad_lock {
get { get {
@ -201,77 +421,167 @@ internal static System.Drawing.Bitmap notepad_lock {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap page_white { internal static System.Drawing.Bitmap old_application_double {
get { get {
object obj = ResourceManager.GetObject("page_white", resourceCulture); object obj = ResourceManager.GetObject("old_application_double", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap page_white_add { internal static System.Drawing.Bitmap old_clock_add {
get { get {
object obj = ResourceManager.GetObject("page_white_add", resourceCulture); object obj = ResourceManager.GetObject("old_clock_add", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap page_white_copy { internal static System.Drawing.Bitmap old_cut_red {
get { get {
object obj = ResourceManager.GetObject("page_white_copy", resourceCulture); object obj = ResourceManager.GetObject("old_cut_red", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap page_white_delete { internal static System.Drawing.Bitmap old_diskette {
get { get {
object obj = ResourceManager.GetObject("page_white_delete", resourceCulture); object obj = ResourceManager.GetObject("old_diskette", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap page_white_key { internal static System.Drawing.Bitmap old_folder_stand {
get { get {
object obj = ResourceManager.GetObject("page_white_key", resourceCulture); object obj = ResourceManager.GetObject("old_folder_stand", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap paste_plain { internal static System.Drawing.Bitmap old_folder_vertical_document {
get { get {
object obj = ResourceManager.GetObject("paste_plain", resourceCulture); object obj = ResourceManager.GetObject("old_folder_vertical_document", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap setting_tools { internal static System.Drawing.Bitmap old_lock {
get { get {
object obj = ResourceManager.GetObject("setting_tools", resourceCulture); object obj = ResourceManager.GetObject("old_lock", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Byte[]. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap old_lock_edit {
get {
object obj = ResourceManager.GetObject("old_lock_edit", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap old_page_white_add {
get {
object obj = ResourceManager.GetObject("old_page_white_add", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap old_page_white_copy {
get {
object obj = ResourceManager.GetObject("old_page_white_copy", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap old_page_white_delete {
get {
object obj = ResourceManager.GetObject("old_page_white_delete", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap old_page_white_key {
get {
object obj = ResourceManager.GetObject("old_page_white_key", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap old_paste_plain {
get {
object obj = ResourceManager.GetObject("old_paste_plain", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap old_setting_tools {
get {
object obj = ResourceManager.GetObject("old_setting_tools", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap scissors {
get {
object obj = ResourceManager.GetObject("scissors", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap selection_input {
get {
object obj = ResourceManager.GetObject("selection_input", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary> /// </summary>
internal static byte[] Updater { internal static byte[] Updater {
get { get {
@ -281,11 +591,21 @@ internal static byte[] Updater {
} }
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap Warning_icon_hi { internal static System.Drawing.Bitmap upload_cloud {
get { get {
object obj = ResourceManager.GetObject("Warning_icon_hi", resourceCulture); object obj = ResourceManager.GetObject("upload_cloud", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap wrap_option {
get {
object obj = ResourceManager.GetObject("wrap_option", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// Этот код создан программой. // This code was generated by a tool.
// Исполняемая версия:4.0.30319.42000 // Runtime Version:4.0.30319.42000
// //
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // Changes to this file may cause incorrect behavior and will be lost if
// повторной генерации кода. // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
@ -12,7 +12,7 @@ namespace Crypto_Notepad.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@ -26,39 +26,26 @@ public static Settings Default {
[global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Consolas")] [global::System.Configuration.DefaultSettingValueAttribute("Black")]
public string RichTextFont { public global::System.Drawing.Color editorForeColor {
get { get {
return ((string)(this["RichTextFont"])); return ((global::System.Drawing.Color)(this["editorForeColor"]));
} }
set { set {
this["RichTextFont"] = value; this["editorForeColor"] = value;
} }
} }
[global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("228, 228, 228")] [global::System.Configuration.DefaultSettingValueAttribute("White")]
public global::System.Drawing.Color RichForeColor { public global::System.Drawing.Color editorBackColor {
get { get {
return ((global::System.Drawing.Color)(this["RichForeColor"])); return ((global::System.Drawing.Color)(this["editorBackColor"]));
} }
set { set {
this["RichForeColor"] = value; this["editorBackColor"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("56, 56, 56")]
public global::System.Drawing.Color RichBackColor {
get {
return ((global::System.Drawing.Color)(this["RichBackColor"]));
}
set {
this["RichBackColor"] = value;
} }
} }
@ -66,12 +53,12 @@ public string RichTextFont {
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")] [global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool MenuWrap { public bool menuWrap {
get { get {
return ((bool)(this["MenuWrap"])); return ((bool)(this["menuWrap"]));
} }
set { set {
this["MenuWrap"] = value; this["menuWrap"] = value;
} }
} }
@ -79,38 +66,12 @@ public bool MenuWrap {
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")] [global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool RichWrap { public bool editorWrap {
get { get {
return ((bool)(this["RichWrap"])); return ((bool)(this["editorWrap"]));
} }
set { set {
this["RichWrap"] = value; this["editorWrap"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("11")]
public int RichTextSize {
get {
return ((int)(this["RichTextSize"]));
}
set {
this["RichTextSize"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("172, 87, 11")]
public global::System.Drawing.Color HighlightsColor {
get {
return ((global::System.Drawing.Color)(this["HighlightsColor"]));
}
set {
this["HighlightsColor"] = value;
} }
} }
@ -118,12 +79,12 @@ public int RichTextSize {
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")] [global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool AssociateCheck { public bool explorerAssociate {
get { get {
return ((bool)(this["AssociateCheck"])); return ((bool)(this["explorerAssociate"]));
} }
set { set {
this["AssociateCheck"] = value; this["explorerAssociate"] = value;
} }
} }
@ -143,16 +104,576 @@ public string HashAlgorithm {
[global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("192")] [global::System.Configuration.DefaultSettingValueAttribute("256")]
public int KeySize { public string KeySize {
get { get {
return ((int)(this["KeySize"])); return ((string)(this["KeySize"]));
} }
set { set {
this["KeySize"] = value; this["KeySize"] = value;
} }
} }
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("1000")]
public string PasswordIterations {
get {
return ((string)(this["PasswordIterations"]));
}
set {
this["PasswordIterations"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool toolbarVisible {
get {
return ((bool)(this["toolbarVisible"]));
}
set {
this["toolbarVisible"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool autoCheckUpdate {
get {
return ((bool)(this["autoCheckUpdate"]));
}
set {
this["autoCheckUpdate"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool autoLock {
get {
return ((bool)(this["autoLock"]));
}
set {
this["autoLock"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("0, 0")]
public global::System.Drawing.Point windowLocation {
get {
return ((global::System.Drawing.Point)(this["windowLocation"]));
}
set {
this["windowLocation"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("645, 460")]
public global::System.Drawing.Size windowSize {
get {
return ((global::System.Drawing.Size)(this["windowSize"]));
}
set {
this["windowSize"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Normal")]
public global::System.Windows.Forms.FormWindowState windowState {
get {
return ((global::System.Windows.Forms.FormWindowState)(this["windowState"]));
}
set {
this["windowState"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool explorerSendTo {
get {
return ((bool)(this["explorerSendTo"]));
}
set {
this["explorerSendTo"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool explorerIntegrate {
get {
return ((bool)(this["explorerIntegrate"]));
}
set {
this["explorerIntegrate"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool menuIcons {
get {
return ((bool)(this["menuIcons"]));
}
set {
this["menuIcons"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Enable")]
public string insertKey {
get {
return ((string)(this["insertKey"]));
}
set {
this["insertKey"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;" +
"16777215;16777215;16777215;16777215;16777215;16777215;16777215")]
public string customColor {
get {
return ((string)(this["customColor"]));
}
set {
this["customColor"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("5")]
public string editorPaddingLeft {
get {
return ((string)(this["editorPaddingLeft"]));
}
set {
this["editorPaddingLeft"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool editorRightToLeft {
get {
return ((bool)(this["editorRightToLeft"]));
}
set {
this["editorRightToLeft"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Microsoft Sans Serif, 10pt")]
public global::System.Drawing.Font editorFont {
get {
return ((global::System.Drawing.Font)(this["editorFont"]));
}
set {
this["editorFont"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool statusPanelVisible {
get {
return ((bool)(this["statusPanelVisible"]));
}
set {
this["statusPanelVisible"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("240, 240, 240")]
public global::System.Drawing.Color statusPanelBackColor {
get {
return ((global::System.Drawing.Color)(this["statusPanelBackColor"]));
}
set {
this["statusPanelBackColor"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Black")]
public global::System.Drawing.Color statusPanelFontColor {
get {
return ((global::System.Drawing.Color)(this["statusPanelFontColor"]));
}
set {
this["statusPanelFontColor"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("240, 240, 240")]
public global::System.Drawing.Color toolbarBackColor {
get {
return ((global::System.Drawing.Color)(this["toolbarBackColor"]));
}
set {
this["toolbarBackColor"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool toolbarBorder {
get {
return ((bool)(this["toolbarBorder"]));
}
set {
this["toolbarBorder"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Black")]
public global::System.Drawing.Color searchPanelForeColor {
get {
return ((global::System.Drawing.Color)(this["searchPanelForeColor"]));
}
set {
this["searchPanelForeColor"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("240, 240, 240")]
public global::System.Drawing.Color searchPanelBackColor {
get {
return ((global::System.Drawing.Color)(this["searchPanelBackColor"]));
}
set {
this["searchPanelBackColor"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("LMB Click")]
public string openLinks {
get {
return ((string)(this["openLinks"]));
}
set {
this["openLinks"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool mainMenuVisible {
get {
return ((bool)(this["mainMenuVisible"]));
}
set {
this["mainMenuVisible"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool oldToolbarIcons {
get {
return ((bool)(this["oldToolbarIcons"]));
}
set {
this["oldToolbarIcons"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool minimizeToTray {
get {
return ((bool)(this["minimizeToTray"]));
}
set {
this["minimizeToTray"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool closeToTray {
get {
return ((bool)(this["closeToTray"]));
}
set {
this["closeToTray"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool alwaysOnTop {
get {
return ((bool)(this["alwaysOnTop"]));
}
set {
this["alwaysOnTop"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("FixedSingle")]
public string editorBorder {
get {
return ((string)(this["editorBorder"]));
}
set {
this["editorBorder"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("None")]
public string searchPanelBorder {
get {
return ((string)(this["searchPanelBorder"]));
}
set {
this["searchPanelBorder"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool toolbarCloseButton {
get {
return ((bool)(this["toolbarCloseButton"]));
}
set {
this["toolbarCloseButton"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool singleInstance {
get {
return ((bool)(this["singleInstance"]));
}
set {
this["singleInstance"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool statusPanelLength {
get {
return ((bool)(this["statusPanelLength"]));
}
set {
this["statusPanelLength"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool statusPanelLines {
get {
return ((bool)(this["statusPanelLines"]));
}
set {
this["statusPanelLines"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool statusPanelModified {
get {
return ((bool)(this["statusPanelModified"]));
}
set {
this["statusPanelModified"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool statusPanelSize {
get {
return ((bool)(this["statusPanelSize"]));
}
set {
this["statusPanelSize"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool encryptionHint {
get {
return ((bool)(this["encryptionHint"]));
}
set {
this["encryptionHint"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool passwordGeneratorLowercase {
get {
return ((bool)(this["passwordGeneratorLowercase"]));
}
set {
this["passwordGeneratorLowercase"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool passwordGeneratorUppercase {
get {
return ((bool)(this["passwordGeneratorUppercase"]));
}
set {
this["passwordGeneratorUppercase"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool passwordGeneratorNumeric {
get {
return ((bool)(this["passwordGeneratorNumeric"]));
}
set {
this["passwordGeneratorNumeric"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool passwordGeneratorSpecial {
get {
return ((bool)(this["passwordGeneratorSpecial"]));
}
set {
this["passwordGeneratorSpecial"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("40")]
public string passwordGeneratorLength {
get {
return ((string)(this["passwordGeneratorLength"]));
}
set {
this["passwordGeneratorLength"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("10")]
public string passwordGeneratorNumberOfStrings {
get {
return ((string)(this["passwordGeneratorNumberOfStrings"]));
}
set {
this["passwordGeneratorNumberOfStrings"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@ -169,13 +690,13 @@ public string TheSalt {
[global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("2")] [global::System.Configuration.DefaultSettingValueAttribute("False")]
public int PasswordIterations { public bool passwordGeneratorBrackets {
get { get {
return ((int)(this["PasswordIterations"])); return ((bool)(this["passwordGeneratorBrackets"]));
} }
set { set {
this["PasswordIterations"] = value; this["passwordGeneratorBrackets"] = value;
} }
} }
@ -183,12 +704,25 @@ public int PasswordIterations {
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")] [global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool FirstLaunch { public bool passwordGeneratorAdditional {
get { get {
return ((bool)(this["FirstLaunch"])); return ((bool)(this["passwordGeneratorAdditional"]));
} }
set { set {
this["FirstLaunch"] = value; this["passwordGeneratorAdditional"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string lockTimeout {
get {
return ((string)(this["lockTimeout"]));
}
set {
this["lockTimeout"] = value;
} }
} }
@ -196,12 +730,12 @@ public bool FirstLaunch {
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")] [global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool WarningMsg { public bool statusPanelReadonly {
get { get {
return ((bool)(this["WarningMsg"])); return ((bool)(this["statusPanelReadonly"]));
} }
set { set {
this["WarningMsg"] = value; this["statusPanelReadonly"] = value;
} }
} }
@ -209,12 +743,25 @@ public bool WarningMsg {
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")] [global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool ShowToolbar { public bool statusPanelWordWrap {
get { get {
return ((bool)(this["ShowToolbar"])); return ((bool)(this["statusPanelWordWrap"]));
} }
set { set {
this["ShowToolbar"] = value; this["statusPanelWordWrap"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string clipboardClearTime {
get {
return ((string)(this["clipboardClearTime"]));
}
set {
this["clipboardClearTime"] = value;
} }
} }
@ -222,12 +769,12 @@ public bool ShowToolbar {
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")] [global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool AutoCheckUpdate { public bool statusPanelClipboard {
get { get {
return ((bool)(this["AutoCheckUpdate"])); return ((bool)(this["statusPanelClipboard"]));
} }
set { set {
this["AutoCheckUpdate"] = value; this["statusPanelClipboard"] = value;
} }
} }
@ -235,50 +782,64 @@ public bool AutoCheckUpdate {
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")] [global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool AutoLock { public bool clearClipboardAtClose {
get { get {
return ((bool)(this["AutoLock"])); return ((bool)(this["clearClipboardAtClose"]));
} }
set { set {
this["AutoLock"] = value; this["clearClipboardAtClose"] = value;
} }
} }
[global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Drawing.Point WindowLocation { [global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool shortcutKeys {
get { get {
return ((global::System.Drawing.Point)(this["WindowLocation"])); return ((bool)(this["shortcutKeys"]));
} }
set { set {
this["WindowLocation"] = value; this["shortcutKeys"] = value;
} }
} }
[global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("645, 460")] [global::System.Configuration.DefaultSettingValueAttribute("False")]
public global::System.Drawing.Size WindowSize { public bool openTxtUnencrypted {
get { get {
return ((global::System.Drawing.Size)(this["WindowSize"])); return ((bool)(this["openTxtUnencrypted"]));
} }
set { set {
this["WindowSize"] = value; this["openTxtUnencrypted"] = value;
} }
} }
[global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Normal")] [global::System.Configuration.DefaultSettingValueAttribute("False")]
public global::System.Windows.Forms.FormWindowState WindowState { public bool trayMenu {
get { get {
return ((global::System.Windows.Forms.FormWindowState)(this["WindowState"])); return ((bool)(this["trayMenu"]));
} }
set { set {
this["WindowState"] = value; this["trayMenu"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool statusPanelPasteboard {
get {
return ((bool)(this["statusPanelPasteboard"]));
}
set {
this["statusPanelPasteboard"] = value;
} }
} }
} }

View file

@ -2,65 +2,194 @@
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Crypto_Notepad.Properties" GeneratedClassName="Settings"> <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Crypto_Notepad.Properties" GeneratedClassName="Settings">
<Profiles /> <Profiles />
<Settings> <Settings>
<Setting Name="RichTextFont" Provider="PortableSettingsProvider" Type="System.String" Scope="User"> <Setting Name="editorForeColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User">
<Value Profile="(Default)">Consolas</Value> <Value Profile="(Default)">Black</Value>
</Setting> </Setting>
<Setting Name="RichForeColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User"> <Setting Name="editorBackColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User">
<Value Profile="(Default)">228, 228, 228</Value> <Value Profile="(Default)">White</Value>
</Setting> </Setting>
<Setting Name="RichBackColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User"> <Setting Name="menuWrap" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">56, 56, 56</Value>
</Setting>
<Setting Name="MenuWrap" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value> <Value Profile="(Default)">True</Value>
</Setting> </Setting>
<Setting Name="RichWrap" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User"> <Setting Name="editorWrap" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value> <Value Profile="(Default)">True</Value>
</Setting> </Setting>
<Setting Name="RichTextSize" Provider="PortableSettingsProvider" Type="System.Int32" Scope="User"> <Setting Name="explorerAssociate" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">11</Value>
</Setting>
<Setting Name="HighlightsColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User">
<Value Profile="(Default)">172, 87, 11</Value>
</Setting>
<Setting Name="AssociateCheck" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value> <Value Profile="(Default)">False</Value>
</Setting> </Setting>
<Setting Name="HashAlgorithm" Provider="PortableSettingsProvider" Type="System.String" Scope="User"> <Setting Name="HashAlgorithm" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)">SHA1</Value> <Value Profile="(Default)">SHA1</Value>
</Setting> </Setting>
<Setting Name="KeySize" Provider="PortableSettingsProvider" Type="System.Int32" Scope="User"> <Setting Name="KeySize" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)">192</Value> <Value Profile="(Default)">256</Value>
</Setting>
<Setting Name="PasswordIterations" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)">1000</Value>
</Setting>
<Setting Name="toolbarVisible" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="autoCheckUpdate" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="autoLock" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="windowLocation" Provider="PortableSettingsProvider" Type="System.Drawing.Point" Scope="User">
<Value Profile="(Default)">0, 0</Value>
</Setting>
<Setting Name="windowSize" Provider="PortableSettingsProvider" Type="System.Drawing.Size" Scope="User">
<Value Profile="(Default)">645, 460</Value>
</Setting>
<Setting Name="windowState" Provider="PortableSettingsProvider" Type="System.Windows.Forms.FormWindowState" Scope="User">
<Value Profile="(Default)">Normal</Value>
</Setting>
<Setting Name="explorerSendTo" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="explorerIntegrate" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="menuIcons" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="insertKey" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)">Enable</Value>
</Setting>
<Setting Name="customColor" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)">16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215;16777215</Value>
</Setting>
<Setting Name="editorPaddingLeft" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)">5</Value>
</Setting>
<Setting Name="editorRightToLeft" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="editorFont" Provider="PortableSettingsProvider" Type="System.Drawing.Font" Scope="User">
<Value Profile="(Default)">Microsoft Sans Serif, 10pt</Value>
</Setting>
<Setting Name="statusPanelVisible" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="statusPanelBackColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User">
<Value Profile="(Default)">240, 240, 240</Value>
</Setting>
<Setting Name="statusPanelFontColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User">
<Value Profile="(Default)">Black</Value>
</Setting>
<Setting Name="toolbarBackColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User">
<Value Profile="(Default)">240, 240, 240</Value>
</Setting>
<Setting Name="toolbarBorder" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="searchPanelForeColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User">
<Value Profile="(Default)">Black</Value>
</Setting>
<Setting Name="searchPanelBackColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User">
<Value Profile="(Default)">240, 240, 240</Value>
</Setting>
<Setting Name="openLinks" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)">LMB Click</Value>
</Setting>
<Setting Name="mainMenuVisible" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="oldToolbarIcons" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="minimizeToTray" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="closeToTray" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="alwaysOnTop" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="editorBorder" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)">FixedSingle</Value>
</Setting>
<Setting Name="searchPanelBorder" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)">None</Value>
</Setting>
<Setting Name="toolbarCloseButton" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="singleInstance" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="statusPanelLength" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="statusPanelLines" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="statusPanelModified" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="statusPanelSize" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="encryptionHint" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="passwordGeneratorLowercase" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="passwordGeneratorUppercase" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="passwordGeneratorNumeric" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="passwordGeneratorSpecial" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="passwordGeneratorLength" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)">40</Value>
</Setting>
<Setting Name="passwordGeneratorNumberOfStrings" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)">10</Value>
</Setting> </Setting>
<Setting Name="TheSalt" Provider="PortableSettingsProvider" Type="System.String" Scope="User"> <Setting Name="TheSalt" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)" /> <Value Profile="(Default)" />
</Setting> </Setting>
<Setting Name="PasswordIterations" Provider="PortableSettingsProvider" Type="System.Int32" Scope="User"> <Setting Name="passwordGeneratorBrackets" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">2</Value>
</Setting>
<Setting Name="FirstLaunch" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value> <Value Profile="(Default)">False</Value>
</Setting> </Setting>
<Setting Name="WarningMsg" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User"> <Setting Name="passwordGeneratorAdditional" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="ShowToolbar" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="AutoCheckUpdate" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="AutoLock" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value> <Value Profile="(Default)">False</Value>
</Setting> </Setting>
<Setting Name="WindowLocation" Provider="PortableSettingsProvider" Type="System.Drawing.Point" Scope="User"> <Setting Name="lockTimeout" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)" /> <Value Profile="(Default)" />
</Setting> </Setting>
<Setting Name="WindowSize" Provider="PortableSettingsProvider" Type="System.Drawing.Size" Scope="User"> <Setting Name="statusPanelReadonly" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">645, 460</Value> <Value Profile="(Default)">True</Value>
</Setting> </Setting>
<Setting Name="WindowState" Provider="PortableSettingsProvider" Type="System.Windows.Forms.FormWindowState" Scope="User"> <Setting Name="statusPanelWordWrap" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">Normal</Value> <Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="clipboardClearTime" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="statusPanelClipboard" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="clearClipboardAtClose" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="shortcutKeys" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="openTxtUnencrypted" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="trayMenu" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="statusPanelPasteboard" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting> </Setting>
</Settings> </Settings>
</SettingsFile> </SettingsFile>

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 754 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

View file

@ -1,479 +0,0 @@
namespace Crypto_Notepad
{
partial class SettingsForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SettingsForm));
this.BackgroundColorLabel = new System.Windows.Forms.Label();
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
this.saveSettingsButton = new System.Windows.Forms.Button();
this.fontLabel = new System.Windows.Forms.Label();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.panel3 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.panel1 = new System.Windows.Forms.Panel();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.closeLabel = new System.Windows.Forms.PictureBox();
this.warningLabel = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.comboBox4 = new System.Windows.Forms.ComboBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.comboBox3 = new System.Windows.Forms.ComboBox();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.checkBox4 = new System.Windows.Forms.CheckBox();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.button1 = new System.Windows.Forms.Button();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.closeLabel)).BeginInit();
this.tabPage3.SuspendLayout();
this.SuspendLayout();
//
// BackgroundColorLabel
//
this.BackgroundColorLabel.AutoSize = true;
this.BackgroundColorLabel.Location = new System.Drawing.Point(7, 86);
this.BackgroundColorLabel.Name = "BackgroundColorLabel";
this.BackgroundColorLabel.Size = new System.Drawing.Size(57, 13);
this.BackgroundColorLabel.TabIndex = 0;
this.BackgroundColorLabel.Text = "Font color:";
//
// colorDialog1
//
this.colorDialog1.AnyColor = true;
this.colorDialog1.FullOpen = true;
//
// saveSettingsButton
//
this.saveSettingsButton.Location = new System.Drawing.Point(179, 225);
this.saveSettingsButton.Name = "saveSettingsButton";
this.saveSettingsButton.Size = new System.Drawing.Size(79, 23);
this.saveSettingsButton.TabIndex = 4;
this.saveSettingsButton.Text = "Save && Close";
this.saveSettingsButton.UseVisualStyleBackColor = true;
this.saveSettingsButton.Click += new System.EventHandler(this.saveSettingsButton_Click);
//
// fontLabel
//
this.fontLabel.AutoSize = true;
this.fontLabel.Location = new System.Drawing.Point(7, 18);
this.fontLabel.Name = "fontLabel";
this.fontLabel.Size = new System.Drawing.Size(60, 13);
this.fontLabel.TabIndex = 1;
this.fontLabel.Text = "Font name:";
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Location = new System.Drawing.Point(2, 2);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(260, 218);
this.tabControl1.TabIndex = 4;
//
// tabPage1
//
this.tabPage1.Controls.Add(this.panel3);
this.tabPage1.Controls.Add(this.label3);
this.tabPage1.Controls.Add(this.comboBox2);
this.tabPage1.Controls.Add(this.label2);
this.tabPage1.Controls.Add(this.label1);
this.tabPage1.Controls.Add(this.panel2);
this.tabPage1.Controls.Add(this.panel1);
this.tabPage1.Controls.Add(this.comboBox1);
this.tabPage1.Controls.Add(this.fontLabel);
this.tabPage1.Controls.Add(this.BackgroundColorLabel);
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(252, 192);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "Fonts and Colors";
this.tabPage1.UseVisualStyleBackColor = true;
//
// panel3
//
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel3.Cursor = System.Windows.Forms.Cursors.Hand;
this.panel3.Location = new System.Drawing.Point(136, 151);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(100, 21);
this.panel3.TabIndex = 12;
this.panel3.Click += new System.EventHandler(this.panel3_Click);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(7, 154);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(82, 13);
this.label3.TabIndex = 11;
this.label3.Text = "Highlights color:";
//
// comboBox2
//
this.comboBox2.FormattingEnabled = true;
this.comboBox2.Items.AddRange(new object[] {
"8",
"9",
"10",
"11",
"12",
"14",
"16",
"18",
"20",
"22",
"24",
"26",
"28",
"36",
"48",
"72"});
this.comboBox2.Location = new System.Drawing.Point(136, 49);
this.comboBox2.Name = "comboBox2";
this.comboBox2.Size = new System.Drawing.Size(100, 21);
this.comboBox2.TabIndex = 6;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(7, 120);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(94, 13);
this.label2.TabIndex = 10;
this.label2.Text = "Background color:";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(7, 52);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(52, 13);
this.label1.TabIndex = 9;
this.label1.Text = "Font size:";
//
// panel2
//
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel2.Cursor = System.Windows.Forms.Cursors.Hand;
this.panel2.Location = new System.Drawing.Point(136, 117);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(100, 21);
this.panel2.TabIndex = 8;
this.panel2.Click += new System.EventHandler(this.panel2_Click);
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Cursor = System.Windows.Forms.Cursors.Hand;
this.panel1.Location = new System.Drawing.Point(136, 83);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(100, 21);
this.panel1.TabIndex = 7;
this.panel1.Click += new System.EventHandler(this.panel1_Click_1);
//
// comboBox1
//
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(136, 15);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(100, 21);
this.comboBox1.TabIndex = 5;
//
// tabPage2
//
this.tabPage2.Controls.Add(this.closeLabel);
this.tabPage2.Controls.Add(this.warningLabel);
this.tabPage2.Controls.Add(this.textBox2);
this.tabPage2.Controls.Add(this.label7);
this.tabPage2.Controls.Add(this.comboBox4);
this.tabPage2.Controls.Add(this.textBox1);
this.tabPage2.Controls.Add(this.comboBox3);
this.tabPage2.Controls.Add(this.label6);
this.tabPage2.Controls.Add(this.label5);
this.tabPage2.Controls.Add(this.label4);
this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(252, 192);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Encrypt/Decrypt";
this.tabPage2.UseVisualStyleBackColor = true;
//
// closeLabel
//
this.closeLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.closeLabel.BackColor = System.Drawing.Color.Gainsboro;
this.closeLabel.Cursor = System.Windows.Forms.Cursors.Hand;
this.closeLabel.Image = global::Crypto_Notepad.Properties.Resources.close_g;
this.closeLabel.Location = new System.Drawing.Point(234, 158);
this.closeLabel.Name = "closeLabel";
this.closeLabel.Size = new System.Drawing.Size(14, 14);
this.closeLabel.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.closeLabel.TabIndex = 15;
this.closeLabel.TabStop = false;
this.toolTip1.SetToolTip(this.closeLabel, "Close");
this.closeLabel.Click += new System.EventHandler(this.closeLabel_Click);
this.closeLabel.MouseEnter += new System.EventHandler(this.closeLabel_MouseEnter);
this.closeLabel.MouseLeave += new System.EventHandler(this.closeLabel_MouseLeave);
//
// warningLabel
//
this.warningLabel.BackColor = System.Drawing.Color.Gainsboro;
this.warningLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.warningLabel.ForeColor = System.Drawing.Color.Black;
this.warningLabel.Location = new System.Drawing.Point(0, 156);
this.warningLabel.Name = "warningLabel";
this.warningLabel.Size = new System.Drawing.Size(250, 36);
this.warningLabel.TabIndex = 8;
this.warningLabel.Text = "If you change settings in this tab, decrypt the previously encrypted files will n" +
"ot be possible.";
this.warningLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(136, 117);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(100, 20);
this.textBox2.TabIndex = 7;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(7, 120);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(101, 13);
this.label7.TabIndex = 6;
this.label7.Text = "Password iterations:";
//
// comboBox4
//
this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox4.FormattingEnabled = true;
this.comboBox4.Items.AddRange(new object[] {
"SHA1",
"MD5"});
this.comboBox4.Location = new System.Drawing.Point(136, 15);
this.comboBox4.Name = "comboBox4";
this.comboBox4.Size = new System.Drawing.Size(100, 21);
this.comboBox4.TabIndex = 5;
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(136, 83);
this.textBox1.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 20);
this.textBox1.TabIndex = 4;
//
// comboBox3
//
this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox3.FormattingEnabled = true;
this.comboBox3.Items.AddRange(new object[] {
"128",
"192",
"256"});
this.comboBox3.Location = new System.Drawing.Point(136, 49);
this.comboBox3.Name = "comboBox3";
this.comboBox3.Size = new System.Drawing.Size(100, 21);
this.comboBox3.TabIndex = 3;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(7, 86);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(48, 13);
this.label6.TabIndex = 2;
this.label6.Text = "The salt:";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(7, 52);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(49, 13);
this.label5.TabIndex = 1;
this.label5.Text = "Key size:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(7, 18);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(83, 13);
this.label4.TabIndex = 0;
this.label4.Text = "Hash algorithm: ";
//
// tabPage3
//
this.tabPage3.Controls.Add(this.checkBox4);
this.tabPage3.Controls.Add(this.checkBox3);
this.tabPage3.Controls.Add(this.checkBox2);
this.tabPage3.Controls.Add(this.checkBox1);
this.tabPage3.Location = new System.Drawing.Point(4, 22);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
this.tabPage3.Size = new System.Drawing.Size(252, 192);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "Application";
this.tabPage3.UseVisualStyleBackColor = true;
//
// checkBox4
//
this.checkBox4.AutoSize = true;
this.checkBox4.Location = new System.Drawing.Point(7, 99);
this.checkBox4.Name = "checkBox4";
this.checkBox4.Size = new System.Drawing.Size(128, 17);
this.checkBox4.TabIndex = 3;
this.checkBox4.Text = "Auto-lock on minimize";
this.checkBox4.UseVisualStyleBackColor = true;
//
// checkBox3
//
this.checkBox3.AutoSize = true;
this.checkBox3.Location = new System.Drawing.Point(7, 45);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(88, 17);
this.checkBox3.TabIndex = 2;
this.checkBox3.Text = "Show toolbar";
this.checkBox3.UseVisualStyleBackColor = true;
//
// checkBox2
//
this.checkBox2.AutoSize = true;
this.checkBox2.Location = new System.Drawing.Point(7, 72);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(119, 17);
this.checkBox2.TabIndex = 1;
this.checkBox2.Text = "Enable auto-update";
this.checkBox2.UseVisualStyleBackColor = true;
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(7, 18);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(143, 17);
this.checkBox1.TabIndex = 0;
this.checkBox1.Text = "Associate with *.cnp files";
this.checkBox1.UseVisualStyleBackColor = true;
//
// button1
//
this.button1.Location = new System.Drawing.Point(6, 225);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(98, 23);
this.button1.TabIndex = 5;
this.button1.Text = "Reset to Defaults";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// SettingsForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(262, 253);
this.Controls.Add(this.button1);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.saveSettingsButton);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "SettingsForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Settings";
this.Load += new System.EventHandler(this.SettingsForm_Load);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout();
this.tabPage2.ResumeLayout(false);
this.tabPage2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.closeLabel)).EndInit();
this.tabPage3.ResumeLayout(false);
this.tabPage3.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Label BackgroundColorLabel;
private System.Windows.Forms.Button saveSettingsButton;
private System.Windows.Forms.Label fontLabel;
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.CheckBox checkBox2;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.ComboBox comboBox2;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.ColorDialog colorDialog1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.ComboBox comboBox3;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.ComboBox comboBox4;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.CheckBox checkBox3;
private System.Windows.Forms.CheckBox checkBox4;
private System.Windows.Forms.Label warningLabel;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.PictureBox closeLabel;
}
}

View file

@ -1,195 +0,0 @@
using Microsoft.Win32;
using System;
using System.Drawing;
using System.Media;
using System.Reflection;
using System.Windows.Forms;
namespace Crypto_Notepad
{
public partial class SettingsForm : Form
{
Properties.Settings ps = Properties.Settings.Default;
public SettingsForm()
{
InitializeComponent();
}
private void SettingsForm_Load(object sender, EventArgs e)
{
foreach (FontFamily fonts in FontFamily.Families)
{
comboBox1.Items.Add(fonts.Name);
}
comboBox1.Text = ps.RichTextFont;
comboBox2.Text = ps.RichTextSize.ToString();
comboBox4.Text = ps.HashAlgorithm;
comboBox3.Text = ps.KeySize.ToString();
textBox1.Text = ps.TheSalt;
textBox2.Text = ps.PasswordIterations.ToString();
panel1.BackColor = ps.RichForeColor;
panel2.BackColor = ps.RichBackColor;
panel3.BackColor = ps.HighlightsColor;
checkBox1.Checked = ps.AssociateCheck;
checkBox2.Checked = ps.AutoCheckUpdate;
checkBox3.Checked = ps.ShowToolbar;
checkBox4.Checked = ps.AutoLock;
if (ps.WarningMsg == false)
{
warningLabel.Visible = false;
closeLabel.Visible = false;
}
}
private void saveSettingsButton_Click(object sender, EventArgs e)
{
SetSettings("Save");
}
private void SetSettings(string value)
{
if (value == "Save")
{
if (checkBox1.Checked == true)
{
AssociateExtension(Assembly.GetEntryAssembly().Location, "cnp");
}
if (checkBox1.Checked == false)
{
DissociateExtension(Assembly.GetEntryAssembly().Location, "cnp");
}
ps.RichForeColor = panel1.BackColor;
ps.RichBackColor = panel2.BackColor;
ps.HighlightsColor = panel3.BackColor;
ps.RichTextFont = comboBox1.Text;
ps.RichTextSize = Convert.ToInt32(comboBox2.Text.ToString());
ps.AssociateCheck = checkBox1.Checked;
ps.HashAlgorithm = comboBox4.Text;
ps.KeySize = Convert.ToInt32(comboBox3.Text.ToString());
ps.TheSalt = textBox1.Text;
ps.PasswordIterations = Convert.ToInt32(textBox2.Text.ToString());
ps.ShowToolbar = checkBox3.Checked;
ps.AutoCheckUpdate = checkBox2.Checked;
ps.AutoLock = checkBox4.Checked;
ps.Save();
publicVar.settingsChanged = true;
this.Hide();
}
if (value == "Default")
{
panel1.BackColor = Color.FromArgb(228, 228, 228);
panel2.BackColor = Color.FromArgb(56, 56, 56);
panel3.BackColor = Color.FromArgb(101, 51, 6);
comboBox1.Text = "Consolas";
comboBox2.Text = 11.ToString();
checkBox1.Checked = false;
checkBox2.Checked = true;
checkBox3.Checked = true;
checkBox4.Checked = false;
}
}
public static void AssociateExtension(string applicationExecutablePath, string extension)
{
try
{
RegistryKey key = Registry.CurrentUser.OpenSubKey("Software\\Classes", true);
key.CreateSubKey("." + extension).SetValue(string.Empty, extension + "_auto_file");
key = key.CreateSubKey(extension + "_auto_file");
key.CreateSubKey("DefaultIcon").SetValue(string.Empty, applicationExecutablePath + ",0");
key = key.CreateSubKey("Shell");
key.SetValue(string.Empty, "Open");
key = key.CreateSubKey("Open");
key.CreateSubKey("Command").SetValue(string.Empty, "\"" + applicationExecutablePath + "\" \"%1\"");
key.CreateSubKey("ddeexec\\Topic").SetValue(string.Empty, "System");
}
catch (Exception)
{
}
}
public static void DissociateExtension(string applicationExecutablePath, string extension)
{
try
{
RegistryKey key = Registry.CurrentUser.OpenSubKey("Software\\Classes", true);
key.DeleteSubKeyTree(extension + "_auto_file");
key.DeleteSubKeyTree("." + extension);
}
catch (Exception)
{
}
}
private void panel1_Click_1(object sender, EventArgs e)
{
colorDialog1.Color = panel1.BackColor;
using (new CenterWinDialog(this))
{
colorDialog1.ShowDialog();
}
panel1.BackColor = colorDialog1.Color;
}
private void panel2_Click(object sender, EventArgs e)
{
colorDialog1.Color = panel2.BackColor;
using (new CenterWinDialog(this))
{
colorDialog1.ShowDialog();
}
panel2.BackColor = colorDialog1.Color;
}
private void panel3_Click(object sender, EventArgs e)
{
colorDialog1.Color = panel3.BackColor;
using (new CenterWinDialog(this))
{
colorDialog1.ShowDialog();
}
panel3.BackColor = colorDialog1.Color;
}
private void button1_Click(object sender, EventArgs e)
{
using (new CenterWinDialog(this))
{
DialogResult result = MessageBox.Show("Reset to defaults?", "Settings", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
if (result == DialogResult.Yes)
{
SetSettings("Default");
}
}
}
private void closeLabel_Click(object sender, EventArgs e)
{
warningLabel.Visible = false;
closeLabel.Visible = false;
ps.WarningMsg = false;
ps.Save();
}
private void closeLabel_MouseEnter(object sender, EventArgs e)
{
closeLabel.Image = Properties.Resources.close_b;
}
private void closeLabel_MouseLeave(object sender, EventArgs e)
{
closeLabel.Image = Properties.Resources.close_g;
}
}
}

View file

@ -1,203 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colorDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>138, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAA8AAAAVAAAAFgAAABQAAAAMAAAAAwAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAADQAA
ABIAAAANAAAABAAAAAAAAAAAAAAAAAAAAAUAAAAYAAAAMwAAAEEAAABDAAAAPgAAAC0AAAAUAAAABAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAA
ABQAAAAuAAAAPAAAAC4AAAAUAAAAAwAAAAAAAAAAAAAADwAAADOtexjht4MZ/7eEG/+4hRz/m28ZtgAA
ADIAAAAUAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAMAAAAUAAAAMqJ0GcW+iR//onQZxQAAADIAAAAUAAAABAAAAAAAAAAVrnsW3+rLjf/rslb/6KtK/9ug
O/+5hh7/oHQZwgAAADIAAAAUAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAADAAAAFAAAADKfcxnByI8l/+emPv/Jkyz/n3IXwQAAAC4AAAANAAAAAAAAABbAjir//+Gw/+Ws
Tv/l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oB+/9HQz//9/f7//////+Xl
5P+uraz/lZOR/29ta78AAAAfAAAADYmGhOeinp7/39/d//Pz8v/y8vH/8/Py/+zs6//Jx8b/iIWD/2tq
aCcAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgX1wPeXd1mYF/
ffeZl5X/s7Kx/769vP/BwL//np2b/3d1c8EAAAAEAAAAAoWCgHWHhILlhIF//5mWlP+Cf33/goB+/399
fK13dXMmAAAAAQAAAAAAAAAA/////8B//4OAP/8BgB/+AIAP/ACAB/gAgAPwAIAB4ACAAMABwABAA+AA
AAfwAAAP+AAAH/wAAD/+AAB/4AAB/8CAA3+AAAAHAAAAAQAAAAEAAAABAAAAAQAAgAHAAYA/4AGAP+AB
gD/wAYAB+AAAAfwAAAH+AAAB/wAAAf/AAAM=
</value>
</data>
</root>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Costura.Fody" version="4.1.0" targetFramework="net472" />
<package id="Fody" version="6.0.6" targetFramework="net461" developmentDependency="true" />
<package id="PasswordGenerator" version="2.0.5" targetFramework="net461" />
</packages>

Binary file not shown.

View file

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2016 Sigmanor Copyright (c) 2022 Sigmanor
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.

13
PULL_REQUEST_TEMPLATE.md Normal file
View file

@ -0,0 +1,13 @@
# Pull Request Information
## Summary
Summary description of all changes.
* First
* Second
* Third
## Changes and Descriptions
Detailed description of each change.
## Additional context
Add any other context or screenshots about the pull request here.

View file

@ -1,27 +1,53 @@
# Crypto Notepad [![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://stand-with-ukraine.pp.ua/)
# Crypto Notepad [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Simple%20notepad%20for%20Windows%20with%20encryption%20features.%20Download%20for%20free:%20https://crypto-notepad.github.io/&hashtags=notepad,encryption,windows,opensource,csharp)
> [!WARNING]
> - **THE PROJECT HAS VERY LIMITED SUPPORT**
> - **NO NEW FEATURES ARE PLANNED**
> - **ONLY CRITICAL BUG FIXES WILL BE ADDRESSED**
[![downloads](https://img.shields.io/github/downloads/Crypto-Notepad/Crypto-Notepad/total.svg)](https://github.com/Crypto-Notepad/Crypto-Notepad/releases/latest)
[![license](https://img.shields.io/github/license/Crypto-Notepad/Crypto-Notepad.svg?color=6DAAAE)](https://github.com/Crypto-Notepad/Crypto-Notepad/blob/master/LICENSE)
[![release](https://img.shields.io/github/release/Crypto-Notepad/Crypto-Notepad.svg)](https://github.com/Crypto-Notepad/Crypto-Notepad/wiki/Release-Notes)
[![documentation](https://img.shields.io/badge/documentation-wiki-yellowgreen.svg?color=F09C29)](https://github.com/Crypto-Notepad/Crypto-Notepad/wiki/Documentation)
Notepad-like simple text editor for Windows, where files are saved and loaded encrypted with AES algorithms. Notepad-like simple text editor for Windows, where files are saved and loaded encrypted with AES algorithms.
![](http://i.imgur.com/edLLh8v.png) [![screenshot](https://i.imgur.com/rqfKzNX.gif)](https://github.com/Crypto-Notepad/Crypto-Notepad/wiki/Documentation#screenshots)
## Quick Links
[`Documentation`](https://github.com/Sigmanor/Crypto-Notepad/wiki/Documentation-%28ENG%29) | [`Release Notes`](https://github.com/Sigmanor/Crypto-Notepad/wiki/Release-Notes) | [`Project TODO`](https://github.com/Sigmanor/Crypto-Notepad/wiki/TODO)
## Features ## Features
* Fully customizable editor. Able to customize the colors and fonts * All the features of the default Windows Notepad
* Able to customize different parameters of the encryption (hash algorithm, key size, password iterations, salt) * Associate own file type with application
* Included all the features of the default Windows Notepad * Integrate with windows context menu
* Association with the application extension * Сustomizable encryption options
* Easily search through the content * Built-in password generator
* Detecting links in editor
* Drag and Drop support
* Сustomizable interface
* Pasteboard function
* Autoclear clipboard
* Autolock editor
* Rich settings
* Portable
## Contribution ## Installation
Feel free :octocat: ### Via chocolatey:
```
choco install crypto-notepad
```
### Manual instalition:
- [Download](https://github.com/Crypto-Notepad/Crypto-Notepad/releases/latest) latest release.
- Unzip **Crypto.Notepad.zip** archive to any directory
- Run **Crypto Notepad.exe**
## System requirements
* Windows 7 SP1 and higher
* .NET Framework 4.6.1 and higher
## Build ## Build
App was created in Visual Studio Community 2015, you can run the .sln file and simply build a project (The code is very bad. There are no comments, no following the OOP rules. Learn this code at your own risk. ) App was created in Visual Studio Community, you can run the *.sln file and simply build a project
## License
Distributed under [MIT](https://github.com/Sigmanor/Crypto-Notepad/blob/master/LICENSE) license
## Contributing
Want to help make the project better? Check out [CONTRIBUTING.md](https://github.com/Crypto-Notepad/Crypto-Notepad/blob/master/CONTRIBUTING.md) to get involved. Welcome! :octocat:

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>

View file

@ -1,122 +0,0 @@
namespace Updater
{
partial class UpdateForm
{
/// <summary>
/// Обязательная переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
/// </summary>
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Код, автоматически созданный конструктором форм Windows
/// <summary>
/// Требуемый метод для поддержки конструктора — не изменяйте
/// содержимое этого метода с помощью редактора кода.
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.button1 = new System.Windows.Forms.Button();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(76, 29);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(215, 41);
this.label1.TabIndex = 2;
this.label1.Text = "Application will be updated and reopened.";
//
// panel1
//
this.panel1.BackColor = System.Drawing.SystemColors.Window;
this.panel1.Controls.Add(this.pictureBox1);
this.panel1.Controls.Add(this.label1);
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(294, 83);
this.panel1.TabIndex = 4;
//
// pictureBox1
//
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pictureBox1.Image = global::Updater.Properties.Resources.inbox_download;
this.pictureBox1.Location = new System.Drawing.Point(10, 10);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(60, 60);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// button1
//
this.button1.Location = new System.Drawing.Point(212, 92);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 5;
this.button1.Text = "OK";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// linkLabel1
//
this.linkLabel1.AutoSize = true;
this.linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.AlwaysUnderline;
this.linkLabel1.Location = new System.Drawing.Point(12, 97);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(96, 13);
this.linkLabel1.TabIndex = 6;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "View release notes";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// UpdateForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(294, 121);
this.Controls.Add(this.linkLabel1);
this.Controls.Add(this.button1);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "UpdateForm";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Crypto Notepad Updater";
this.Load += new System.EventHandler(this.Form1_Load);
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.LinkLabel linkLabel1;
}
}

View file

@ -1,92 +0,0 @@
using System;
using Ionic.Zip;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;
using System.ComponentModel;
using System.Net;
using System.Reflection;
namespace Updater
{
public partial class UpdateForm : Form
{
string[] arg;
string exePath = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + @"\";
bool okButton = false;
public UpdateForm(string[] args)
{
arg = args;
InitializeComponent();
}
#region ExtractZip
public void ExtractFileToDirectory(string zipFileName, string outputDirectory)
{
ZipFile zip = ZipFile.Read(zipFileName);
Directory.CreateDirectory(outputDirectory);
zip.ExtractAll(outputDirectory, ExtractExistingFileAction.OverwriteSilently);
}
#endregion
void downloader_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e)
{
if (e.Error != null)
{
System.Media.SystemSounds.Beep.Play();
//linkLabel1.Visible = false;
okButton = true;
button1.Enabled = true;
label1.Text = "There was some errors during the update, please try again later.";
}
if (e.Error == null)
{
var pr = new Process();
ExtractFileToDirectory(exePath + "Crypto-Notepad-Update.zip", exePath);
pr.StartInfo.FileName = exePath + "Crypto Notepad.exe";
pr.Start();
Application.Exit();
}
}
private void Form1_Load(object sender, EventArgs e)
{
if (arg.Length == 0)
{
this.Close();
}
else if (arg[0] == "/u")
{
return;
}
}
private void button1_Click(object sender, EventArgs e)
{
if (okButton == false)
{
var pr = new Process();
button1.Enabled = false;
WebClient webClient = new WebClient();
webClient.DownloadFileCompleted += new AsyncCompletedEventHandler(downloader_DownloadFileCompleted);
webClient.DownloadFileAsync(new Uri("https://raw.githubusercontent.com/Sigmanor/Crypto-Notepad/master/Crypto-Notepad-Update.zip"), exePath + "Crypto-Notepad-Update.zip");
}
if (okButton == true)
{
var pr = new Process();
pr.StartInfo.FileName = exePath + "Crypto Notepad.exe";
pr.Start();
Application.Exit();
}
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start("https://github.com/Sigmanor/Crypto-Notepad/wiki/Release-Notes");
}
}
}

View file

@ -1,120 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

Binary file not shown.

View file

@ -1,22 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Updater
{
static class Program
{
/// <summary>
/// Главная точка входа для приложения.
/// </summary>
[STAThread]
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new UpdateForm(args));
}
}
}

View file

@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Управление общими сведениями о сборке осуществляется с помощью
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
// связанные со сборкой.
[assembly: AssemblyTitle("Updater")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Updater")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми
// для COM-компонентов. Если требуется обратиться к типу в этой сборке через
// COM, задайте атрибуту ComVisible значение TRUE для этого типа.
[assembly: ComVisible(false)]
// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM
[assembly: Guid("7b347593-6f3c-4308-bb94-51d35677c0c4")]
// Сведения о версии сборки состоят из следующих четырех значений:
//
// Основной номер версии
// Дополнительный номер версии
// Номер сборки
// Редакция
//
// Можно задать все значения или принять номера сборки и редакции по умолчанию
// используя "*", как показано ниже:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View file

@ -1,73 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Updater.Properties {
using System;
/// <summary>
/// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
/// </summary>
// Этот класс создан автоматически классом StronglyTypedResourceBuilder
// с помощью такого средства, как ResGen или Visual Studio.
// Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
// с параметром /str или перестройте свой проект VS.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Updater.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Перезаписывает свойство CurrentUICulture текущего потока для всех
/// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap inbox_download {
get {
object obj = ResourceManager.GetObject("inbox_download", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View file

@ -1,30 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Updater.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

View file

@ -1,7 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -1,103 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{7B347593-6F3C-4308-BB94-51D35677C0C4}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Updater</RootNamespace>
<AssemblyName>Updater</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>inbox_download.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Ionic.Zip">
<HintPath>.\Ionic.Zip.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\inbox_download.png" />
</ItemGroup>
<ItemGroup>
<None Include="bin\Debug\Updater.exe" />
<Content Include="inbox_download.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -1 +1 @@
1.0.0.0 1.7.3.0