Compare commits

..

No commits in common. "master" and "v1.6.4" have entirely different histories.

33 changed files with 1757 additions and 3246 deletions

8
.github/FUNDING.yml vendored
View file

@ -2,11 +2,11 @@
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username patreon: # Replace with a single Patreon username
open_collective: # open_collective: # Replace with a single Open Collective username
ko_fi: ko_fi: sigmanor
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 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 community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: liberapay: sigmanor
issuehunt: # issuehunt: #
otechie: # Replace with a single Otechie username otechie: # Replace with a single Otechie username
custom: https://github.com/Crypto-Notepad/Crypto-Notepad/wiki/Support-the-project custom: paypal.me/sigmanor

View file

@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement ## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at dock-brunt-rarity@duck.com. All reported by contacting the project team at sigmanor@pm.me. All
complaints will be reviewed and investigated and will result in a response that 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 is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident. obligated to maintain confidentiality with regard to the reporter of an incident.

View file

@ -1,10 +1,10 @@
> First off, thanks for taking the time to contribute :relaxed: > 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! Before starting, make sure that you visited the project [todo](https://github.com/Sigmanor/Crypto-Notepad/wiki/TODO) list and 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 ## How to contribute to Crypto Notepad
### Did you find any bug/have an idea how to improve the project? ### Did you find any bug/have an idea how to improve the project?
* Send me a message: [`email`](mailto:dock-brunt-rarity@duck.com) * Send me a message: [`telegram`](https://t.me/Sigmanor) [`facebook`](https://www.fb.com/SlGMANOR) [`email`](mailto:sigmanor@pm.me)
* Create an [issue](https://github.com/Sigmanor/Crypto-Notepad/issues/new/choose). * Create an [issue](https://github.com/Sigmanor/Crypto-Notepad/issues/new/choose).
### You can help me fix some bug/implement a new feature? ### You can help me fix some bug/implement a new feature?

View file

@ -12,7 +12,7 @@
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup>
<userSettings> <userSettings>
<Crypto_Notepad.Properties.Settings> <Crypto_Notepad.Properties.Settings>
<setting name="editorForeColor" serializeAs="String"> <setting name="editroForeColor" serializeAs="String">
<value>Black</value> <value>Black</value>
</setting> </setting>
<setting name="editorBackColor" serializeAs="String"> <setting name="editorBackColor" serializeAs="String">
@ -165,42 +165,6 @@
<setting name="TheSalt" serializeAs="String"> <setting name="TheSalt" serializeAs="String">
<value /> <value />
</setting> </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> </Crypto_Notepad.Properties.Settings>
</userSettings> </userSettings>
</configuration> </configuration>

View file

@ -56,15 +56,14 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>embedded</DebugType> <DebugType>PdbOnly</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>
@ -82,16 +81,14 @@
<PropertyGroup> <PropertyGroup>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<NoWin32Manifest>true</NoWin32Manifest>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Costura, Version=4.1.0.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL"> <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> <HintPath>..\packages\Costura.Fody.4.1.0\lib\net40\Costura.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.VisualBasic" /> <Reference Include="Microsoft.VisualBasic" />
<Reference Include="PasswordGenerator, Version=2.0.5.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="PasswordGenerator, Version=2.0.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\PasswordGenerator.2.0.5\lib\netstandard2.0\PasswordGenerator.dll</HintPath> <HintPath>..\packages\PasswordGenerator.2.0.1\lib\netstandard2.0\PasswordGenerator.dll</HintPath>
<Private>True</Private>
</Reference> </Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.configuration" /> <Reference Include="System.configuration" />
@ -203,12 +200,7 @@
<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\application.png" />
<None Include="Resources\application-dock-180.png" />
<Content Include="Notepad_Lock.ico" /> <Content Include="Notepad_Lock.ico" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@ -251,9 +243,9 @@
<ErrorText>Данный проект ссылается на пакеты NuGet, отсутствующие на этом компьютере. Используйте восстановление пакетов NuGet, чтобы скачать их. Дополнительную информацию см. по адресу: http://go.microsoft.com/fwlink/?LinkID=322105. Отсутствует следующий файл: {0}.</ErrorText> <ErrorText>Данный проект ссылается на пакеты NuGet, отсутствующие на этом компьютере. Используйте восстановление пакетов NuGet, чтобы скачать их. Дополнительную информацию см. по адресу: http://go.microsoft.com/fwlink/?LinkID=322105. Отсутствует следующий файл: {0}.</ErrorText>
</PropertyGroup> </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\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'))" /> <Error Condition="!Exists('..\packages\Fody.6.0.5\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.6.0.5\build\Fody.targets'))" />
</Target> </Target>
<Import Project="..\packages\Fody.6.0.6\build\Fody.targets" Condition="Exists('..\packages\Fody.6.0.6\build\Fody.targets')" /> <Import Project="..\packages\Fody.6.0.5\build\Fody.targets" Condition="Exists('..\packages\Fody.6.0.5\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,8 +1,6 @@
using Microsoft.Win32; using Microsoft.Win32;
using System; using System;
using System.Drawing;
using System.IO; using System.IO;
using System.Linq;
using System.Reflection; using System.Reflection;
using System.Windows.Forms; using System.Windows.Forms;
@ -19,12 +17,6 @@ public static void AppendLine(this TextBox source, string value)
source.AppendText("\r\n" + value); 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) public static void Times(this int count, Action action)
{ {
for (int i = 0; i < count; i++) for (int i = 0; i < count; i++)

View file

@ -128,7 +128,7 @@
The source code, issues and documentation posted on GitHub. The source code, issues and documentation posted on GitHub.
Github: https://github.com/Crypto-Notepad/Crypto-Notepad Github: https://github.com/Crypto-Notepad/Crypto-Notepad
Website: https://crypto-notepad.github.io/ Website: https://crypto-notepad.info/
Contributors/testers: Contributors/testers:

View file

@ -35,11 +35,11 @@ private void InitializeComponent()
this.lockPictureBox = new System.Windows.Forms.PictureBox(); this.lockPictureBox = new System.Windows.Forms.PictureBox();
this.showNewKeyPictureBox = new System.Windows.Forms.PictureBox(); this.showNewKeyPictureBox = new System.Windows.Forms.PictureBox();
this.showOldKeyPictureBox = new System.Windows.Forms.PictureBox(); this.showOldKeyPictureBox = new System.Windows.Forms.PictureBox();
this.oldKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
this.newKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
this.statusLabel = new System.Windows.Forms.Label(); this.statusLabel = new System.Windows.Forms.Label();
this.changeKeyFormToolTip = new System.Windows.Forms.ToolTip(this.components); this.changeKeyFormToolTip = new System.Windows.Forms.ToolTip(this.components);
this.passwordGeneratorButton = new System.Windows.Forms.Button(); this.passwordGeneratorButton = new System.Windows.Forms.Button();
this.oldKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
this.newKeyTextBox = new System.Windows.Forms.PlaceholderTextBox();
this.mainPanel.SuspendLayout(); this.mainPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lockPictureBox)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.showNewKeyPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.showNewKeyPictureBox)).BeginInit();
@ -49,7 +49,6 @@ private void InitializeComponent()
// acceptButton // acceptButton
// //
this.acceptButton.Enabled = false; 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.Location = new System.Drawing.Point(211, 80);
this.acceptButton.Name = "acceptButton"; this.acceptButton.Name = "acceptButton";
this.acceptButton.Size = new System.Drawing.Size(53, 25); this.acceptButton.Size = new System.Drawing.Size(53, 25);
@ -79,7 +78,7 @@ private void InitializeComponent()
this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.gnupg_keys; this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.gnupg_keys;
this.lockPictureBox.Location = new System.Drawing.Point(8, 14); this.lockPictureBox.Location = new System.Drawing.Point(8, 14);
this.lockPictureBox.Name = "lockPictureBox"; this.lockPictureBox.Name = "lockPictureBox";
this.lockPictureBox.Size = new System.Drawing.Size(48, 48); this.lockPictureBox.Size = new System.Drawing.Size(47, 47);
this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.lockPictureBox.TabIndex = 7; this.lockPictureBox.TabIndex = 7;
this.lockPictureBox.TabStop = false; this.lockPictureBox.TabStop = false;
@ -91,7 +90,7 @@ private void InitializeComponent()
this.showNewKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half; this.showNewKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half;
this.showNewKeyPictureBox.Location = new System.Drawing.Point(269, 39); this.showNewKeyPictureBox.Location = new System.Drawing.Point(269, 39);
this.showNewKeyPictureBox.Name = "showNewKeyPictureBox"; this.showNewKeyPictureBox.Name = "showNewKeyPictureBox";
this.showNewKeyPictureBox.Size = new System.Drawing.Size(19, 23); this.showNewKeyPictureBox.Size = new System.Drawing.Size(18, 22);
this.showNewKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.showNewKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.showNewKeyPictureBox.TabIndex = 5; this.showNewKeyPictureBox.TabIndex = 5;
this.showNewKeyPictureBox.TabStop = false; this.showNewKeyPictureBox.TabStop = false;
@ -104,12 +103,40 @@ private void InitializeComponent()
this.showOldKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half; this.showOldKeyPictureBox.Image = global::Crypto_Notepad.Properties.Resources.eye_half;
this.showOldKeyPictureBox.Location = new System.Drawing.Point(269, 14); this.showOldKeyPictureBox.Location = new System.Drawing.Point(269, 14);
this.showOldKeyPictureBox.Name = "showOldKeyPictureBox"; this.showOldKeyPictureBox.Name = "showOldKeyPictureBox";
this.showOldKeyPictureBox.Size = new System.Drawing.Size(19, 23); this.showOldKeyPictureBox.Size = new System.Drawing.Size(18, 22);
this.showOldKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.showOldKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.showOldKeyPictureBox.TabIndex = 5; this.showOldKeyPictureBox.TabIndex = 5;
this.showOldKeyPictureBox.TabStop = false; this.showOldKeyPictureBox.TabStop = false;
this.showOldKeyPictureBox.Click += new System.EventHandler(this.ShowOldKeyPictureBox_Click); this.showOldKeyPictureBox.Click += new System.EventHandler(this.ShowOldKeyPictureBox_Click);
// //
// oldKeyTextBox
//
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", 8.25F);
this.oldKeyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
this.oldKeyTextBox.Size = new System.Drawing.Size(206, 22);
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.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", 8.25F);
this.newKeyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
this.newKeyTextBox.Size = new System.Drawing.Size(206, 22);
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);
//
// statusLabel // statusLabel
// //
this.statusLabel.AutoSize = true; this.statusLabel.AutoSize = true;
@ -132,36 +159,6 @@ private void InitializeComponent()
this.passwordGeneratorButton.UseVisualStyleBackColor = true; this.passwordGeneratorButton.UseVisualStyleBackColor = true;
this.passwordGeneratorButton.Click += new System.EventHandler(this.PasswordGeneratorButton_Click); 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 // ChangePasswordForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

View file

@ -46,7 +46,6 @@ private void InitializeComponent()
// okButton // okButton
// //
this.okButton.Enabled = false; 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.Location = new System.Drawing.Point(211, 80);
this.okButton.Name = "okButton"; this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(53, 25); this.okButton.Size = new System.Drawing.Size(53, 25);
@ -75,7 +74,7 @@ private void InitializeComponent()
this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.key_solid; this.lockPictureBox.Image = global::Crypto_Notepad.Properties.Resources.key_solid;
this.lockPictureBox.Location = new System.Drawing.Point(8, 14); this.lockPictureBox.Location = new System.Drawing.Point(8, 14);
this.lockPictureBox.Name = "lockPictureBox"; this.lockPictureBox.Name = "lockPictureBox";
this.lockPictureBox.Size = new System.Drawing.Size(48, 48); this.lockPictureBox.Size = new System.Drawing.Size(47, 47);
this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.lockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.lockPictureBox.TabIndex = 6; this.lockPictureBox.TabIndex = 6;
this.lockPictureBox.TabStop = false; this.lockPictureBox.TabStop = false;
@ -83,7 +82,6 @@ private void InitializeComponent()
// fileNameLabel // fileNameLabel
// //
this.fileNameLabel.AutoEllipsis = true; 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.Location = new System.Drawing.Point(61, 14);
this.fileNameLabel.Name = "fileNameLabel"; this.fileNameLabel.Name = "fileNameLabel";
this.fileNameLabel.Size = new System.Drawing.Size(221, 13); this.fileNameLabel.Size = new System.Drawing.Size(221, 13);
@ -93,14 +91,13 @@ private void InitializeComponent()
// //
// keyTextBox // 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.Location = new System.Drawing.Point(64, 39);
this.keyTextBox.Name = "keyTextBox"; this.keyTextBox.Name = "keyTextBox";
this.keyTextBox.Placeholder = "Password"; this.keyTextBox.Placeholder = "Password";
this.keyTextBox.PlaceholderActiveForeColor = System.Drawing.Color.DarkGray; 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.PlaceholderFont = new System.Drawing.Font("Segoe UI", 8.25F);
this.keyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray; this.keyTextBox.PlaceholderForeColor = System.Drawing.Color.DarkGray;
this.keyTextBox.Size = new System.Drawing.Size(206, 23); this.keyTextBox.Size = new System.Drawing.Size(206, 22);
this.keyTextBox.TabIndex = 0; this.keyTextBox.TabIndex = 0;
this.keyTextBox.UseSystemPasswordChar = true; this.keyTextBox.UseSystemPasswordChar = true;
this.keyTextBox.TextChanged += new System.EventHandler(this.KeyTextBox_TextChanged); this.keyTextBox.TextChanged += new System.EventHandler(this.KeyTextBox_TextChanged);
@ -114,7 +111,7 @@ private void InitializeComponent()
this.showKeyPictureBox.InitialImage = 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.Location = new System.Drawing.Point(269, 39);
this.showKeyPictureBox.Name = "showKeyPictureBox"; this.showKeyPictureBox.Name = "showKeyPictureBox";
this.showKeyPictureBox.Size = new System.Drawing.Size(19, 23); this.showKeyPictureBox.Size = new System.Drawing.Size(18, 22);
this.showKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.showKeyPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.showKeyPictureBox.TabIndex = 3; this.showKeyPictureBox.TabIndex = 3;
this.showKeyPictureBox.TabStop = false; this.showKeyPictureBox.TabStop = false;

View file

@ -41,7 +41,6 @@ public void InitializeComponent()
this.mainMenuSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.mainMenuSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.openFileLocationMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.openFileLocationMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.deleteFileMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.deleteFileMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.tryToDecryptMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mainMenuSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.mainMenuSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.exitMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.exitMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.editMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.editMainMenu = new System.Windows.Forms.ToolStripMenuItem();
@ -56,10 +55,7 @@ public void InitializeComponent()
this.findMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.findMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mainMenuSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.mainMenuSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this.selectAllMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.selectAllMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.clearClipboardMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.wordWrapMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.wordWrapMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.readOnlyMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.insertDateTimeMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mainMenuSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.mainMenuSeparator7 = new System.Windows.Forms.ToolStripSeparator();
this.clearMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.clearMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.toolsMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.toolsMainMenu = new System.Windows.Forms.ToolStripMenuItem();
@ -68,7 +64,6 @@ public void InitializeComponent()
this.changePasswordMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.changePasswordMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.lockMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.lockMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.settingsMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.settingsMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.pasteBoardMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.helpMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.helpMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.documentationMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.documentationMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.checkForUpdatesMainMenu = new System.Windows.Forms.ToolStripMenuItem(); this.checkForUpdatesMainMenu = new System.Windows.Forms.ToolStripMenuItem();
@ -99,7 +94,9 @@ public void InitializeComponent()
this.searchFindNextButton = new System.Windows.Forms.Label(); this.searchFindNextButton = new System.Windows.Forms.Label();
this.toolbarPanel = new System.Windows.Forms.TableLayoutPanel(); this.toolbarPanel = new System.Windows.Forms.TableLayoutPanel();
this.closeToolbarButton = new System.Windows.Forms.Label(); this.closeToolbarButton = new System.Windows.Forms.Label();
this.lockToolbarButton = new System.Windows.Forms.PictureBox();
this.newToolbarButton = new System.Windows.Forms.PictureBox(); this.newToolbarButton = new System.Windows.Forms.PictureBox();
this.changePasswordToolbarButton = new System.Windows.Forms.PictureBox();
this.openToolbarButton = new System.Windows.Forms.PictureBox(); this.openToolbarButton = new System.Windows.Forms.PictureBox();
this.pasteToolbarButton = new System.Windows.Forms.PictureBox(); this.pasteToolbarButton = new System.Windows.Forms.PictureBox();
this.saveToolbarButton = new System.Windows.Forms.PictureBox(); this.saveToolbarButton = new System.Windows.Forms.PictureBox();
@ -107,28 +104,17 @@ public void InitializeComponent()
this.fileLocationToolbarButton = new System.Windows.Forms.PictureBox(); this.fileLocationToolbarButton = new System.Windows.Forms.PictureBox();
this.cutToolbarButton = new System.Windows.Forms.PictureBox(); this.cutToolbarButton = new System.Windows.Forms.PictureBox();
this.deleteFileToolbarButton = new System.Windows.Forms.PictureBox(); this.deleteFileToolbarButton = new System.Windows.Forms.PictureBox();
this.tryToDecryptToolbarButton = new System.Windows.Forms.PictureBox();
this.changePasswordToolbarButton = new System.Windows.Forms.PictureBox();
this.lockToolbarButton = new System.Windows.Forms.PictureBox();
this.alwaysOnTopToolbarButton = new System.Windows.Forms.PictureBox();
this.settingsToolbarButton = new System.Windows.Forms.PictureBox(); this.settingsToolbarButton = new System.Windows.Forms.PictureBox();
this.alwaysOnTopToolbarButton = new System.Windows.Forms.PictureBox();
this.statusPanel = new System.Windows.Forms.StatusStrip(); this.statusPanel = new System.Windows.Forms.StatusStrip();
this.statusPanelLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.statusPanelLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusPanelLengthLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.statusPanelLengthLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusPanelLinesLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.statusPanelLinesLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusPanelModifiedLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.statusPanelModifiedLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusPanelSizeLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.statusPanelSizeLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusPanelReadonlyLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusPanelWordwrapLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusPanelPasteboardLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.statusPanelClipboardProgressBar = new System.Windows.Forms.ToolStripProgressBar();
this.trayIcon = new System.Windows.Forms.NotifyIcon(this.components); this.trayIcon = new System.Windows.Forms.NotifyIcon(this.components);
this.trayMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.trayMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.showTrayMenu = new System.Windows.Forms.ToolStripMenuItem();
this.resetWindowLocationTrayMenu = new System.Windows.Forms.ToolStripMenuItem();
this.showWindowTrayMenu = new System.Windows.Forms.ToolStripMenuItem();
this.hideWindowTrayMenu = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.exitTrayMenu = new System.Windows.Forms.ToolStripMenuItem(); this.exitTrayMenu = new System.Windows.Forms.ToolStripMenuItem();
this.fileLockedPanel = new System.Windows.Forms.Panel(); this.fileLockedPanel = new System.Windows.Forms.Panel();
this.fileLockedCloseButton = new System.Windows.Forms.Button(); this.fileLockedCloseButton = new System.Windows.Forms.Button();
@ -140,14 +126,13 @@ public void InitializeComponent()
this.richTextBoxPanel = new System.Windows.Forms.Panel(); this.richTextBoxPanel = new System.Windows.Forms.Panel();
this.richTextBox = new Crypto_Notepad.ExRichTextBox(); this.richTextBox = new Crypto_Notepad.ExRichTextBox();
this.statusPanelTimer = new System.Windows.Forms.Timer(this.components); this.statusPanelTimer = new System.Windows.Forms.Timer(this.components);
this.lockTimer = new System.Windows.Forms.Timer(this.components);
this.clipboardTimer = new System.Windows.Forms.Timer(this.components);
this.pasteBoardTimer = new System.Windows.Forms.Timer(this.components);
this.mainMenu.SuspendLayout(); this.mainMenu.SuspendLayout();
this.contextMenu.SuspendLayout(); this.contextMenu.SuspendLayout();
this.searchPanel.SuspendLayout(); this.searchPanel.SuspendLayout();
this.toolbarPanel.SuspendLayout(); this.toolbarPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.lockToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.newToolbarButton)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.newToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.changePasswordToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.openToolbarButton)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.openToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pasteToolbarButton)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pasteToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.saveToolbarButton)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.saveToolbarButton)).BeginInit();
@ -155,11 +140,8 @@ public void InitializeComponent()
((System.ComponentModel.ISupportInitialize)(this.fileLocationToolbarButton)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fileLocationToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cutToolbarButton)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cutToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.deleteFileToolbarButton)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.deleteFileToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tryToDecryptToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.changePasswordToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.lockToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.alwaysOnTopToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.settingsToolbarButton)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.settingsToolbarButton)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.alwaysOnTopToolbarButton)).BeginInit();
this.statusPanel.SuspendLayout(); this.statusPanel.SuspendLayout();
this.trayMenu.SuspendLayout(); this.trayMenu.SuspendLayout();
this.fileLockedPanel.SuspendLayout(); this.fileLockedPanel.SuspendLayout();
@ -180,7 +162,7 @@ public void InitializeComponent()
this.mainMenu.Location = new System.Drawing.Point(0, 0); this.mainMenu.Location = new System.Drawing.Point(0, 0);
this.mainMenu.Name = "mainMenu"; this.mainMenu.Name = "mainMenu";
this.mainMenu.Padding = new System.Windows.Forms.Padding(0); this.mainMenu.Padding = new System.Windows.Forms.Padding(0);
this.mainMenu.Size = new System.Drawing.Size(593, 24); this.mainMenu.Size = new System.Drawing.Size(504, 24);
this.mainMenu.TabIndex = 0; this.mainMenu.TabIndex = 0;
this.mainMenu.Text = "menuStrip1"; this.mainMenu.Text = "menuStrip1";
// //
@ -196,21 +178,19 @@ public void InitializeComponent()
this.mainMenuSeparator2, this.mainMenuSeparator2,
this.openFileLocationMainMenu, this.openFileLocationMainMenu,
this.deleteFileMainMenu, this.deleteFileMainMenu,
this.tryToDecryptMainMenu,
this.mainMenuSeparator3, this.mainMenuSeparator3,
this.exitMainMenu}); this.exitMainMenu});
this.fileMainMenu.ForeColor = System.Drawing.SystemColors.ControlText; this.fileMainMenu.ForeColor = System.Drawing.SystemColors.ControlText;
this.fileMainMenu.Name = "fileMainMenu"; this.fileMainMenu.Name = "fileMainMenu";
this.fileMainMenu.Size = new System.Drawing.Size(37, 24); this.fileMainMenu.Size = new System.Drawing.Size(37, 24);
this.fileMainMenu.Text = "File"; this.fileMainMenu.Text = "File";
this.fileMainMenu.DropDownOpening += new System.EventHandler(this.FileMainMenu_DropDownOpening); this.fileMainMenu.DropDownOpened += new System.EventHandler(this.FileMainMenu_DropDownOpened);
// //
// newMainMenu // newMainMenu
// //
this.newMainMenu.Name = "newMainMenu"; this.newMainMenu.Name = "newMainMenu";
this.newMainMenu.ShortcutKeyDisplayString = "";
this.newMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); this.newMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
this.newMainMenu.Size = new System.Drawing.Size(248, 22); this.newMainMenu.Size = new System.Drawing.Size(232, 22);
this.newMainMenu.Text = "New"; this.newMainMenu.Text = "New";
this.newMainMenu.Click += new System.EventHandler(this.NewMainMenu_Click); this.newMainMenu.Click += new System.EventHandler(this.NewMainMenu_Click);
// //
@ -218,20 +198,20 @@ public void InitializeComponent()
// //
this.openMainMenu.Name = "openMainMenu"; this.openMainMenu.Name = "openMainMenu";
this.openMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); this.openMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
this.openMainMenu.Size = new System.Drawing.Size(248, 22); this.openMainMenu.Size = new System.Drawing.Size(232, 22);
this.openMainMenu.Text = "Open..."; this.openMainMenu.Text = "Open...";
this.openMainMenu.Click += new System.EventHandler(this.OpenMainMenu_Click); this.openMainMenu.Click += new System.EventHandler(this.OpenMainMenu_Click);
// //
// mainMenuSeparator1 // mainMenuSeparator1
// //
this.mainMenuSeparator1.Name = "mainMenuSeparator1"; this.mainMenuSeparator1.Name = "mainMenuSeparator1";
this.mainMenuSeparator1.Size = new System.Drawing.Size(245, 6); this.mainMenuSeparator1.Size = new System.Drawing.Size(229, 6);
// //
// saveMainMenu // saveMainMenu
// //
this.saveMainMenu.Name = "saveMainMenu"; this.saveMainMenu.Name = "saveMainMenu";
this.saveMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.saveMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
this.saveMainMenu.Size = new System.Drawing.Size(248, 22); this.saveMainMenu.Size = new System.Drawing.Size(232, 22);
this.saveMainMenu.Text = "Save"; this.saveMainMenu.Text = "Save";
this.saveMainMenu.Click += new System.EventHandler(this.SaveMainMenu_Click); this.saveMainMenu.Click += new System.EventHandler(this.SaveMainMenu_Click);
// //
@ -240,7 +220,7 @@ public void InitializeComponent()
this.saveAsMainMenu.Name = "saveAsMainMenu"; this.saveAsMainMenu.Name = "saveAsMainMenu";
this.saveAsMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) this.saveAsMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.S))); | System.Windows.Forms.Keys.S)));
this.saveAsMainMenu.Size = new System.Drawing.Size(248, 22); this.saveAsMainMenu.Size = new System.Drawing.Size(232, 22);
this.saveAsMainMenu.Text = "Save As..."; this.saveAsMainMenu.Text = "Save As...";
this.saveAsMainMenu.Click += new System.EventHandler(this.SaveAsMainMenu_Click); this.saveAsMainMenu.Click += new System.EventHandler(this.SaveAsMainMenu_Click);
// //
@ -249,52 +229,39 @@ public void InitializeComponent()
this.saveCloseFileMainMenu.Name = "saveCloseFileMainMenu"; this.saveCloseFileMainMenu.Name = "saveCloseFileMainMenu";
this.saveCloseFileMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Shift) this.saveCloseFileMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.S))); | System.Windows.Forms.Keys.S)));
this.saveCloseFileMainMenu.Size = new System.Drawing.Size(248, 22); this.saveCloseFileMainMenu.Size = new System.Drawing.Size(232, 22);
this.saveCloseFileMainMenu.Text = "Save && Close File"; this.saveCloseFileMainMenu.Text = "Save && Close File";
this.saveCloseFileMainMenu.Click += new System.EventHandler(this.SaveCloseFileMainMenu_Click); this.saveCloseFileMainMenu.Click += new System.EventHandler(this.SaveCloseFileMainMenu_Click);
// //
// mainMenuSeparator2 // mainMenuSeparator2
// //
this.mainMenuSeparator2.Name = "mainMenuSeparator2"; this.mainMenuSeparator2.Name = "mainMenuSeparator2";
this.mainMenuSeparator2.Size = new System.Drawing.Size(245, 6); this.mainMenuSeparator2.Size = new System.Drawing.Size(229, 6);
// //
// openFileLocationMainMenu // openFileLocationMainMenu
// //
this.openFileLocationMainMenu.Name = "openFileLocationMainMenu"; this.openFileLocationMainMenu.Name = "openFileLocationMainMenu";
this.openFileLocationMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) this.openFileLocationMainMenu.Size = new System.Drawing.Size(232, 22);
| System.Windows.Forms.Keys.O)));
this.openFileLocationMainMenu.Size = new System.Drawing.Size(248, 22);
this.openFileLocationMainMenu.Text = "Open File Location"; this.openFileLocationMainMenu.Text = "Open File Location";
this.openFileLocationMainMenu.Click += new System.EventHandler(this.OpenFileLocationMainMenu_Click); this.openFileLocationMainMenu.Click += new System.EventHandler(this.OpenFileLocationMainMenu_Click);
// //
// deleteFileMainMenu // deleteFileMainMenu
// //
this.deleteFileMainMenu.Name = "deleteFileMainMenu"; this.deleteFileMainMenu.Name = "deleteFileMainMenu";
this.deleteFileMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) this.deleteFileMainMenu.Size = new System.Drawing.Size(232, 22);
| System.Windows.Forms.Keys.D)));
this.deleteFileMainMenu.Size = new System.Drawing.Size(248, 22);
this.deleteFileMainMenu.Text = "Delete File"; this.deleteFileMainMenu.Text = "Delete File";
this.deleteFileMainMenu.Click += new System.EventHandler(this.DeleteFileToolStripMenuItem_Click); this.deleteFileMainMenu.Click += new System.EventHandler(this.DeleteFileToolStripMenuItem_Click);
// //
// tryToDecryptMainMenu
//
this.tryToDecryptMainMenu.Name = "tryToDecryptMainMenu";
this.tryToDecryptMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.E)));
this.tryToDecryptMainMenu.Size = new System.Drawing.Size(248, 22);
this.tryToDecryptMainMenu.Text = "Try to Decrypt";
this.tryToDecryptMainMenu.Click += new System.EventHandler(this.TryToDecryptMainMenu_Click);
//
// mainMenuSeparator3 // mainMenuSeparator3
// //
this.mainMenuSeparator3.Name = "mainMenuSeparator3"; this.mainMenuSeparator3.Name = "mainMenuSeparator3";
this.mainMenuSeparator3.Size = new System.Drawing.Size(245, 6); this.mainMenuSeparator3.Size = new System.Drawing.Size(229, 6);
// //
// exitMainMenu // exitMainMenu
// //
this.exitMainMenu.Name = "exitMainMenu"; this.exitMainMenu.Name = "exitMainMenu";
this.exitMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q))); this.exitMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q)));
this.exitMainMenu.Size = new System.Drawing.Size(248, 22); this.exitMainMenu.Size = new System.Drawing.Size(232, 22);
this.exitMainMenu.Text = "Exit"; this.exitMainMenu.Text = "Exit";
this.exitMainMenu.Click += new System.EventHandler(this.ExitMainMenu_Click); this.exitMainMenu.Click += new System.EventHandler(this.ExitMainMenu_Click);
// //
@ -312,24 +279,20 @@ public void InitializeComponent()
this.findMainMenu, this.findMainMenu,
this.mainMenuSeparator6, this.mainMenuSeparator6,
this.selectAllMainMenu, this.selectAllMainMenu,
this.clearClipboardMainMenu,
this.wordWrapMainMenu, this.wordWrapMainMenu,
this.readOnlyMainMenu,
this.insertDateTimeMainMenu,
this.mainMenuSeparator7, this.mainMenuSeparator7,
this.clearMainMenu}); this.clearMainMenu});
this.editMainMenu.ForeColor = System.Drawing.SystemColors.ControlText; this.editMainMenu.ForeColor = System.Drawing.SystemColors.ControlText;
this.editMainMenu.Name = "editMainMenu"; this.editMainMenu.Name = "editMainMenu";
this.editMainMenu.Size = new System.Drawing.Size(39, 24); this.editMainMenu.Size = new System.Drawing.Size(39, 24);
this.editMainMenu.Text = "Edit"; this.editMainMenu.Text = "Edit";
this.editMainMenu.DropDownOpening += new System.EventHandler(this.EditMainMenu_DropDownOpening);
this.editMainMenu.DropDownOpened += new System.EventHandler(this.EditMainMenu_DropDownOpened); this.editMainMenu.DropDownOpened += new System.EventHandler(this.EditMainMenu_DropDownOpened);
// //
// undoMainMenu // undoMainMenu
// //
this.undoMainMenu.Name = "undoMainMenu"; this.undoMainMenu.Name = "undoMainMenu";
this.undoMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z))); this.undoMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)));
this.undoMainMenu.Size = new System.Drawing.Size(198, 22); this.undoMainMenu.Size = new System.Drawing.Size(164, 22);
this.undoMainMenu.Text = "Undo"; this.undoMainMenu.Text = "Undo";
this.undoMainMenu.Click += new System.EventHandler(this.UndoMainMenu_Click); this.undoMainMenu.Click += new System.EventHandler(this.UndoMainMenu_Click);
// //
@ -337,21 +300,21 @@ public void InitializeComponent()
// //
this.redoMainMenu.Name = "redoMainMenu"; this.redoMainMenu.Name = "redoMainMenu";
this.redoMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y))); this.redoMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y)));
this.redoMainMenu.Size = new System.Drawing.Size(198, 22); this.redoMainMenu.Size = new System.Drawing.Size(164, 22);
this.redoMainMenu.Text = "Redo"; this.redoMainMenu.Text = "Redo";
this.redoMainMenu.Click += new System.EventHandler(this.RedoMainMenu_Click); this.redoMainMenu.Click += new System.EventHandler(this.RedoMainMenu_Click);
// //
// mainMenuSeparator4 // mainMenuSeparator4
// //
this.mainMenuSeparator4.Name = "mainMenuSeparator4"; this.mainMenuSeparator4.Name = "mainMenuSeparator4";
this.mainMenuSeparator4.Size = new System.Drawing.Size(195, 6); this.mainMenuSeparator4.Size = new System.Drawing.Size(161, 6);
// //
// cutMainMenu // cutMainMenu
// //
this.cutMainMenu.Enabled = false; this.cutMainMenu.Enabled = false;
this.cutMainMenu.Name = "cutMainMenu"; this.cutMainMenu.Name = "cutMainMenu";
this.cutMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); this.cutMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
this.cutMainMenu.Size = new System.Drawing.Size(198, 22); this.cutMainMenu.Size = new System.Drawing.Size(164, 22);
this.cutMainMenu.Text = "Cut"; this.cutMainMenu.Text = "Cut";
this.cutMainMenu.Click += new System.EventHandler(this.CutMainMenu_Click); this.cutMainMenu.Click += new System.EventHandler(this.CutMainMenu_Click);
// //
@ -360,7 +323,7 @@ public void InitializeComponent()
this.copyMainMenu.Enabled = false; this.copyMainMenu.Enabled = false;
this.copyMainMenu.Name = "copyMainMenu"; this.copyMainMenu.Name = "copyMainMenu";
this.copyMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); this.copyMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
this.copyMainMenu.Size = new System.Drawing.Size(198, 22); this.copyMainMenu.Size = new System.Drawing.Size(164, 22);
this.copyMainMenu.Text = "Copy"; this.copyMainMenu.Text = "Copy";
this.copyMainMenu.Click += new System.EventHandler(this.CopyMainMenu_Click); this.copyMainMenu.Click += new System.EventHandler(this.CopyMainMenu_Click);
// //
@ -368,7 +331,7 @@ public void InitializeComponent()
// //
this.pasteMainMenu.Name = "pasteMainMenu"; this.pasteMainMenu.Name = "pasteMainMenu";
this.pasteMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V))); this.pasteMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
this.pasteMainMenu.Size = new System.Drawing.Size(198, 22); this.pasteMainMenu.Size = new System.Drawing.Size(164, 22);
this.pasteMainMenu.Text = "Paste"; this.pasteMainMenu.Text = "Paste";
this.pasteMainMenu.Click += new System.EventHandler(this.PasteMainMenu_Click); this.pasteMainMenu.Click += new System.EventHandler(this.PasteMainMenu_Click);
// //
@ -377,83 +340,57 @@ public void InitializeComponent()
this.deleteMainMenu.Enabled = false; this.deleteMainMenu.Enabled = false;
this.deleteMainMenu.Name = "deleteMainMenu"; this.deleteMainMenu.Name = "deleteMainMenu";
this.deleteMainMenu.ShortcutKeys = System.Windows.Forms.Keys.Delete; this.deleteMainMenu.ShortcutKeys = System.Windows.Forms.Keys.Delete;
this.deleteMainMenu.Size = new System.Drawing.Size(198, 22); this.deleteMainMenu.Size = new System.Drawing.Size(164, 22);
this.deleteMainMenu.Text = "Delete"; this.deleteMainMenu.Text = "Delete";
this.deleteMainMenu.Click += new System.EventHandler(this.DeleteMainMenu_Click); this.deleteMainMenu.Click += new System.EventHandler(this.DeleteMainMenu_Click);
// //
// mainMenuSeparator5 // mainMenuSeparator5
// //
this.mainMenuSeparator5.Name = "mainMenuSeparator5"; this.mainMenuSeparator5.Name = "mainMenuSeparator5";
this.mainMenuSeparator5.Size = new System.Drawing.Size(195, 6); this.mainMenuSeparator5.Size = new System.Drawing.Size(161, 6);
// //
// findMainMenu // findMainMenu
// //
this.findMainMenu.Name = "findMainMenu"; this.findMainMenu.Name = "findMainMenu";
this.findMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F))); this.findMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)));
this.findMainMenu.Size = new System.Drawing.Size(198, 22); this.findMainMenu.Size = new System.Drawing.Size(164, 22);
this.findMainMenu.Text = "Find"; this.findMainMenu.Text = "Find";
this.findMainMenu.Click += new System.EventHandler(this.FindMainMenu_Click); this.findMainMenu.Click += new System.EventHandler(this.FindMainMenu_Click);
// //
// mainMenuSeparator6 // mainMenuSeparator6
// //
this.mainMenuSeparator6.Name = "mainMenuSeparator6"; this.mainMenuSeparator6.Name = "mainMenuSeparator6";
this.mainMenuSeparator6.Size = new System.Drawing.Size(195, 6); this.mainMenuSeparator6.Size = new System.Drawing.Size(161, 6);
// //
// selectAllMainMenu // selectAllMainMenu
// //
this.selectAllMainMenu.Name = "selectAllMainMenu"; this.selectAllMainMenu.Name = "selectAllMainMenu";
this.selectAllMainMenu.ShortcutKeyDisplayString = ""; this.selectAllMainMenu.ShortcutKeyDisplayString = "";
this.selectAllMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); this.selectAllMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
this.selectAllMainMenu.Size = new System.Drawing.Size(198, 22); this.selectAllMainMenu.Size = new System.Drawing.Size(164, 22);
this.selectAllMainMenu.Text = "Select All"; this.selectAllMainMenu.Text = "Select All";
this.selectAllMainMenu.Click += new System.EventHandler(this.SelectAllMainMenu_Click); this.selectAllMainMenu.Click += new System.EventHandler(this.SelectAllMainMenu_Click);
// //
// clearClipboardMainMenu
//
this.clearClipboardMainMenu.Name = "clearClipboardMainMenu";
this.clearClipboardMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D)));
this.clearClipboardMainMenu.Size = new System.Drawing.Size(198, 22);
this.clearClipboardMainMenu.Text = "Clear Clipboard";
this.clearClipboardMainMenu.Click += new System.EventHandler(this.ClearClipboardMainMenu_Click);
//
// wordWrapMainMenu // wordWrapMainMenu
// //
this.wordWrapMainMenu.Checked = true; this.wordWrapMainMenu.Checked = true;
this.wordWrapMainMenu.CheckOnClick = true; this.wordWrapMainMenu.CheckOnClick = true;
this.wordWrapMainMenu.CheckState = System.Windows.Forms.CheckState.Checked; this.wordWrapMainMenu.CheckState = System.Windows.Forms.CheckState.Checked;
this.wordWrapMainMenu.Name = "wordWrapMainMenu"; this.wordWrapMainMenu.Name = "wordWrapMainMenu";
this.wordWrapMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W))); this.wordWrapMainMenu.Size = new System.Drawing.Size(164, 22);
this.wordWrapMainMenu.Size = new System.Drawing.Size(198, 22);
this.wordWrapMainMenu.Text = "Word Wrap"; this.wordWrapMainMenu.Text = "Word Wrap";
this.wordWrapMainMenu.Click += new System.EventHandler(this.WordWrapMainMenu_Click); this.wordWrapMainMenu.Click += new System.EventHandler(this.WordWrapMainMenu_Click);
// //
// readOnlyMainMenu
//
this.readOnlyMainMenu.CheckOnClick = true;
this.readOnlyMainMenu.Name = "readOnlyMainMenu";
this.readOnlyMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R)));
this.readOnlyMainMenu.Size = new System.Drawing.Size(198, 22);
this.readOnlyMainMenu.Text = "Readonly";
this.readOnlyMainMenu.Click += new System.EventHandler(this.ReadOnlyMainMenu_Click);
//
// insertDateTimeMainMenu
//
this.insertDateTimeMainMenu.Name = "insertDateTimeMainMenu";
this.insertDateTimeMainMenu.ShortcutKeys = System.Windows.Forms.Keys.F5;
this.insertDateTimeMainMenu.Size = new System.Drawing.Size(198, 22);
this.insertDateTimeMainMenu.Text = "Insert Date Time";
this.insertDateTimeMainMenu.Click += new System.EventHandler(this.InsertDateTimeMainMenu_Click);
//
// mainMenuSeparator7 // mainMenuSeparator7
// //
this.mainMenuSeparator7.Name = "mainMenuSeparator7"; this.mainMenuSeparator7.Name = "mainMenuSeparator7";
this.mainMenuSeparator7.Size = new System.Drawing.Size(195, 6); this.mainMenuSeparator7.Size = new System.Drawing.Size(161, 6);
// //
// clearMainMenu // clearMainMenu
// //
this.clearMainMenu.Name = "clearMainMenu"; this.clearMainMenu.Name = "clearMainMenu";
this.clearMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Delete))); this.clearMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Delete)));
this.clearMainMenu.Size = new System.Drawing.Size(198, 22); this.clearMainMenu.Size = new System.Drawing.Size(164, 22);
this.clearMainMenu.Text = "Clear"; this.clearMainMenu.Text = "Clear";
this.clearMainMenu.Click += new System.EventHandler(this.ClearMainMenu_Click); this.clearMainMenu.Click += new System.EventHandler(this.ClearMainMenu_Click);
// //
@ -464,20 +401,19 @@ public void InitializeComponent()
this.passwordGeneratorMainMenu, this.passwordGeneratorMainMenu,
this.changePasswordMainMenu, this.changePasswordMainMenu,
this.lockMainMenu, this.lockMainMenu,
this.settingsMainMenu, this.settingsMainMenu});
this.pasteBoardMainMenu});
this.toolsMainMenu.ForeColor = System.Drawing.SystemColors.ControlText; this.toolsMainMenu.ForeColor = System.Drawing.SystemColors.ControlText;
this.toolsMainMenu.Name = "toolsMainMenu"; this.toolsMainMenu.Name = "toolsMainMenu";
this.toolsMainMenu.Size = new System.Drawing.Size(46, 24); this.toolsMainMenu.Size = new System.Drawing.Size(46, 24);
this.toolsMainMenu.Text = "Tools"; this.toolsMainMenu.Text = "Tools";
this.toolsMainMenu.DropDownOpening += new System.EventHandler(this.ToolsMainMenu_DropDownOpening); this.toolsMainMenu.DropDownOpened += new System.EventHandler(this.ToolsMainMenu_DropDownOpened);
// //
// alwaysOnTopMainMenu // alwaysOnTopMainMenu
// //
this.alwaysOnTopMainMenu.CheckOnClick = true; this.alwaysOnTopMainMenu.CheckOnClick = true;
this.alwaysOnTopMainMenu.Name = "alwaysOnTopMainMenu"; this.alwaysOnTopMainMenu.Name = "alwaysOnTopMainMenu";
this.alwaysOnTopMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T))); this.alwaysOnTopMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T)));
this.alwaysOnTopMainMenu.Size = new System.Drawing.Size(245, 22); this.alwaysOnTopMainMenu.Size = new System.Drawing.Size(232, 22);
this.alwaysOnTopMainMenu.Text = "Always on Top"; this.alwaysOnTopMainMenu.Text = "Always on Top";
this.alwaysOnTopMainMenu.Click += new System.EventHandler(this.AlwaysOnTopMainMenu_Click); this.alwaysOnTopMainMenu.Click += new System.EventHandler(this.AlwaysOnTopMainMenu_Click);
// //
@ -485,16 +421,16 @@ public void InitializeComponent()
// //
this.passwordGeneratorMainMenu.Name = "passwordGeneratorMainMenu"; this.passwordGeneratorMainMenu.Name = "passwordGeneratorMainMenu";
this.passwordGeneratorMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); this.passwordGeneratorMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
this.passwordGeneratorMainMenu.Size = new System.Drawing.Size(245, 22); this.passwordGeneratorMainMenu.Size = new System.Drawing.Size(232, 22);
this.passwordGeneratorMainMenu.Text = "Password Generator"; this.passwordGeneratorMainMenu.Text = "Password Generator";
this.passwordGeneratorMainMenu.Click += new System.EventHandler(this.PasswordGeneratorMainMenu_Click); this.passwordGeneratorMainMenu.Click += new System.EventHandler(this.PasswordGeneratorMainMenu_Click);
// //
// changePasswordMainMenu // changePasswordMainMenu
// //
this.changePasswordMainMenu.Name = "changePasswordMainMenu"; this.changePasswordMainMenu.Name = "changePasswordMainMenu";
this.changePasswordMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) this.changePasswordMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt)
| System.Windows.Forms.Keys.P))); | System.Windows.Forms.Keys.K)));
this.changePasswordMainMenu.Size = new System.Drawing.Size(245, 22); this.changePasswordMainMenu.Size = new System.Drawing.Size(232, 22);
this.changePasswordMainMenu.Text = "Change Password"; this.changePasswordMainMenu.Text = "Change Password";
this.changePasswordMainMenu.Click += new System.EventHandler(this.ChangePasswordMainMenu_Click); this.changePasswordMainMenu.Click += new System.EventHandler(this.ChangePasswordMainMenu_Click);
// //
@ -502,7 +438,7 @@ public void InitializeComponent()
// //
this.lockMainMenu.Name = "lockMainMenu"; this.lockMainMenu.Name = "lockMainMenu";
this.lockMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L))); this.lockMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L)));
this.lockMainMenu.Size = new System.Drawing.Size(245, 22); this.lockMainMenu.Size = new System.Drawing.Size(232, 22);
this.lockMainMenu.Text = "Lock"; this.lockMainMenu.Text = "Lock";
this.lockMainMenu.Click += new System.EventHandler(this.LockMainMenu_Click); this.lockMainMenu.Click += new System.EventHandler(this.LockMainMenu_Click);
// //
@ -510,22 +446,12 @@ public void InitializeComponent()
// //
this.settingsMainMenu.Name = "settingsMainMenu"; this.settingsMainMenu.Name = "settingsMainMenu";
this.settingsMainMenu.ShortcutKeyDisplayString = ""; this.settingsMainMenu.ShortcutKeyDisplayString = "";
this.settingsMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) this.settingsMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt)
| System.Windows.Forms.Keys.T))); | System.Windows.Forms.Keys.S)));
this.settingsMainMenu.Size = new System.Drawing.Size(245, 22); this.settingsMainMenu.Size = new System.Drawing.Size(232, 22);
this.settingsMainMenu.Text = "Settings"; this.settingsMainMenu.Text = "Settings";
this.settingsMainMenu.Click += new System.EventHandler(this.SettingsMainMenu_Click); this.settingsMainMenu.Click += new System.EventHandler(this.SettingsMainMenu_Click);
// //
// pasteBoardMainMenu
//
this.pasteBoardMainMenu.CheckOnClick = true;
this.pasteBoardMainMenu.Name = "pasteBoardMainMenu";
this.pasteBoardMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.P)));
this.pasteBoardMainMenu.Size = new System.Drawing.Size(245, 22);
this.pasteBoardMainMenu.Text = "Use as Paste Board";
this.pasteBoardMainMenu.Click += new System.EventHandler(this.PasteBoardMainMenu_Click);
//
// helpMainMenu // helpMainMenu
// //
this.helpMainMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.helpMainMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
@ -542,7 +468,7 @@ public void InitializeComponent()
// //
this.documentationMainMenu.Name = "documentationMainMenu"; this.documentationMainMenu.Name = "documentationMainMenu";
this.documentationMainMenu.ShortcutKeys = System.Windows.Forms.Keys.F1; this.documentationMainMenu.ShortcutKeys = System.Windows.Forms.Keys.F1;
this.documentationMainMenu.Size = new System.Drawing.Size(222, 22); this.documentationMainMenu.Size = new System.Drawing.Size(180, 22);
this.documentationMainMenu.Text = "Documentation"; this.documentationMainMenu.Text = "Documentation";
this.documentationMainMenu.Click += new System.EventHandler(this.DocumentationMainMenu_Click); this.documentationMainMenu.Click += new System.EventHandler(this.DocumentationMainMenu_Click);
// //
@ -550,8 +476,7 @@ public void InitializeComponent()
// //
this.checkForUpdatesMainMenu.Name = "checkForUpdatesMainMenu"; this.checkForUpdatesMainMenu.Name = "checkForUpdatesMainMenu";
this.checkForUpdatesMainMenu.RightToLeftAutoMirrorImage = true; this.checkForUpdatesMainMenu.RightToLeftAutoMirrorImage = true;
this.checkForUpdatesMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U))); this.checkForUpdatesMainMenu.Size = new System.Drawing.Size(180, 22);
this.checkForUpdatesMainMenu.Size = new System.Drawing.Size(222, 22);
this.checkForUpdatesMainMenu.Text = "Сheck for Updates..."; this.checkForUpdatesMainMenu.Text = "Сheck for Updates...";
this.checkForUpdatesMainMenu.Click += new System.EventHandler(this.CheckForUpdatesMainMenu_Click); this.checkForUpdatesMainMenu.Click += new System.EventHandler(this.CheckForUpdatesMainMenu_Click);
// //
@ -559,16 +484,14 @@ public void InitializeComponent()
// //
this.mainMenuSeparator8.ForeColor = System.Drawing.SystemColors.ControlText; this.mainMenuSeparator8.ForeColor = System.Drawing.SystemColors.ControlText;
this.mainMenuSeparator8.Name = "mainMenuSeparator8"; this.mainMenuSeparator8.Name = "mainMenuSeparator8";
this.mainMenuSeparator8.Size = new System.Drawing.Size(219, 6); this.mainMenuSeparator8.Size = new System.Drawing.Size(177, 6);
// //
// aboutMainMenu // aboutMainMenu
// //
this.aboutMainMenu.BackColor = System.Drawing.SystemColors.Control; this.aboutMainMenu.BackColor = System.Drawing.SystemColors.Control;
this.aboutMainMenu.Name = "aboutMainMenu"; this.aboutMainMenu.Name = "aboutMainMenu";
this.aboutMainMenu.ShortcutKeyDisplayString = ""; this.aboutMainMenu.ShortcutKeyDisplayString = "";
this.aboutMainMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) this.aboutMainMenu.Size = new System.Drawing.Size(180, 22);
| System.Windows.Forms.Keys.A)));
this.aboutMainMenu.Size = new System.Drawing.Size(222, 22);
this.aboutMainMenu.Text = "About"; this.aboutMainMenu.Text = "About";
this.aboutMainMenu.Click += new System.EventHandler(this.AboutMainMenu_Click); this.aboutMainMenu.Click += new System.EventHandler(this.AboutMainMenu_Click);
// //
@ -726,11 +649,11 @@ public void InitializeComponent()
this.searchPanel.Dock = System.Windows.Forms.DockStyle.Bottom; this.searchPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
this.searchPanel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.searchPanel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.searchPanel.ForeColor = System.Drawing.Color.Black; this.searchPanel.ForeColor = System.Drawing.Color.Black;
this.searchPanel.Location = new System.Drawing.Point(0, 318); this.searchPanel.Location = new System.Drawing.Point(0, 234);
this.searchPanel.Name = "searchPanel"; this.searchPanel.Name = "searchPanel";
this.searchPanel.RowCount = 1; this.searchPanel.RowCount = 1;
this.searchPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.searchPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.searchPanel.Size = new System.Drawing.Size(593, 25); this.searchPanel.Size = new System.Drawing.Size(504, 25);
this.searchPanel.TabIndex = 17; this.searchPanel.TabIndex = 17;
this.searchPanel.Visible = false; this.searchPanel.Visible = false;
// //
@ -742,7 +665,7 @@ public void InitializeComponent()
this.searchTextBox.ForeColor = System.Drawing.Color.Black; this.searchTextBox.ForeColor = System.Drawing.Color.Black;
this.searchTextBox.Location = new System.Drawing.Point(3, 5); this.searchTextBox.Location = new System.Drawing.Point(3, 5);
this.searchTextBox.Name = "searchTextBox"; this.searchTextBox.Name = "searchTextBox";
this.searchTextBox.Size = new System.Drawing.Size(289, 15); this.searchTextBox.Size = new System.Drawing.Size(200, 15);
this.searchTextBox.TabIndex = 9; this.searchTextBox.TabIndex = 9;
this.searchTextBox.TabStop = false; this.searchTextBox.TabStop = false;
this.searchTextBox.TextChanged += new System.EventHandler(this.SearchTextBox_TextChanged); this.searchTextBox.TextChanged += new System.EventHandler(this.SearchTextBox_TextChanged);
@ -755,7 +678,7 @@ public void InitializeComponent()
this.searchWholeWordCheckBox.Dock = System.Windows.Forms.DockStyle.Fill; this.searchWholeWordCheckBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.searchWholeWordCheckBox.ForeColor = System.Drawing.Color.Black; this.searchWholeWordCheckBox.ForeColor = System.Drawing.Color.Black;
this.searchWholeWordCheckBox.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.searchWholeWordCheckBox.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.searchWholeWordCheckBox.Location = new System.Drawing.Point(402, 3); this.searchWholeWordCheckBox.Location = new System.Drawing.Point(313, 3);
this.searchWholeWordCheckBox.Name = "searchWholeWordCheckBox"; this.searchWholeWordCheckBox.Name = "searchWholeWordCheckBox";
this.searchWholeWordCheckBox.Size = new System.Drawing.Size(94, 19); this.searchWholeWordCheckBox.Size = new System.Drawing.Size(94, 19);
this.searchWholeWordCheckBox.TabIndex = 12; this.searchWholeWordCheckBox.TabIndex = 12;
@ -772,7 +695,7 @@ public void InitializeComponent()
this.searchCaseSensitiveCheckBox.Dock = System.Windows.Forms.DockStyle.Fill; this.searchCaseSensitiveCheckBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.searchCaseSensitiveCheckBox.ForeColor = System.Drawing.Color.Black; this.searchCaseSensitiveCheckBox.ForeColor = System.Drawing.Color.Black;
this.searchCaseSensitiveCheckBox.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.searchCaseSensitiveCheckBox.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.searchCaseSensitiveCheckBox.Location = new System.Drawing.Point(298, 3); this.searchCaseSensitiveCheckBox.Location = new System.Drawing.Point(209, 3);
this.searchCaseSensitiveCheckBox.Name = "searchCaseSensitiveCheckBox"; this.searchCaseSensitiveCheckBox.Name = "searchCaseSensitiveCheckBox";
this.searchCaseSensitiveCheckBox.Size = new System.Drawing.Size(98, 19); this.searchCaseSensitiveCheckBox.Size = new System.Drawing.Size(98, 19);
this.searchCaseSensitiveCheckBox.TabIndex = 11; this.searchCaseSensitiveCheckBox.TabIndex = 11;
@ -789,7 +712,7 @@ public void InitializeComponent()
this.searchCloseButton.Dock = System.Windows.Forms.DockStyle.Fill; this.searchCloseButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.searchCloseButton.Font = new System.Drawing.Font("Segoe UI Black", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.searchCloseButton.Font = new System.Drawing.Font("Segoe UI Black", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.searchCloseButton.ForeColor = System.Drawing.Color.DarkGray; this.searchCloseButton.ForeColor = System.Drawing.Color.DarkGray;
this.searchCloseButton.Location = new System.Drawing.Point(574, 0); this.searchCloseButton.Location = new System.Drawing.Point(485, 0);
this.searchCloseButton.Name = "searchCloseButton"; this.searchCloseButton.Name = "searchCloseButton";
this.searchCloseButton.Size = new System.Drawing.Size(16, 25); this.searchCloseButton.Size = new System.Drawing.Size(16, 25);
this.searchCloseButton.TabIndex = 16; this.searchCloseButton.TabIndex = 16;
@ -803,7 +726,7 @@ public void InitializeComponent()
this.searchFindNextButton.Cursor = System.Windows.Forms.Cursors.Hand; this.searchFindNextButton.Cursor = System.Windows.Forms.Cursors.Hand;
this.searchFindNextButton.Dock = System.Windows.Forms.DockStyle.Fill; this.searchFindNextButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.searchFindNextButton.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.searchFindNextButton.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.searchFindNextButton.Location = new System.Drawing.Point(502, 0); this.searchFindNextButton.Location = new System.Drawing.Point(413, 0);
this.searchFindNextButton.Name = "searchFindNextButton"; this.searchFindNextButton.Name = "searchFindNextButton";
this.searchFindNextButton.Size = new System.Drawing.Size(66, 25); this.searchFindNextButton.Size = new System.Drawing.Size(66, 25);
this.searchFindNextButton.TabIndex = 17; this.searchFindNextButton.TabIndex = 17;
@ -832,7 +755,9 @@ public void InitializeComponent()
this.toolbarPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.toolbarPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.toolbarPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 18F)); this.toolbarPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 18F));
this.toolbarPanel.Controls.Add(this.closeToolbarButton, 13, 0); this.toolbarPanel.Controls.Add(this.closeToolbarButton, 13, 0);
this.toolbarPanel.Controls.Add(this.lockToolbarButton, 9, 0);
this.toolbarPanel.Controls.Add(this.newToolbarButton, 0, 0); this.toolbarPanel.Controls.Add(this.newToolbarButton, 0, 0);
this.toolbarPanel.Controls.Add(this.changePasswordToolbarButton, 8, 0);
this.toolbarPanel.Controls.Add(this.openToolbarButton, 1, 0); this.toolbarPanel.Controls.Add(this.openToolbarButton, 1, 0);
this.toolbarPanel.Controls.Add(this.pasteToolbarButton, 7, 0); this.toolbarPanel.Controls.Add(this.pasteToolbarButton, 7, 0);
this.toolbarPanel.Controls.Add(this.saveToolbarButton, 2, 0); this.toolbarPanel.Controls.Add(this.saveToolbarButton, 2, 0);
@ -840,18 +765,15 @@ public void InitializeComponent()
this.toolbarPanel.Controls.Add(this.fileLocationToolbarButton, 3, 0); this.toolbarPanel.Controls.Add(this.fileLocationToolbarButton, 3, 0);
this.toolbarPanel.Controls.Add(this.cutToolbarButton, 5, 0); this.toolbarPanel.Controls.Add(this.cutToolbarButton, 5, 0);
this.toolbarPanel.Controls.Add(this.deleteFileToolbarButton, 4, 0); this.toolbarPanel.Controls.Add(this.deleteFileToolbarButton, 4, 0);
this.toolbarPanel.Controls.Add(this.tryToDecryptToolbarButton, 8, 0); this.toolbarPanel.Controls.Add(this.settingsToolbarButton, 11, 0);
this.toolbarPanel.Controls.Add(this.changePasswordToolbarButton, 9, 0); this.toolbarPanel.Controls.Add(this.alwaysOnTopToolbarButton, 10, 0);
this.toolbarPanel.Controls.Add(this.lockToolbarButton, 10, 0);
this.toolbarPanel.Controls.Add(this.alwaysOnTopToolbarButton, 11, 0);
this.toolbarPanel.Controls.Add(this.settingsToolbarButton, 12, 0);
this.toolbarPanel.Dock = System.Windows.Forms.DockStyle.Top; this.toolbarPanel.Dock = System.Windows.Forms.DockStyle.Top;
this.toolbarPanel.ForeColor = System.Drawing.SystemColors.Control; this.toolbarPanel.ForeColor = System.Drawing.SystemColors.Control;
this.toolbarPanel.Location = new System.Drawing.Point(0, 24); this.toolbarPanel.Location = new System.Drawing.Point(0, 24);
this.toolbarPanel.Name = "toolbarPanel"; this.toolbarPanel.Name = "toolbarPanel";
this.toolbarPanel.RowCount = 1; this.toolbarPanel.RowCount = 1;
this.toolbarPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.toolbarPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.toolbarPanel.Size = new System.Drawing.Size(593, 24); this.toolbarPanel.Size = new System.Drawing.Size(504, 24);
this.toolbarPanel.TabIndex = 17; this.toolbarPanel.TabIndex = 17;
this.toolbarPanel.MouseEnter += new System.EventHandler(this.ToolbarPanel_MouseEnter); this.toolbarPanel.MouseEnter += new System.EventHandler(this.ToolbarPanel_MouseEnter);
// //
@ -862,7 +784,7 @@ public void InitializeComponent()
this.closeToolbarButton.Dock = System.Windows.Forms.DockStyle.Fill; this.closeToolbarButton.Dock = System.Windows.Forms.DockStyle.Fill;
this.closeToolbarButton.Font = new System.Drawing.Font("Segoe UI Black", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.closeToolbarButton.Font = new System.Drawing.Font("Segoe UI Black", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.closeToolbarButton.ForeColor = System.Drawing.Color.DarkGray; this.closeToolbarButton.ForeColor = System.Drawing.Color.DarkGray;
this.closeToolbarButton.Location = new System.Drawing.Point(578, 0); this.closeToolbarButton.Location = new System.Drawing.Point(489, 0);
this.closeToolbarButton.Name = "closeToolbarButton"; this.closeToolbarButton.Name = "closeToolbarButton";
this.closeToolbarButton.Size = new System.Drawing.Size(12, 24); this.closeToolbarButton.Size = new System.Drawing.Size(12, 24);
this.closeToolbarButton.TabIndex = 17; this.closeToolbarButton.TabIndex = 17;
@ -872,6 +794,20 @@ public void InitializeComponent()
this.closeToolbarButton.MouseEnter += new System.EventHandler(this.CloseToolbarButton_MouseEnter); this.closeToolbarButton.MouseEnter += new System.EventHandler(this.CloseToolbarButton_MouseEnter);
this.closeToolbarButton.MouseLeave += new System.EventHandler(this.CloseToolbarButton_MouseLeave); this.closeToolbarButton.MouseLeave += new System.EventHandler(this.CloseToolbarButton_MouseLeave);
// //
// lockToolbarButton
//
this.lockToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
this.lockToolbarButton.Image = ((System.Drawing.Image)(resources.GetObject("lockToolbarButton.Image")));
this.lockToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.lockToolbarButton.Location = new System.Drawing.Point(219, 3);
this.lockToolbarButton.Name = "lockToolbarButton";
this.lockToolbarButton.Size = new System.Drawing.Size(16, 16);
this.lockToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.lockToolbarButton.TabIndex = 15;
this.lockToolbarButton.TabStop = false;
this.toolTip.SetToolTip(this.lockToolbarButton, "Lock");
this.lockToolbarButton.Click += new System.EventHandler(this.LockToolbarButton_Click);
//
// newToolbarButton // newToolbarButton
// //
this.newToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand; this.newToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
@ -886,6 +822,20 @@ public void InitializeComponent()
this.toolTip.SetToolTip(this.newToolbarButton, "New"); this.toolTip.SetToolTip(this.newToolbarButton, "New");
this.newToolbarButton.Click += new System.EventHandler(this.NewToolbarButton_Click); this.newToolbarButton.Click += new System.EventHandler(this.NewToolbarButton_Click);
// //
// changePasswordToolbarButton
//
this.changePasswordToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
this.changePasswordToolbarButton.Image = ((System.Drawing.Image)(resources.GetObject("changePasswordToolbarButton.Image")));
this.changePasswordToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.changePasswordToolbarButton.Location = new System.Drawing.Point(195, 3);
this.changePasswordToolbarButton.Name = "changePasswordToolbarButton";
this.changePasswordToolbarButton.Size = new System.Drawing.Size(16, 16);
this.changePasswordToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.changePasswordToolbarButton.TabIndex = 15;
this.changePasswordToolbarButton.TabStop = false;
this.toolTip.SetToolTip(this.changePasswordToolbarButton, "Change password");
this.changePasswordToolbarButton.Click += new System.EventHandler(this.ChangePasswordToolbarButton_Click);
//
// openToolbarButton // openToolbarButton
// //
this.openToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand; this.openToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
@ -984,67 +934,12 @@ public void InitializeComponent()
this.toolTip.SetToolTip(this.deleteFileToolbarButton, "Delete file"); this.toolTip.SetToolTip(this.deleteFileToolbarButton, "Delete file");
this.deleteFileToolbarButton.Click += new System.EventHandler(this.DeleteFileToolbarButton_Click); this.deleteFileToolbarButton.Click += new System.EventHandler(this.DeleteFileToolbarButton_Click);
// //
// tryToDecryptToolbarButton
//
this.tryToDecryptToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
this.tryToDecryptToolbarButton.Image = global::Crypto_Notepad.Properties.Resources.lock_pencil;
this.tryToDecryptToolbarButton.Location = new System.Drawing.Point(195, 3);
this.tryToDecryptToolbarButton.Name = "tryToDecryptToolbarButton";
this.tryToDecryptToolbarButton.Size = new System.Drawing.Size(16, 16);
this.tryToDecryptToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.tryToDecryptToolbarButton.TabIndex = 18;
this.tryToDecryptToolbarButton.TabStop = false;
this.toolTip.SetToolTip(this.tryToDecryptToolbarButton, "Try to decrypt");
this.tryToDecryptToolbarButton.Click += new System.EventHandler(this.TryToDecryptToolbarButton_Click);
//
// changePasswordToolbarButton
//
this.changePasswordToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
this.changePasswordToolbarButton.Image = ((System.Drawing.Image)(resources.GetObject("changePasswordToolbarButton.Image")));
this.changePasswordToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.changePasswordToolbarButton.Location = new System.Drawing.Point(219, 3);
this.changePasswordToolbarButton.Name = "changePasswordToolbarButton";
this.changePasswordToolbarButton.Size = new System.Drawing.Size(16, 16);
this.changePasswordToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.changePasswordToolbarButton.TabIndex = 15;
this.changePasswordToolbarButton.TabStop = false;
this.toolTip.SetToolTip(this.changePasswordToolbarButton, "Change password");
this.changePasswordToolbarButton.Click += new System.EventHandler(this.ChangePasswordToolbarButton_Click);
//
// lockToolbarButton
//
this.lockToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
this.lockToolbarButton.Image = ((System.Drawing.Image)(resources.GetObject("lockToolbarButton.Image")));
this.lockToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.lockToolbarButton.Location = new System.Drawing.Point(243, 3);
this.lockToolbarButton.Name = "lockToolbarButton";
this.lockToolbarButton.Size = new System.Drawing.Size(16, 16);
this.lockToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.lockToolbarButton.TabIndex = 15;
this.lockToolbarButton.TabStop = false;
this.toolTip.SetToolTip(this.lockToolbarButton, "Lock");
this.lockToolbarButton.Click += new System.EventHandler(this.LockToolbarButton_Click);
//
// alwaysOnTopToolbarButton
//
this.alwaysOnTopToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
this.alwaysOnTopToolbarButton.Image = global::Crypto_Notepad.Properties.Resources.applications_blue;
this.alwaysOnTopToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.alwaysOnTopToolbarButton.Location = new System.Drawing.Point(267, 3);
this.alwaysOnTopToolbarButton.Name = "alwaysOnTopToolbarButton";
this.alwaysOnTopToolbarButton.Size = new System.Drawing.Size(16, 16);
this.alwaysOnTopToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.alwaysOnTopToolbarButton.TabIndex = 15;
this.alwaysOnTopToolbarButton.TabStop = false;
this.toolTip.SetToolTip(this.alwaysOnTopToolbarButton, "Always on top");
this.alwaysOnTopToolbarButton.Click += new System.EventHandler(this.AlwaysOnTopToolbarButton_Click);
//
// settingsToolbarButton // settingsToolbarButton
// //
this.settingsToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand; this.settingsToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
this.settingsToolbarButton.Image = ((System.Drawing.Image)(resources.GetObject("settingsToolbarButton.Image"))); this.settingsToolbarButton.Image = ((System.Drawing.Image)(resources.GetObject("settingsToolbarButton.Image")));
this.settingsToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.settingsToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.settingsToolbarButton.Location = new System.Drawing.Point(291, 3); this.settingsToolbarButton.Location = new System.Drawing.Point(267, 3);
this.settingsToolbarButton.Name = "settingsToolbarButton"; this.settingsToolbarButton.Name = "settingsToolbarButton";
this.settingsToolbarButton.Size = new System.Drawing.Size(16, 16); this.settingsToolbarButton.Size = new System.Drawing.Size(16, 16);
this.settingsToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.settingsToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
@ -1053,6 +948,20 @@ public void InitializeComponent()
this.toolTip.SetToolTip(this.settingsToolbarButton, "Settings"); this.toolTip.SetToolTip(this.settingsToolbarButton, "Settings");
this.settingsToolbarButton.Click += new System.EventHandler(this.SettingsToolbarButton_Click); this.settingsToolbarButton.Click += new System.EventHandler(this.SettingsToolbarButton_Click);
// //
// alwaysOnTopToolbarButton
//
this.alwaysOnTopToolbarButton.Cursor = System.Windows.Forms.Cursors.Hand;
this.alwaysOnTopToolbarButton.Image = global::Crypto_Notepad.Properties.Resources.applications_blue;
this.alwaysOnTopToolbarButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.alwaysOnTopToolbarButton.Location = new System.Drawing.Point(243, 3);
this.alwaysOnTopToolbarButton.Name = "alwaysOnTopToolbarButton";
this.alwaysOnTopToolbarButton.Size = new System.Drawing.Size(16, 16);
this.alwaysOnTopToolbarButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.alwaysOnTopToolbarButton.TabIndex = 15;
this.alwaysOnTopToolbarButton.TabStop = false;
this.toolTip.SetToolTip(this.alwaysOnTopToolbarButton, "Always on top");
this.alwaysOnTopToolbarButton.Click += new System.EventHandler(this.AlwaysOnTopToolbarButton_Click);
//
// statusPanel // statusPanel
// //
this.statusPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); this.statusPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
@ -1063,16 +972,11 @@ public void InitializeComponent()
this.statusPanelLengthLabel, this.statusPanelLengthLabel,
this.statusPanelLinesLabel, this.statusPanelLinesLabel,
this.statusPanelModifiedLabel, this.statusPanelModifiedLabel,
this.statusPanelSizeLabel, this.statusPanelSizeLabel});
this.statusPanelReadonlyLabel, this.statusPanel.Location = new System.Drawing.Point(0, 259);
this.statusPanelWordwrapLabel,
this.statusPanelPasteboardLabel,
this.statusPanelClipboardProgressBar});
this.statusPanel.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
this.statusPanel.Location = new System.Drawing.Point(0, 343);
this.statusPanel.Name = "statusPanel"; this.statusPanel.Name = "statusPanel";
this.statusPanel.ShowItemToolTips = true; this.statusPanel.ShowItemToolTips = true;
this.statusPanel.Size = new System.Drawing.Size(593, 22); this.statusPanel.Size = new System.Drawing.Size(504, 22);
this.statusPanel.SizingGrip = false; this.statusPanel.SizingGrip = false;
this.statusPanel.TabIndex = 18; this.statusPanel.TabIndex = 18;
this.statusPanel.VisibleChanged += new System.EventHandler(this.StatusPanel_VisibleChanged); this.statusPanel.VisibleChanged += new System.EventHandler(this.StatusPanel_VisibleChanged);
@ -1138,44 +1042,6 @@ public void InitializeComponent()
this.statusPanelSizeLabel.Text = "Size"; this.statusPanelSizeLabel.Text = "Size";
this.statusPanelSizeLabel.TextDirection = System.Windows.Forms.ToolStripTextDirection.Horizontal; this.statusPanelSizeLabel.TextDirection = System.Windows.Forms.ToolStripTextDirection.Horizontal;
// //
// statusPanelReadonlyLabel
//
this.statusPanelReadonlyLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right;
this.statusPanelReadonlyLabel.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
this.statusPanelReadonlyLabel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.statusPanelReadonlyLabel.Name = "statusPanelReadonlyLabel";
this.statusPanelReadonlyLabel.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
this.statusPanelReadonlyLabel.Size = new System.Drawing.Size(64, 17);
this.statusPanelReadonlyLabel.Text = "Readonly";
//
// statusPanelWordwrapLabel
//
this.statusPanelWordwrapLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right;
this.statusPanelWordwrapLabel.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
this.statusPanelWordwrapLabel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.statusPanelWordwrapLabel.Name = "statusPanelWordwrapLabel";
this.statusPanelWordwrapLabel.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
this.statusPanelWordwrapLabel.Size = new System.Drawing.Size(76, 17);
this.statusPanelWordwrapLabel.Text = "Word Wrap";
//
// statusPanelPasteboardLabel
//
this.statusPanelPasteboardLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right;
this.statusPanelPasteboardLabel.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
this.statusPanelPasteboardLabel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.statusPanelPasteboardLabel.Name = "statusPanelPasteboardLabel";
this.statusPanelPasteboardLabel.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
this.statusPanelPasteboardLabel.Size = new System.Drawing.Size(76, 17);
this.statusPanelPasteboardLabel.Text = "Paste Board";
this.statusPanelPasteboardLabel.Visible = false;
//
// statusPanelClipboardProgressBar
//
this.statusPanelClipboardProgressBar.Name = "statusPanelClipboardProgressBar";
this.statusPanelClipboardProgressBar.Size = new System.Drawing.Size(100, 16);
this.statusPanelClipboardProgressBar.Value = 100;
this.statusPanelClipboardProgressBar.Visible = false;
//
// trayIcon // trayIcon
// //
this.trayIcon.ContextMenuStrip = this.trayMenu; this.trayIcon.ContextMenuStrip = this.trayMenu;
@ -1186,58 +1052,24 @@ public void InitializeComponent()
// trayMenu // trayMenu
// //
this.trayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.trayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.settingsToolStripMenuItem, this.showTrayMenu,
this.resetWindowLocationTrayMenu,
this.showWindowTrayMenu,
this.hideWindowTrayMenu,
this.toolStripSeparator1,
this.exitTrayMenu}); this.exitTrayMenu});
this.trayMenu.Name = "mnuTray"; this.trayMenu.Name = "mnuTray";
this.trayMenu.Size = new System.Drawing.Size(199, 120); this.trayMenu.Size = new System.Drawing.Size(104, 48);
this.trayMenu.Opening += new System.ComponentModel.CancelEventHandler(this.TrayMenu_Opening);
// //
// settingsToolStripMenuItem // showTrayMenu
// //
this.settingsToolStripMenuItem.Image = global::Crypto_Notepad.Properties.Resources.gear; this.showTrayMenu.Image = global::Crypto_Notepad.Properties.Resources.application_blue;
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; this.showTrayMenu.Name = "showTrayMenu";
this.settingsToolStripMenuItem.Size = new System.Drawing.Size(198, 22); this.showTrayMenu.Size = new System.Drawing.Size(103, 22);
this.settingsToolStripMenuItem.Text = "Settings"; this.showTrayMenu.Text = "Show";
this.settingsToolStripMenuItem.Click += new System.EventHandler(this.SettingsToolStripMenuItem_Click); this.showTrayMenu.Click += new System.EventHandler(this.ShowTrayMenu_Click);
//
// resetWindowLocationTrayMenu
//
this.resetWindowLocationTrayMenu.Image = global::Crypto_Notepad.Properties.Resources.application_dock_180;
this.resetWindowLocationTrayMenu.Name = "resetWindowLocationTrayMenu";
this.resetWindowLocationTrayMenu.Size = new System.Drawing.Size(198, 22);
this.resetWindowLocationTrayMenu.Text = "Reset Window Location";
this.resetWindowLocationTrayMenu.Click += new System.EventHandler(this.ResetWindowLocationTrayMenu_Click);
//
// showWindowTrayMenu
//
this.showWindowTrayMenu.Image = global::Crypto_Notepad.Properties.Resources.application_blue;
this.showWindowTrayMenu.Name = "showWindowTrayMenu";
this.showWindowTrayMenu.Size = new System.Drawing.Size(198, 22);
this.showWindowTrayMenu.Text = "Show Window";
this.showWindowTrayMenu.Click += new System.EventHandler(this.ShowWindowTrayMenu_Click);
//
// hideWindowTrayMenu
//
this.hideWindowTrayMenu.Image = global::Crypto_Notepad.Properties.Resources.application;
this.hideWindowTrayMenu.Name = "hideWindowTrayMenu";
this.hideWindowTrayMenu.Size = new System.Drawing.Size(198, 22);
this.hideWindowTrayMenu.Text = "Hide Window";
this.hideWindowTrayMenu.Click += new System.EventHandler(this.HideWindowTrayMenu_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(195, 6);
// //
// exitTrayMenu // exitTrayMenu
// //
this.exitTrayMenu.Image = global::Crypto_Notepad.Properties.Resources.cross_button; this.exitTrayMenu.Image = global::Crypto_Notepad.Properties.Resources.cross_button;
this.exitTrayMenu.Name = "exitTrayMenu"; this.exitTrayMenu.Name = "exitTrayMenu";
this.exitTrayMenu.Size = new System.Drawing.Size(198, 22); this.exitTrayMenu.Size = new System.Drawing.Size(103, 22);
this.exitTrayMenu.Text = "Exit"; this.exitTrayMenu.Text = "Exit";
this.exitTrayMenu.Click += new System.EventHandler(this.ExitTrayMenu_Click); this.exitTrayMenu.Click += new System.EventHandler(this.ExitTrayMenu_Click);
// //
@ -1253,7 +1085,7 @@ public void InitializeComponent()
this.fileLockedPanel.Controls.Add(this.fileLockedLabel); this.fileLockedPanel.Controls.Add(this.fileLockedLabel);
this.fileLockedPanel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.fileLockedPanel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.fileLockedPanel.ForeColor = System.Drawing.Color.Azure; this.fileLockedPanel.ForeColor = System.Drawing.Color.Azure;
this.fileLockedPanel.Location = new System.Drawing.Point(160, 71); this.fileLockedPanel.Location = new System.Drawing.Point(116, 40);
this.fileLockedPanel.Name = "fileLockedPanel"; this.fileLockedPanel.Name = "fileLockedPanel";
this.fileLockedPanel.Size = new System.Drawing.Size(261, 91); this.fileLockedPanel.Size = new System.Drawing.Size(261, 91);
this.fileLockedPanel.TabIndex = 20; this.fileLockedPanel.TabIndex = 20;
@ -1335,8 +1167,7 @@ public void InitializeComponent()
// //
this.toolTip.AutoPopDelay = 5000; this.toolTip.AutoPopDelay = 5000;
this.toolTip.InitialDelay = 500; this.toolTip.InitialDelay = 500;
this.toolTip.ReshowDelay = 500; this.toolTip.ReshowDelay = 19000;
this.toolTip.ShowAlways = true;
// //
// richTextBoxPanel // richTextBoxPanel
// //
@ -1346,7 +1177,7 @@ public void InitializeComponent()
this.richTextBoxPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.richTextBoxPanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBoxPanel.Location = new System.Drawing.Point(0, 48); this.richTextBoxPanel.Location = new System.Drawing.Point(0, 48);
this.richTextBoxPanel.Name = "richTextBoxPanel"; this.richTextBoxPanel.Name = "richTextBoxPanel";
this.richTextBoxPanel.Size = new System.Drawing.Size(593, 270); this.richTextBoxPanel.Size = new System.Drawing.Size(504, 186);
this.richTextBoxPanel.TabIndex = 21; this.richTextBoxPanel.TabIndex = 21;
// //
// richTextBox // richTextBox
@ -1360,7 +1191,7 @@ public void InitializeComponent()
this.richTextBox.ForeColor = System.Drawing.Color.Black; this.richTextBox.ForeColor = System.Drawing.Color.Black;
this.richTextBox.Location = new System.Drawing.Point(0, 0); this.richTextBox.Location = new System.Drawing.Point(0, 0);
this.richTextBox.Name = "richTextBox"; this.richTextBox.Name = "richTextBox";
this.richTextBox.Size = new System.Drawing.Size(591, 268); this.richTextBox.Size = new System.Drawing.Size(502, 184);
this.richTextBox.TabIndex = 16; this.richTextBox.TabIndex = 16;
this.richTextBox.Text = ""; this.richTextBox.Text = "";
this.richTextBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.RichTextBox_LinkClicked); this.richTextBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.RichTextBox_LinkClicked);
@ -1374,25 +1205,12 @@ public void InitializeComponent()
this.statusPanelTimer.Interval = 1; this.statusPanelTimer.Interval = 1;
this.statusPanelTimer.Tick += new System.EventHandler(this.StatusPanelTimer_Tick); this.statusPanelTimer.Tick += new System.EventHandler(this.StatusPanelTimer_Tick);
// //
// lockTimer
//
this.lockTimer.Tick += new System.EventHandler(this.LockTimer_Tick);
//
// clipboardTimer
//
this.clipboardTimer.Interval = 50;
this.clipboardTimer.Tick += new System.EventHandler(this.ClipboardTimer_Tick);
//
// pasteBoardTimer
//
this.pasteBoardTimer.Tick += new System.EventHandler(this.PasteBoardTimer_Tick);
//
// MainForm // MainForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White; this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(593, 365); this.ClientSize = new System.Drawing.Size(504, 281);
this.Controls.Add(this.richTextBoxPanel); this.Controls.Add(this.richTextBoxPanel);
this.Controls.Add(this.searchPanel); this.Controls.Add(this.searchPanel);
this.Controls.Add(this.toolbarPanel); this.Controls.Add(this.toolbarPanel);
@ -1407,9 +1225,7 @@ public void InitializeComponent()
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Crypto Notepad"; this.Text = "Crypto Notepad";
this.Activated += new System.EventHandler(this.MainWindow_Activated); this.Activated += new System.EventHandler(this.MainWindow_Activated);
this.Deactivate += new System.EventHandler(this.MainForm_Deactivate);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainWindow_FormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainWindow_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
this.Load += new System.EventHandler(this.MainWindow_Load); this.Load += new System.EventHandler(this.MainWindow_Load);
this.Shown += new System.EventHandler(this.MainForm_Shown); this.Shown += new System.EventHandler(this.MainForm_Shown);
this.Resize += new System.EventHandler(this.MainForm_Resize); this.Resize += new System.EventHandler(this.MainForm_Resize);
@ -1420,7 +1236,9 @@ public void InitializeComponent()
this.searchPanel.PerformLayout(); this.searchPanel.PerformLayout();
this.toolbarPanel.ResumeLayout(false); this.toolbarPanel.ResumeLayout(false);
this.toolbarPanel.PerformLayout(); this.toolbarPanel.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.lockToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.newToolbarButton)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.newToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.changePasswordToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.openToolbarButton)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.openToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pasteToolbarButton)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pasteToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.saveToolbarButton)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.saveToolbarButton)).EndInit();
@ -1428,11 +1246,8 @@ public void InitializeComponent()
((System.ComponentModel.ISupportInitialize)(this.fileLocationToolbarButton)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fileLocationToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.cutToolbarButton)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cutToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.deleteFileToolbarButton)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.deleteFileToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tryToDecryptToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.changePasswordToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.lockToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.alwaysOnTopToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.settingsToolbarButton)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.settingsToolbarButton)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.alwaysOnTopToolbarButton)).EndInit();
this.statusPanel.ResumeLayout(false); this.statusPanel.ResumeLayout(false);
this.statusPanel.PerformLayout(); this.statusPanel.PerformLayout();
this.trayMenu.ResumeLayout(false); this.trayMenu.ResumeLayout(false);
@ -1525,7 +1340,7 @@ public void InitializeComponent()
protected internal System.Windows.Forms.PictureBox alwaysOnTopToolbarButton; protected internal System.Windows.Forms.PictureBox alwaysOnTopToolbarButton;
protected internal System.Windows.Forms.ToolTip toolTip; protected internal System.Windows.Forms.ToolTip toolTip;
protected internal System.Windows.Forms.ContextMenuStrip trayMenu; protected internal System.Windows.Forms.ContextMenuStrip trayMenu;
protected internal System.Windows.Forms.ToolStripMenuItem showWindowTrayMenu; protected internal System.Windows.Forms.ToolStripMenuItem showTrayMenu;
protected internal System.Windows.Forms.ToolStripMenuItem exitTrayMenu; protected internal System.Windows.Forms.ToolStripMenuItem exitTrayMenu;
protected internal System.Windows.Forms.PlaceholderTextBox fileLockedKeyTextBox; protected internal System.Windows.Forms.PlaceholderTextBox fileLockedKeyTextBox;
protected internal System.Windows.Forms.Panel richTextBoxPanel; protected internal System.Windows.Forms.Panel richTextBoxPanel;
@ -1542,22 +1357,5 @@ public void InitializeComponent()
protected internal System.Windows.Forms.PictureBox newToolbarButton; protected internal System.Windows.Forms.PictureBox newToolbarButton;
protected internal System.Windows.Forms.ToolStripMenuItem newMainMenu; protected internal System.Windows.Forms.ToolStripMenuItem newMainMenu;
protected internal System.Windows.Forms.ToolStripMenuItem fileMainMenu; protected internal System.Windows.Forms.ToolStripMenuItem fileMainMenu;
protected internal System.Windows.Forms.Timer lockTimer;
private System.Windows.Forms.ToolStripMenuItem readOnlyMainMenu;
protected internal System.Windows.Forms.ToolStripStatusLabel statusPanelReadonlyLabel;
protected internal System.Windows.Forms.ToolStripStatusLabel statusPanelWordwrapLabel;
private System.Windows.Forms.ToolStripProgressBar statusPanelClipboardProgressBar;
private System.Windows.Forms.Timer clipboardTimer;
private System.Windows.Forms.ToolStripMenuItem clearClipboardMainMenu;
private System.Windows.Forms.ToolStripMenuItem tryToDecryptMainMenu;
private System.Windows.Forms.PictureBox tryToDecryptToolbarButton;
private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripMenuItem resetWindowLocationTrayMenu;
private System.Windows.Forms.ToolStripMenuItem hideWindowTrayMenu;
private System.Windows.Forms.ToolStripMenuItem pasteBoardMainMenu;
private System.Windows.Forms.Timer pasteBoardTimer;
protected internal System.Windows.Forms.ToolStripStatusLabel statusPanelPasteboardLabel;
private System.Windows.Forms.ToolStripMenuItem insertDateTimeMainMenu;
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -130,6 +130,24 @@
<value>260, 17</value> <value>260, 17</value>
</metadata> </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="lockToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIdSURBVDhPlZPdS5NRHMd/5zkQeNtFF0H9A9aVBF12
4U10ZXCKDFaIyjaqi0HT1rTFtDfFFAdlU9LMqJVrs1Zt2laDqIYtTXMXMXvDlwoqoosw6tf5Pu4RE4N1
4MP5vX2/5zzPw0NYmzcKOllp0K16g+54JCV9sizlky7N6QIu1NDDDGahMZcltIgdkVvSrRuCn541vh2P
OT8CxKiht3wWWgq5jJV45p54Z4fObH15aq/oAIhRQ2/FLFHELZfocRjg3OzTpl+BmjXxtn2CAGLU0MNM
+LCkmwXowXFpktJE6yS17xf9rxJuDlSLoQt2vBttoOP8SD2jh1OHGyXdP7bIcgNHokGePbGHro6Gavh8
rRjsdohr/t2UQRzr2MHoRdxGUBscXM2ghT8M8MLrbv6eC/DnbCvPP/Zz7raNpxM2nk/b+FvGxj+nqlgb
tK9q8Humj39MdfLXbAvPPfLzm6SHn19XnIsqfh9X/OWh4oVx278NMqFazt6w84vIAZ6IHuKxsJNTPYrT
vYozA4ontNn0vcq/DYYbpEVbsY9w1yM740clAep3GhbBYm/Qazcu9unPCah5p2FxqdgbNFUYl5srtEZD
QgiLsFKK811lJohBV125mWO3aiFFoxoqXbf4O1gGI/xuO3O+nL1en0lysMrMsVs1zMBgSazXWs0m3za6
goY2mgS7SsUYcuxWrXAyZkLQFLRUooHf+v9Ea6jkD7YQxEPE9EcrAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>969, 17</value>
</metadata>
<data name="newToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="newToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
@ -145,9 +163,21 @@
ls8mjzluOrP5k2QAWNYAQ/B729ITVjwAAAAASUVORK5CYII= ls8mjzluOrP5k2QAWNYAQ/B729ITVjwAAAAASUVORK5CYII=
</value> </value>
</data> </data>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <data name="changePasswordToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>969, 17</value> <value>
</metadata> iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIfSURBVDhPfYxdSJNhFMfPu/VJhd4E5UVEETFyk+gq
gkUX3qjhjbVGFJaQbaBUxIoym81JgX0oY2RQ8I4JkzSdUpk4gq0ZW28vpKgwWh/gvFn2QeWqi07nyFbP
08Ue+PE85zn//w8Q8S+PLxoh0mpUnrqNZsJBePLw28w7zogdaaCl8qTFWJPwm9QFvTX9Yfo6zmtuzDxr
Sid821TecUbsSIIhl6Ei1rU9+PP9XZxQK2d6L5SMBc6vGRv3mWa+vjqH0ZtbgpwRO5IgdMpw+stsZ/bF
/cp0sAOu9F6DjQy/nwdM6U9JZ5YzYkcS3HMaun9nVAzfLtVDtyAhMuRfrf+aakbOiB1J4GtQvLm3Pbkf
b+7g95QfM8k2TEWacS7mxM9JB3576chxRuxIgs6jSnU8WKctUvmjdhWnhhsxHqjB2cH9uDBxHKM9ezTO
iB1J4LXDyvZD0BS+YY2/i7VkU+NnUH9wGCcHbdmBjvI47zgjdv4XQNtBWO4+APuI/ozmwcmRY8hv/uMd
Z8SONOQFQGEmzILp0RMsCPMf74oK8sUCD1nAN2HhPxZ4bEUEl+tA5BELXkddi/wu/NfvLSLgY98N4Kpe
oo8FfBOWs1UAm9cvReSONORPbQXASSuoLJhLXkKHFQL8VzhSRxoAFGIFse7ILgjN616ku8+6FWrpr4RY
RRikjjTQklhLlO0sA7vNDBHLBqineQexiSgllv3rIPwBd+IjYDkT9I0AAAAASUVORK5CYII=
</value>
</data>
<data name="openToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="openToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
@ -242,36 +272,6 @@
IwpvUR5KXgTlksvJSQ6azRrnFgsfGAyPEr46Itqn+s5OarbbgQ8vrShTlEtOJJQaH//GnkgwBNVardRg IwpvUR5KXgTlksvJSQ6azRrnFgsfGAyPEr46Itqn+s5OarbbgQ8vrShTlEtOJJQaH//GnkgwBNVardRg
sy1DgCqXnDkcvCsSsCd4KypC6xLexARSBqGq2mrdKOW1wnWwEywWIvxivJOMfKMXmVKWjEKToa5uobKx sy1DgCqXnDkcvCsSsCd4KypC6xLexARSBqGq2mrdKOW1wnWwEywWIvxivJOMfKMXmVKWjEKToa5uobKx
ces/oBcZIjJ+Aga8g1BwXIV5AAAAAElFTkSuQmCC ces/oBcZIjJ+Aga8g1BwXIV5AAAAAElFTkSuQmCC
</value>
</data>
<data name="changePasswordToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIfSURBVDhPfYxdSJNhFMfPu/VJhd4E5UVEETFyk+gq
gkUX3qjhjbVGFJaQbaBUxIoym81JgX0oY2RQ8I4JkzSdUpk4gq0ZW28vpKgwWh/gvFn2QeWqi07nyFbP
08Ue+PE85zn//w8Q8S+PLxoh0mpUnrqNZsJBePLw28w7zogdaaCl8qTFWJPwm9QFvTX9Yfo6zmtuzDxr
Sid821TecUbsSIIhl6Ei1rU9+PP9XZxQK2d6L5SMBc6vGRv3mWa+vjqH0ZtbgpwRO5IgdMpw+stsZ/bF
/cp0sAOu9F6DjQy/nwdM6U9JZ5YzYkcS3HMaun9nVAzfLtVDtyAhMuRfrf+aakbOiB1J4GtQvLm3Pbkf
b+7g95QfM8k2TEWacS7mxM9JB3576chxRuxIgs6jSnU8WKctUvmjdhWnhhsxHqjB2cH9uDBxHKM9ezTO
iB1J4LXDyvZD0BS+YY2/i7VkU+NnUH9wGCcHbdmBjvI47zgjdv4XQNtBWO4+APuI/ozmwcmRY8hv/uMd
Z8SONOQFQGEmzILp0RMsCPMf74oK8sUCD1nAN2HhPxZ4bEUEl+tA5BELXkddi/wu/NfvLSLgY98N4Kpe
oo8FfBOWs1UAm9cvReSONORPbQXASSuoLJhLXkKHFQL8VzhSRxoAFGIFse7ILgjN616ku8+6FWrpr4RY
RRikjjTQklhLlO0sA7vNDBHLBqineQexiSgllv3rIPwBd+IjYDkT9I0AAAAASUVORK5CYII=
</value>
</data>
<data name="lockToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIdSURBVDhPlZPdS5NRHMd/5zkQeNtFF0H9A9aVBF12
4U10ZXCKDFaIyjaqi0HT1rTFtDfFFAdlU9LMqJVrs1Zt2laDqIYtTXMXMXvDlwoqoosw6tf5Pu4RE4N1
4MP5vX2/5zzPw0NYmzcKOllp0K16g+54JCV9sizlky7N6QIu1NDDDGahMZcltIgdkVvSrRuCn541vh2P
OT8CxKiht3wWWgq5jJV45p54Z4fObH15aq/oAIhRQ2/FLFHELZfocRjg3OzTpl+BmjXxtn2CAGLU0MNM
+LCkmwXowXFpktJE6yS17xf9rxJuDlSLoQt2vBttoOP8SD2jh1OHGyXdP7bIcgNHokGePbGHro6Gavh8
rRjsdohr/t2UQRzr2MHoRdxGUBscXM2ghT8M8MLrbv6eC/DnbCvPP/Zz7raNpxM2nk/b+FvGxj+nqlgb
tK9q8Humj39MdfLXbAvPPfLzm6SHn19XnIsqfh9X/OWh4oVx278NMqFazt6w84vIAZ6IHuKxsJNTPYrT
vYozA4ontNn0vcq/DYYbpEVbsY9w1yM740clAep3GhbBYm/Qazcu9unPCah5p2FxqdgbNFUYl5srtEZD
QgiLsFKK811lJohBV125mWO3aiFFoxoqXbf4O1gGI/xuO3O+nL1en0lysMrMsVs1zMBgSazXWs0m3za6
goY2mgS7SsUYcuxWrXAyZkLQFLRUooHf+v9Ea6jkD7YQxEPE9EcrAAAAAElFTkSuQmCC
</value> </value>
</data> </data>
<data name="settingsToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="settingsToolbarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@ -6473,15 +6473,6 @@
<metadata name="statusPanelTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="statusPanelTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>389, 17</value> <value>389, 17</value>
</metadata> </metadata>
<metadata name="lockTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1059, 17</value>
</metadata>
<metadata name="clipboardTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 56</value>
</metadata>
<metadata name="pasteBoardTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>151, 56</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>99</value> <value>99</value>
</metadata> </metadata>

View file

@ -36,18 +36,16 @@ private void InitializeComponent()
this.lowercaseCheckBox = new System.Windows.Forms.CheckBox(); this.lowercaseCheckBox = new System.Windows.Forms.CheckBox();
this.uppercaseCheckBox = new System.Windows.Forms.CheckBox(); this.uppercaseCheckBox = new System.Windows.Forms.CheckBox();
this.numericCheckBox = new System.Windows.Forms.CheckBox(); this.numericCheckBox = new System.Windows.Forms.CheckBox();
this.specialCheckBox = new System.Windows.Forms.CheckBox();
this.passwordLengthLabel = new System.Windows.Forms.Label(); this.passwordLengthLabel = new System.Windows.Forms.Label();
this.numberOfStringsLabel = new System.Windows.Forms.Label(); this.numberOfStringsLabel = new System.Windows.Forms.Label();
this.passwordLengthTextBox = new System.Windows.Forms.TextBox(); this.passwordLengthTextBox = new System.Windows.Forms.TextBox();
this.numberOfStringsTextBox = new System.Windows.Forms.TextBox(); this.numberOfStringsTextBox = new System.Windows.Forms.TextBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.copyAllButton = new System.Windows.Forms.Button(); this.copyAllButton = new System.Windows.Forms.Button();
this.copyLastButton = new System.Windows.Forms.Button(); this.copyLastButton = new System.Windows.Forms.Button();
this.passwordGeneratorToolTip = new System.Windows.Forms.ToolTip(this.components); this.passwordGeneratorToolTip = new System.Windows.Forms.ToolTip(this.components);
this.specialCheckBox = new System.Windows.Forms.CheckBox(); this.groupBox1.SuspendLayout();
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(); this.SuspendLayout();
// //
// generateButton // generateButton
@ -63,7 +61,7 @@ private void InitializeComponent()
// //
// passwordsListTextBox // passwordsListTextBox
// //
this.passwordsListTextBox.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.passwordsListTextBox.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.passwordsListTextBox.Location = new System.Drawing.Point(9, 161); this.passwordsListTextBox.Location = new System.Drawing.Point(9, 161);
this.passwordsListTextBox.Multiline = true; this.passwordsListTextBox.Multiline = true;
this.passwordsListTextBox.Name = "passwordsListTextBox"; this.passwordsListTextBox.Name = "passwordsListTextBox";
@ -77,7 +75,7 @@ private void InitializeComponent()
// clearPasswordsListButton // clearPasswordsListButton
// //
this.clearPasswordsListButton.AutoSize = true; this.clearPasswordsListButton.AutoSize = true;
this.clearPasswordsListButton.Location = new System.Drawing.Point(81, 132); this.clearPasswordsListButton.Location = new System.Drawing.Point(227, 132);
this.clearPasswordsListButton.Name = "clearPasswordsListButton"; this.clearPasswordsListButton.Name = "clearPasswordsListButton";
this.clearPasswordsListButton.Size = new System.Drawing.Size(66, 23); this.clearPasswordsListButton.Size = new System.Drawing.Size(66, 23);
this.clearPasswordsListButton.TabIndex = 4; this.clearPasswordsListButton.TabIndex = 4;
@ -90,7 +88,7 @@ private void InitializeComponent()
this.lowercaseCheckBox.AutoSize = true; this.lowercaseCheckBox.AutoSize = true;
this.lowercaseCheckBox.Checked = true; this.lowercaseCheckBox.Checked = true;
this.lowercaseCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; this.lowercaseCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.lowercaseCheckBox.Location = new System.Drawing.Point(55, 21); this.lowercaseCheckBox.Location = new System.Drawing.Point(12, 30);
this.lowercaseCheckBox.Name = "lowercaseCheckBox"; this.lowercaseCheckBox.Name = "lowercaseCheckBox";
this.lowercaseCheckBox.Size = new System.Drawing.Size(41, 17); this.lowercaseCheckBox.Size = new System.Drawing.Size(41, 17);
this.lowercaseCheckBox.TabIndex = 7; this.lowercaseCheckBox.TabIndex = 7;
@ -104,7 +102,7 @@ private void InitializeComponent()
this.uppercaseCheckBox.AutoSize = true; this.uppercaseCheckBox.AutoSize = true;
this.uppercaseCheckBox.Checked = true; this.uppercaseCheckBox.Checked = true;
this.uppercaseCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; this.uppercaseCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.uppercaseCheckBox.Location = new System.Drawing.Point(6, 21); this.uppercaseCheckBox.Location = new System.Drawing.Point(59, 30);
this.uppercaseCheckBox.Name = "uppercaseCheckBox"; this.uppercaseCheckBox.Name = "uppercaseCheckBox";
this.uppercaseCheckBox.Size = new System.Drawing.Size(43, 17); this.uppercaseCheckBox.Size = new System.Drawing.Size(43, 17);
this.uppercaseCheckBox.TabIndex = 8; this.uppercaseCheckBox.TabIndex = 8;
@ -118,7 +116,7 @@ private void InitializeComponent()
this.numericCheckBox.AutoSize = true; this.numericCheckBox.AutoSize = true;
this.numericCheckBox.Checked = true; this.numericCheckBox.Checked = true;
this.numericCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; this.numericCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.numericCheckBox.Location = new System.Drawing.Point(102, 21); this.numericCheckBox.Location = new System.Drawing.Point(108, 30);
this.numericCheckBox.Name = "numericCheckBox"; this.numericCheckBox.Name = "numericCheckBox";
this.numericCheckBox.Size = new System.Drawing.Size(42, 17); this.numericCheckBox.Size = new System.Drawing.Size(42, 17);
this.numericCheckBox.TabIndex = 9; this.numericCheckBox.TabIndex = 9;
@ -127,6 +125,20 @@ private void InitializeComponent()
this.numericCheckBox.CheckedChanged += new System.EventHandler(this.PasswordValidation); this.numericCheckBox.CheckedChanged += new System.EventHandler(this.PasswordValidation);
this.numericCheckBox.Click += new System.EventHandler(this.NumericCheckBox_Click); this.numericCheckBox.Click += new System.EventHandler(this.NumericCheckBox_Click);
// //
// specialCheckBox
//
this.specialCheckBox.AutoSize = true;
this.specialCheckBox.Checked = true;
this.specialCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.specialCheckBox.Location = new System.Drawing.Point(156, 30);
this.specialCheckBox.Name = "specialCheckBox";
this.specialCheckBox.Size = new System.Drawing.Size(117, 17);
this.specialCheckBox.TabIndex = 10;
this.specialCheckBox.Text = "Special characters";
this.specialCheckBox.UseVisualStyleBackColor = true;
this.specialCheckBox.CheckedChanged += new System.EventHandler(this.PasswordValidation);
this.specialCheckBox.Click += new System.EventHandler(this.SpecialCheckBox_Click);
//
// passwordLengthLabel // passwordLengthLabel
// //
this.passwordLengthLabel.AutoSize = true; this.passwordLengthLabel.AutoSize = true;
@ -134,7 +146,7 @@ private void InitializeComponent()
this.passwordLengthLabel.Name = "passwordLengthLabel"; this.passwordLengthLabel.Name = "passwordLengthLabel";
this.passwordLengthLabel.Size = new System.Drawing.Size(130, 13); this.passwordLengthLabel.Size = new System.Drawing.Size(130, 13);
this.passwordLengthLabel.TabIndex = 8; this.passwordLengthLabel.TabIndex = 8;
this.passwordLengthLabel.Text = "Password length [4-256]"; this.passwordLengthLabel.Text = "Password length [8-128]";
// //
// numberOfStringsLabel // numberOfStringsLabel
// //
@ -165,10 +177,23 @@ private void InitializeComponent()
this.numberOfStringsTextBox.TextChanged += new System.EventHandler(this.PasswordValidation); this.numberOfStringsTextBox.TextChanged += new System.EventHandler(this.PasswordValidation);
this.numberOfStringsTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.PasswordLengthTextBox_KeyPress); this.numberOfStringsTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.PasswordLengthTextBox_KeyPress);
// //
// groupBox1
//
this.groupBox1.Controls.Add(this.specialCheckBox);
this.groupBox1.Controls.Add(this.lowercaseCheckBox);
this.groupBox1.Controls.Add(this.uppercaseCheckBox);
this.groupBox1.Controls.Add(this.numericCheckBox);
this.groupBox1.Location = new System.Drawing.Point(9, 62);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(282, 64);
this.groupBox1.TabIndex = 11;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Use characters";
//
// copyAllButton // copyAllButton
// //
this.copyAllButton.AutoSize = true; this.copyAllButton.AutoSize = true;
this.copyAllButton.Location = new System.Drawing.Point(225, 132); this.copyAllButton.Location = new System.Drawing.Point(153, 132);
this.copyAllButton.Name = "copyAllButton"; this.copyAllButton.Name = "copyAllButton";
this.copyAllButton.Size = new System.Drawing.Size(66, 23); this.copyAllButton.Size = new System.Drawing.Size(66, 23);
this.copyAllButton.TabIndex = 3; this.copyAllButton.TabIndex = 3;
@ -180,7 +205,7 @@ private void InitializeComponent()
// copyLastButton // copyLastButton
// //
this.copyLastButton.AutoSize = true; this.copyLastButton.AutoSize = true;
this.copyLastButton.Location = new System.Drawing.Point(153, 132); this.copyLastButton.Location = new System.Drawing.Point(81, 132);
this.copyLastButton.Name = "copyLastButton"; this.copyLastButton.Name = "copyLastButton";
this.copyLastButton.Size = new System.Drawing.Size(66, 23); this.copyLastButton.Size = new System.Drawing.Size(66, 23);
this.copyLastButton.TabIndex = 2; this.copyLastButton.TabIndex = 2;
@ -195,71 +220,14 @@ private void InitializeComponent()
this.passwordGeneratorToolTip.InitialDelay = 1; this.passwordGeneratorToolTip.InitialDelay = 1;
this.passwordGeneratorToolTip.ReshowDelay = 100; 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 // PasswordGeneratorFrom
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(298, 344); this.ClientSize = new System.Drawing.Size(300, 344);
this.Controls.Add(this.specialGroupBox);
this.Controls.Add(this.copyLastButton); this.Controls.Add(this.copyLastButton);
this.Controls.Add(this.copyAllButton); this.Controls.Add(this.copyAllButton);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.numberOfStringsTextBox); this.Controls.Add(this.numberOfStringsTextBox);
this.Controls.Add(this.passwordLengthTextBox); this.Controls.Add(this.passwordLengthTextBox);
this.Controls.Add(this.numberOfStringsLabel); this.Controls.Add(this.numberOfStringsLabel);
@ -267,7 +235,7 @@ private void InitializeComponent()
this.Controls.Add(this.clearPasswordsListButton); this.Controls.Add(this.clearPasswordsListButton);
this.Controls.Add(this.passwordsListTextBox); this.Controls.Add(this.passwordsListTextBox);
this.Controls.Add(this.generateButton); this.Controls.Add(this.generateButton);
this.Font = new System.Drawing.Font("Segoe UI", 8.25F); 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.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false; this.MaximizeBox = false;
@ -277,8 +245,8 @@ private void InitializeComponent()
this.Deactivate += new System.EventHandler(this.PasswordGeneratorFrom_Deactivate); this.Deactivate += new System.EventHandler(this.PasswordGeneratorFrom_Deactivate);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PasswordGeneratorFrom_FormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PasswordGeneratorFrom_FormClosing);
this.Load += new System.EventHandler(this.PasswordGeneratorFrom_Load); this.Load += new System.EventHandler(this.PasswordGeneratorFrom_Load);
this.specialGroupBox.ResumeLayout(false); this.groupBox1.ResumeLayout(false);
this.specialGroupBox.PerformLayout(); this.groupBox1.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@ -292,16 +260,14 @@ private void InitializeComponent()
private System.Windows.Forms.CheckBox lowercaseCheckBox; private System.Windows.Forms.CheckBox lowercaseCheckBox;
private System.Windows.Forms.CheckBox uppercaseCheckBox; private System.Windows.Forms.CheckBox uppercaseCheckBox;
private System.Windows.Forms.CheckBox numericCheckBox; private System.Windows.Forms.CheckBox numericCheckBox;
private System.Windows.Forms.CheckBox specialCheckBox;
private System.Windows.Forms.Label passwordLengthLabel; private System.Windows.Forms.Label passwordLengthLabel;
private System.Windows.Forms.Label numberOfStringsLabel; private System.Windows.Forms.Label numberOfStringsLabel;
private System.Windows.Forms.TextBox passwordLengthTextBox; private System.Windows.Forms.TextBox passwordLengthTextBox;
private System.Windows.Forms.TextBox numberOfStringsTextBox; private System.Windows.Forms.TextBox numberOfStringsTextBox;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Button copyAllButton; private System.Windows.Forms.Button copyAllButton;
private System.Windows.Forms.Button copyLastButton; private System.Windows.Forms.Button copyLastButton;
private System.Windows.Forms.ToolTip passwordGeneratorToolTip; 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

@ -18,48 +18,12 @@ public PasswordGeneratorFrom()
#region Methods #region Methods
private IEnumerable<string> GeneratePasswordGroup() private IEnumerable<string> GeneratePasswordGroup()
{ {
IPassword pwd; var pwd = new Password(
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, includeLowercase: lowercaseCheckBox.Checked,
includeUppercase: uppercaseCheckBox.Checked, includeUppercase: uppercaseCheckBox.Checked,
includeNumeric: numericCheckBox.Checked, includeNumeric: numericCheckBox.Checked,
includeSpecial: false, includeSpecial: specialCheckBox.Checked,
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)); passwordLength: int.Parse(passwordLengthTextBox.Text));
}
return pwd.NextGroup(Convert.ToInt32(numberOfStringsTextBox.Text)); return pwd.NextGroup(Convert.ToInt32(numberOfStringsTextBox.Text));
} }
#endregion #endregion
@ -91,8 +55,6 @@ private void PasswordGeneratorFrom_Load(object sender, EventArgs e)
uppercaseCheckBox.Checked = settings.passwordGeneratorUppercase; uppercaseCheckBox.Checked = settings.passwordGeneratorUppercase;
numericCheckBox.Checked = settings.passwordGeneratorNumeric; numericCheckBox.Checked = settings.passwordGeneratorNumeric;
specialCheckBox.Checked = settings.passwordGeneratorSpecial; specialCheckBox.Checked = settings.passwordGeneratorSpecial;
bracketsCheckBox.Checked = settings.passwordGeneratorBrackets;
additionalCheckBox.Checked = settings.passwordGeneratorAdditional;
passwordLengthTextBox.Text = settings.passwordGeneratorLength; passwordLengthTextBox.Text = settings.passwordGeneratorLength;
numberOfStringsTextBox.Text = settings.passwordGeneratorNumberOfStrings; numberOfStringsTextBox.Text = settings.passwordGeneratorNumberOfStrings;
passwordsListTextBox.Text = string.Join(Environment.NewLine, GeneratePasswordGroup().ToArray()); passwordsListTextBox.Text = string.Join(Environment.NewLine, GeneratePasswordGroup().ToArray());
@ -131,7 +93,7 @@ private void PasswordGeneratorFrom_FormClosing(object sender, FormClosingEventAr
} }
try try
{ {
if (Enumerable.Range(4, 256).Contains(int.Parse(passwordLengthTextBox.Text))) if (Enumerable.Range(8, 128).Contains(int.Parse(passwordLengthTextBox.Text)))
{ {
settings.passwordGeneratorLength = passwordLengthTextBox.Text; settings.passwordGeneratorLength = passwordLengthTextBox.Text;
} }
@ -151,13 +113,11 @@ private void PasswordValidation(object sender, EventArgs e)
try try
{ {
if (!Enumerable.Range(1, 1000).Contains(int.Parse(numberOfStringsTextBox.Text)) | if (!Enumerable.Range(1, 1000).Contains(int.Parse(numberOfStringsTextBox.Text)) |
!Enumerable.Range(4, 256).Contains(int.Parse(passwordLengthTextBox.Text)) | !Enumerable.Range(8, 128).Contains(int.Parse(passwordLengthTextBox.Text)) |
!lowercaseCheckBox.Checked & !lowercaseCheckBox.Checked &
!uppercaseCheckBox.Checked & !uppercaseCheckBox.Checked &
!numericCheckBox.Checked & !numericCheckBox.Checked &
!specialCheckBox.Checked & !specialCheckBox.Checked |
!additionalCheckBox.Checked &
!bracketsCheckBox.Checked |
string.IsNullOrWhiteSpace(numberOfStringsTextBox.Text.Trim('0'))) string.IsNullOrWhiteSpace(numberOfStringsTextBox.Text.Trim('0')))
{ {
generateButton.Enabled = false; generateButton.Enabled = false;
@ -202,13 +162,11 @@ private void PasswordsListTextBox_TextChanged(object sender, EventArgs e)
private void CopyLastButton_MouseEnter(object sender, EventArgs e) private void CopyLastButton_MouseEnter(object sender, EventArgs e)
{ {
passwordGeneratorToolTip.AutoPopDelay = 1000;
passwordGeneratorToolTip.SetToolTip(copyLastButton, null); passwordGeneratorToolTip.SetToolTip(copyLastButton, null);
} }
private void CopyAllButton_MouseEnter(object sender, EventArgs e) private void CopyAllButton_MouseEnter(object sender, EventArgs e)
{ {
passwordGeneratorToolTip.AutoPopDelay = 1000;
passwordGeneratorToolTip.SetToolTip(copyAllButton, null); passwordGeneratorToolTip.SetToolTip(copyAllButton, null);
} }
@ -216,24 +174,8 @@ private void PasswordGeneratorFrom_Deactivate(object sender, EventArgs e)
{ {
PasswordGeneratorFrom_FormClosing(null, null); PasswordGeneratorFrom_FormClosing(null, null);
} }
#endregion #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();
}
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,8 @@
using System; using IWshRuntimeLibrary;
using Microsoft.Win32;
using System;
using System.Drawing; using System.Drawing;
using System.IO;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.Windows.Forms; using System.Windows.Forms;
@ -18,36 +21,26 @@ public SettingsForm()
#region Methods #region Methods
private void LoadSettings() private void LoadSettings()
{ {
editorFontColor.BackColor = settings.editorForeColor; editorFontColor.BackColor = settings.editroForeColor;
editorBackColor.BackColor = settings.editorBackColor; editorBackColor.BackColor = settings.editorBackColor;
editorInsertKeyComboBox.Text = settings.insertKey; editorInsertKeyComboBox.Text = settings.insertKey;
if (settings.clipboardClearTime != "")
{
clearClipboardTextBox.Text = settings.clipboardClearTime.Remove(settings.clipboardClearTime.Length - 1);
}
editorPaddingLeftTextBox.Text = settings.editorPaddingLeft; editorPaddingLeftTextBox.Text = settings.editorPaddingLeft;
editorOpenLinksWithComboBox.Text = settings.openLinks; editorOpenLinksWithComboBox.Text = settings.openLinks;
editorBorderComboBox.Text = settings.editorBorder; editorBorderComboBox.Text = settings.editorBorder;
fontDialog.Font = settings.editorFont; fontDialog.Font = settings.editorFont;
editorFontLabel.Text = settings.editorFont.Name.ToString() + " " + settings.editorFont.Size.ToString();
lockTimeoutTextBox.Text = settings.lockTimeout;
autoLockOnMinimizeCheckBox.Checked = settings.autoLock; autoLockOnMinimizeCheckBox.Checked = settings.autoLock;
autoCheckUpdatesCheckBox.Checked = settings.autoCheckUpdate; autoCheckUpdatesCheckBox.Checked = settings.autoCheckUpdate;
mainMenuCheckBox.Checked = settings.mainMenuVisible; mainMenuCheckBox.Checked = settings.mainMenuVisible;
menuIconsCheckBox.Checked = settings.menuIcons; menuIconsCheckBox.Checked = settings.menuIcons;
shortcutKeysCheckBox.Checked = settings.shortcutKeys;
minimizeToTrayCheckBox.Checked = settings.minimizeToTray; minimizeToTrayCheckBox.Checked = settings.minimizeToTray;
closeToTrayCheckBox.Checked = settings.closeToTray; closeToTrayCheckBox.Checked = settings.closeToTray;
singleInstanceCheckBox.Checked = settings.singleInstance; singleInstanceCheckBox.Checked = settings.singleInstance;
clearClipboardCheckBox.Checked = settings.clearClipboardAtClose;
trayMenuCheckBox.Checked = settings.trayMenu;
integrateCheckBox.Checked = settings.explorerIntegrate; integrateCheckBox.Checked = settings.explorerIntegrate;
associateCheckBox.Checked = settings.explorerAssociate; associateCheckBox.Checked = settings.explorerAssociate;
sendToCheckBox.Checked = settings.explorerSendTo; sendToCheckBox.Checked = settings.explorerSendTo;
hashAlgorithmComboBox.Text = settings.HashAlgorithm; hashAlgorithmComboBox.Text = settings.HashAlgorithm;
keySizeComboBox.Text = settings.KeySize; keySizeComboBox.Text = settings.KeySize;
passwordIterationsTextBox.Text = settings.PasswordIterations; passwordIterationsTextBox.Text = settings.PasswordIterations;
openTxtUnencryptedCheckBox.Checked = settings.openTxtUnencrypted;
searchBackColor.BackColor = settings.searchPanelBackColor; searchBackColor.BackColor = settings.searchPanelBackColor;
searchFontColor.BackColor = settings.searchPanelForeColor; searchFontColor.BackColor = settings.searchPanelForeColor;
searchBorderComboBox.Text = settings.searchPanelBorder; searchBorderComboBox.Text = settings.searchPanelBorder;
@ -63,12 +56,9 @@ private void LoadSettings()
statusPanelLinesCheckBox.Checked = settings.statusPanelLines; statusPanelLinesCheckBox.Checked = settings.statusPanelLines;
statusPanelModifiedCheckBox.Checked = settings.statusPanelModified; statusPanelModifiedCheckBox.Checked = settings.statusPanelModified;
statusPanelSizeCheckBox.Checked = settings.statusPanelSize; statusPanelSizeCheckBox.Checked = settings.statusPanelSize;
statusPanelReadonlyCheckBox.Checked = settings.statusPanelReadonly; statusPanelLabelsGroupBox.Visible = settings.statusPanelVisible;
statusPanelWordwrapCheckBox.Checked = settings.statusPanelWordWrap;
statusPanelPasteboardCheckBox.Checked = settings.statusPanelPasteboard;
statusPanelClipboardCheckBox.Checked = settings.statusPanelClipboard;
encryptionHintLabel.Visible = settings.encryptionHint; encryptionHintLabel.Visible = settings.encryptionHint;
} }
#endregion #endregion
@ -123,14 +113,6 @@ private void PasswordIterationsTextBox_KeyPress(object sender, KeyPressEventArgs
e.Handled = true; e.Handled = true;
} }
} }
private void LockTimeoutTextBox_KeyPress(object sender, KeyPressEventArgs e)
{
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar))
{
e.Handled = true;
}
}
#endregion #endregion
@ -153,7 +135,7 @@ private void EditorFontColor_Click(object sender, EventArgs e)
MainForm main = Owner as MainForm; MainForm main = Owner as MainForm;
main.richTextBox.ForeColor = colorDialog.Color; main.richTextBox.ForeColor = colorDialog.Color;
main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0); main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0);
settings.editorForeColor = colorDialog.Color; settings.editroForeColor = colorDialog.Color;
editorFontColor.BackColor = colorDialog.Color; editorFontColor.BackColor = colorDialog.Color;
} }
} }
@ -179,18 +161,27 @@ private void SettingsNavigation_Click(object sender, EventArgs e)
switch (settingsNavigation.SelectedIndex) switch (settingsNavigation.SelectedIndex)
{ {
case 0: case 0:
settingsTabControl.SelectedTab = generalTabPage; settingsTabControl.SelectedTab = applicationTabPage;
break; break;
case 1: case 1:
settingsTabControl.SelectedTab = interfaceTabPage; settingsTabControl.SelectedTab = toolbarTabPage;
break; break;
case 2: case 2:
settingsTabControl.SelectedTab = editorTabPage; settingsTabControl.SelectedTab = statusPanelTabPage;
break; break;
case 3: case 3:
settingsTabControl.SelectedTab = searchPanelTabPage;
break;
case 4:
settingsTabControl.SelectedTab = editorTabPage;
break;
case 5:
settingsTabControl.SelectedTab = encryptionTabPage; settingsTabControl.SelectedTab = encryptionTabPage;
break; break;
} case 6:
settingsTabControl.SelectedTab = integrationTabPage;
break;
}
} }
private void SettingsTabControl_SelectedIndexChanged(object sender, EventArgs e) private void SettingsTabControl_SelectedIndexChanged(object sender, EventArgs e)
@ -203,7 +194,7 @@ private void ToolbarVisibleCheckBox_Click(object sender, EventArgs e)
MainForm main = Owner as MainForm; MainForm main = Owner as MainForm;
main.toolbarPanel.Visible = toolbarVisibleCheckBox.Checked; main.toolbarPanel.Visible = toolbarVisibleCheckBox.Checked;
main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0); main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0);
settings.toolbarVisible = toolbarVisibleCheckBox.Checked; settings.toolbarVisible= toolbarVisibleCheckBox.Checked;
} }
private void AssociateCheckBox_Click(object sender, EventArgs e) private void AssociateCheckBox_Click(object sender, EventArgs e)
@ -243,21 +234,7 @@ private void EditorPaddingLeftTextBox_TextChanged(object sender, EventArgs e)
main.richTextBox.Refresh(); main.richTextBox.Refresh();
settings.editorPaddingLeft = editorPaddingLeftTextBox.Text; 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) private void SendToCheckBox_Click(object sender, EventArgs e)
@ -298,10 +275,10 @@ private void MenuIconsCheckBox_Click(object sender, EventArgs e)
{ {
MainForm main = Owner as MainForm; MainForm main = Owner as MainForm;
settings.menuIcons = menuIconsCheckBox.Checked; settings.menuIcons = menuIconsCheckBox.Checked;
main.MenuIcons(settings.menuIcons); main.MenuIcons(settings.menuIcons);
} }
private void EditorFontLabel_Click(object sender, EventArgs e) private void EditorFontButton_Click(object sender, EventArgs e)
{ {
using (new CenterWinDialog(this)) using (new CenterWinDialog(this))
{ {
@ -311,7 +288,6 @@ private void EditorFontLabel_Click(object sender, EventArgs e)
main.richTextBox.Font = fontDialog.Font; main.richTextBox.Font = fontDialog.Font;
main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0); main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0);
settings.editorFont = fontDialog.Font; settings.editorFont = fontDialog.Font;
editorFontLabel.Text = settings.editorFont.Name.ToString() + " " + settings.editorFont.Size.ToString();
} }
} }
} }
@ -342,9 +318,11 @@ private void FontDialog_Apply(object sender, EventArgs e)
private void StatusPanelVisibleCheckBox_Click(object sender, EventArgs e) private void StatusPanelVisibleCheckBox_Click(object sender, EventArgs e)
{ {
statusPanelLabelsGroupBox.Visible = statusPanelVisibleCheckBox.Checked;
Application.DoEvents(); Application.DoEvents();
MainForm main = Owner as MainForm; MainForm main = Owner as MainForm;
main.statusPanel.Visible = statusPanelVisibleCheckBox.Checked; main.statusPanel.Visible = statusPanelVisibleCheckBox.Checked;
//main.richTextBox.SetInnerMargins(Convert.ToInt32(editorPaddingLeftTextBox.Text), 0, 0, 0);
settings.statusPanelVisible = statusPanelVisibleCheckBox.Checked; settings.statusPanelVisible = statusPanelVisibleCheckBox.Checked;
} }
@ -392,8 +370,8 @@ private void ToolbarBackColor_Click(object sender, EventArgs e)
toolbarBackColor.BackColor = colorDialog.Color; toolbarBackColor.BackColor = colorDialog.Color;
} }
} }
} }
private void ToolbarBorderCheckBox_Click(object sender, EventArgs e) private void ToolbarBorderCheckBox_Click(object sender, EventArgs e)
{ {
MainForm main = Owner as MainForm; MainForm main = Owner as MainForm;
@ -489,13 +467,12 @@ private void PasswordIterationsTextBox_TextChanged(object sender, EventArgs e)
{ {
settings.PasswordIterations = passwordIterationsTextBox.Text; settings.PasswordIterations = passwordIterationsTextBox.Text;
} }
} }
private void MinimizeToTrayCheckBox_Click(object sender, EventArgs e) private void MinimizeToTrayCheckBox_Click(object sender, EventArgs e)
{ {
MainForm main = Owner as MainForm; MainForm main = Owner as MainForm;
if (closeToTrayCheckBox.Checked == false & minimizeToTrayCheckBox.Checked == false & trayMenuCheckBox.Checked == false) if (closeToTrayCheckBox.Checked == false & minimizeToTrayCheckBox.Checked == false)
{ {
main.trayIcon.Visible = false; main.trayIcon.Visible = false;
} }
@ -509,7 +486,7 @@ private void MinimizeToTrayCheckBox_Click(object sender, EventArgs e)
private void CloseToTrayCheckBox_Click(object sender, EventArgs e) private void CloseToTrayCheckBox_Click(object sender, EventArgs e)
{ {
MainForm main = Owner as MainForm; MainForm main = Owner as MainForm;
if (closeToTrayCheckBox.Checked == false & minimizeToTrayCheckBox.Checked == false & trayMenuCheckBox.Checked == false) if (closeToTrayCheckBox.Checked == false & minimizeToTrayCheckBox.Checked ==false )
{ {
main.trayIcon.Visible = false; main.trayIcon.Visible = false;
} }
@ -577,81 +554,8 @@ private void StatusPanelSizeCheckBox_Click(object sender, EventArgs e)
settings.statusPanelSize = statusPanelSizeCheckBox.Checked; settings.statusPanelSize = statusPanelSizeCheckBox.Checked;
main.StatusPanelFileInfo(); main.StatusPanelFileInfo();
} }
#endregion #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;
}
} }
} }

View file

@ -120,17 +120,17 @@
<metadata name="colorDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="colorDialog.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="settingsToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>240, 17</value>
</metadata>
<data name="encryptionHintLabel.Text" xml:space="preserve"> <data name="encryptionHintLabel.Text" xml:space="preserve">
<value>For the best balance of performance &amp;&amp; security is recommended to use SHA512 Hash / 256 Key size / above 2000000 Password iterations. But caution, if you change this parameters you will not able to decrypt previously encrypted files with old parameters.</value> <value>For the best balance of performance &amp;&amp; security is recommended to use SHA512 Hash / 256 Key size / above 2000000 Password iterations. But caution, if you change this parameters you will not able to decrypt previously encrypted files with old parameters.</value>
</data> </data>
<metadata name="settingsToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>240, 17</value>
</metadata>
<metadata name="fontDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="fontDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>131, 17</value> <value>131, 17</value>
</metadata> </metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>74</value> <value>76</value>
</metadata> </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="$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">

View file

@ -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.7.3.0")] [assembly: AssemblyFileVersion("1.6.4.0")]

View file

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // Этот код создан программой.
// Runtime Version:4.0.30319.42000 // Исполняемая версия: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>
// This class was auto-generated by the StronglyTypedResourceBuilder // Этот класс создан автоматически классом StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio. // с помощью такого средства, как ResGen или Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen // Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
// with the /str option, or rebuild your VS project. // с параметром /str или перестройте свой проект VS.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.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>
/// Returns the cached ResourceManager instance used by this class. /// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
/// </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>
/// Overrides the current thread's CurrentUICulture property for all /// Перезаписывает свойство CurrentUICulture текущего потока для всех
/// 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,17 +61,7 @@ internal Resources() {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap application {
get {
object obj = ResourceManager.GetObject("application", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap application_blue { internal static System.Drawing.Bitmap application_blue {
get { get {
@ -81,17 +71,7 @@ internal static System.Drawing.Bitmap application_blue {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap application_dock_180 {
get {
object obj = ResourceManager.GetObject("application-dock-180", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap applications_blue { internal static System.Drawing.Bitmap applications_blue {
get { get {
@ -101,7 +81,7 @@ internal static System.Drawing.Bitmap applications_blue {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap arrow_left { internal static System.Drawing.Bitmap arrow_left {
get { get {
@ -111,7 +91,7 @@ internal static System.Drawing.Bitmap arrow_left {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap arrow_right { internal static System.Drawing.Bitmap arrow_right {
get { get {
@ -121,7 +101,7 @@ internal static System.Drawing.Bitmap arrow_right {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap big_lock { internal static System.Drawing.Bitmap big_lock {
get { get {
@ -131,7 +111,7 @@ internal static System.Drawing.Bitmap big_lock {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap clipboard { internal static System.Drawing.Bitmap clipboard {
get { get {
@ -141,37 +121,7 @@ internal static System.Drawing.Bitmap clipboard {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа 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> /// </summary>
internal static System.Drawing.Bitmap cross_button { internal static System.Drawing.Bitmap cross_button {
get { get {
@ -181,17 +131,17 @@ internal static System.Drawing.Bitmap cross_button {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap disk_minus { internal static System.Drawing.Bitmap disk__minus {
get { get {
object obj = ResourceManager.GetObject("disk_minus", resourceCulture); object obj = ResourceManager.GetObject("disk__minus", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap disk_return_black { internal static System.Drawing.Bitmap disk_return_black {
get { get {
@ -201,7 +151,7 @@ internal static System.Drawing.Bitmap disk_return_black {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap disks_black { internal static System.Drawing.Bitmap disks_black {
get { get {
@ -211,7 +161,7 @@ internal static System.Drawing.Bitmap disks_black {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap document { internal static System.Drawing.Bitmap document {
get { get {
@ -221,7 +171,7 @@ internal static System.Drawing.Bitmap document {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap document_copy { internal static System.Drawing.Bitmap document_copy {
get { get {
@ -231,7 +181,7 @@ internal static System.Drawing.Bitmap document_copy {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap document_minus { internal static System.Drawing.Bitmap document_minus {
get { get {
@ -241,17 +191,7 @@ internal static System.Drawing.Bitmap document_minus {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа 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> /// </summary>
internal static System.Drawing.Bitmap document_plus { internal static System.Drawing.Bitmap document_plus {
get { get {
@ -261,7 +201,7 @@ internal static System.Drawing.Bitmap document_plus {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap document_text { internal static System.Drawing.Bitmap document_text {
get { get {
@ -271,7 +211,7 @@ internal static System.Drawing.Bitmap document_text {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap eye { internal static System.Drawing.Bitmap eye {
get { get {
@ -281,7 +221,7 @@ internal static System.Drawing.Bitmap eye {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap eye_half { internal static System.Drawing.Bitmap eye_half {
get { get {
@ -291,7 +231,7 @@ internal static System.Drawing.Bitmap eye_half {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap folder_horizontal { internal static System.Drawing.Bitmap folder_horizontal {
get { get {
@ -301,7 +241,7 @@ internal static System.Drawing.Bitmap folder_horizontal {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap folder_open_document { internal static System.Drawing.Bitmap folder_open_document {
get { get {
@ -311,7 +251,7 @@ internal static System.Drawing.Bitmap folder_open_document {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap gear { internal static System.Drawing.Bitmap gear {
get { get {
@ -321,7 +261,7 @@ internal static System.Drawing.Bitmap gear {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap gnupg_keys { internal static System.Drawing.Bitmap gnupg_keys {
get { get {
@ -331,7 +271,7 @@ internal static System.Drawing.Bitmap gnupg_keys {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap information { internal static System.Drawing.Bitmap information {
get { get {
@ -341,7 +281,7 @@ internal static System.Drawing.Bitmap information {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap key { internal static System.Drawing.Bitmap key {
get { get {
@ -351,7 +291,7 @@ internal static System.Drawing.Bitmap key {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap key_plus { internal static System.Drawing.Bitmap key_plus {
get { get {
@ -361,7 +301,7 @@ internal static System.Drawing.Bitmap key_plus {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap key_solid { internal static System.Drawing.Bitmap key_solid {
get { get {
@ -371,17 +311,7 @@ internal static System.Drawing.Bitmap key_solid {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap lock_pencil {
get {
object obj = ResourceManager.GetObject("lock_pencil", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap lock_warning { internal static System.Drawing.Bitmap lock_warning {
get { get {
@ -391,7 +321,7 @@ internal static System.Drawing.Bitmap lock_warning {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap magnifier { internal static System.Drawing.Bitmap magnifier {
get { get {
@ -401,7 +331,7 @@ internal static System.Drawing.Bitmap magnifier {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap minus { internal static System.Drawing.Bitmap minus {
get { get {
@ -411,7 +341,7 @@ internal static System.Drawing.Bitmap minus {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap notepad_lock { internal static System.Drawing.Bitmap notepad_lock {
get { get {
@ -421,7 +351,7 @@ internal static System.Drawing.Bitmap notepad_lock {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_application_double { internal static System.Drawing.Bitmap old_application_double {
get { get {
@ -431,17 +361,7 @@ internal static System.Drawing.Bitmap old_application_double {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap old_clock_add {
get {
object obj = ResourceManager.GetObject("old_clock_add", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_cut_red { internal static System.Drawing.Bitmap old_cut_red {
get { get {
@ -451,7 +371,7 @@ internal static System.Drawing.Bitmap old_cut_red {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_diskette { internal static System.Drawing.Bitmap old_diskette {
get { get {
@ -461,7 +381,7 @@ internal static System.Drawing.Bitmap old_diskette {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_folder_stand { internal static System.Drawing.Bitmap old_folder_stand {
get { get {
@ -471,7 +391,7 @@ internal static System.Drawing.Bitmap old_folder_stand {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_folder_vertical_document { internal static System.Drawing.Bitmap old_folder_vertical_document {
get { get {
@ -481,7 +401,7 @@ internal static System.Drawing.Bitmap old_folder_vertical_document {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_lock { internal static System.Drawing.Bitmap old_lock {
get { get {
@ -491,17 +411,7 @@ internal static System.Drawing.Bitmap old_lock {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа 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> /// </summary>
internal static System.Drawing.Bitmap old_page_white_add { internal static System.Drawing.Bitmap old_page_white_add {
get { get {
@ -511,7 +421,7 @@ internal static System.Drawing.Bitmap old_page_white_add {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_page_white_copy { internal static System.Drawing.Bitmap old_page_white_copy {
get { get {
@ -521,7 +431,7 @@ internal static System.Drawing.Bitmap old_page_white_copy {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_page_white_delete { internal static System.Drawing.Bitmap old_page_white_delete {
get { get {
@ -531,7 +441,7 @@ internal static System.Drawing.Bitmap old_page_white_delete {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_page_white_key { internal static System.Drawing.Bitmap old_page_white_key {
get { get {
@ -541,7 +451,7 @@ internal static System.Drawing.Bitmap old_page_white_key {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_paste_plain { internal static System.Drawing.Bitmap old_paste_plain {
get { get {
@ -551,7 +461,7 @@ internal static System.Drawing.Bitmap old_paste_plain {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap old_setting_tools { internal static System.Drawing.Bitmap old_setting_tools {
get { get {
@ -561,7 +471,7 @@ internal static System.Drawing.Bitmap old_setting_tools {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap scissors { internal static System.Drawing.Bitmap scissors {
get { get {
@ -571,7 +481,7 @@ internal static System.Drawing.Bitmap scissors {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap selection_input { internal static System.Drawing.Bitmap selection_input {
get { get {
@ -581,7 +491,7 @@ internal static System.Drawing.Bitmap selection_input {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Byte[]. /// Поиск локализованного ресурса типа System.Byte[].
/// </summary> /// </summary>
internal static byte[] Updater { internal static byte[] Updater {
get { get {
@ -591,7 +501,7 @@ internal static byte[] Updater {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap upload_cloud { internal static System.Drawing.Bitmap upload_cloud {
get { get {
@ -601,7 +511,7 @@ internal static System.Drawing.Bitmap upload_cloud {
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap wrap_option { internal static System.Drawing.Bitmap wrap_option {
get { get {

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. // Этот код создан программой.
// Runtime Version:4.0.30319.42000 // Исполняемая версия: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", "16.8.1.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.3.0.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())));
@ -27,12 +27,12 @@ public static Settings Default {
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Black")] [global::System.Configuration.DefaultSettingValueAttribute("Black")]
public global::System.Drawing.Color editorForeColor { public global::System.Drawing.Color editroForeColor {
get { get {
return ((global::System.Drawing.Color)(this["editorForeColor"])); return ((global::System.Drawing.Color)(this["editroForeColor"]));
} }
set { set {
this["editorForeColor"] = value; this["editroForeColor"] = value;
} }
} }
@ -686,161 +686,5 @@ public string TheSalt {
this["TheSalt"] = value; this["TheSalt"] = value;
} }
} }
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool passwordGeneratorBrackets {
get {
return ((bool)(this["passwordGeneratorBrackets"]));
}
set {
this["passwordGeneratorBrackets"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool passwordGeneratorAdditional {
get {
return ((bool)(this["passwordGeneratorAdditional"]));
}
set {
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;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool statusPanelReadonly {
get {
return ((bool)(this["statusPanelReadonly"]));
}
set {
this["statusPanelReadonly"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool statusPanelWordWrap {
get {
return ((bool)(this["statusPanelWordWrap"]));
}
set {
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;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool statusPanelClipboard {
get {
return ((bool)(this["statusPanelClipboard"]));
}
set {
this["statusPanelClipboard"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool clearClipboardAtClose {
get {
return ((bool)(this["clearClipboardAtClose"]));
}
set {
this["clearClipboardAtClose"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool shortcutKeys {
get {
return ((bool)(this["shortcutKeys"]));
}
set {
this["shortcutKeys"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool openTxtUnencrypted {
get {
return ((bool)(this["openTxtUnencrypted"]));
}
set {
this["openTxtUnencrypted"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool trayMenu {
get {
return ((bool)(this["trayMenu"]));
}
set {
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,7 +2,7 @@
<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="editorForeColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User"> <Setting Name="editroForeColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User">
<Value Profile="(Default)">Black</Value> <Value Profile="(Default)">Black</Value>
</Setting> </Setting>
<Setting Name="editorBackColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User"> <Setting Name="editorBackColor" Provider="PortableSettingsProvider" Type="System.Drawing.Color" Scope="User">
@ -155,41 +155,5 @@
<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="passwordGeneratorBrackets" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="passwordGeneratorAdditional" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="lockTimeout" Provider="PortableSettingsProvider" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="statusPanelReadonly" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="statusPanelWordWrap" Provider="PortableSettingsProvider" Type="System.Boolean" Scope="User">
<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>
</Settings> </Settings>
</SettingsFile> </SettingsFile>

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 960 B

View file

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

Binary file not shown.

View file

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2022 Sigmanor Copyright (c) 2019 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

View file

@ -1,16 +1,10 @@
[![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.info/&hashtags=notepad,encryption,windows,opensource,csharp)
# 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) [![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) [![license](https://img.shields.io/github/license/Crypto-Notepad/Crypto-Notepad.svg)](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) [![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) [![documentation](https://img.shields.io/badge/documentation-wiki-yellowgreen.svg)](https://github.com/Crypto-Notepad/Crypto-Notepad/wiki/Documentation)
[![status](https://img.shields.io/badge/project_status-suspended-orange.svg)](https://github.com/Crypto-Notepad/Crypto-Notepad/wiki/Project-status)
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.
@ -22,32 +16,21 @@ Notepad-like simple text editor for Windows, where files are saved and loaded en
* Associate own file type with application * Associate own file type with application
* Integrate with windows context menu * Integrate with windows context menu
* Сustomizable encryption options * Сustomizable encryption options
* Built-in password generator
* Detecting links in editor * Detecting links in editor
* Drag and Drop support
* Сustomizable interface * Сustomizable interface
* Pasteboard function * Drag and Drop support
* Autoclear clipboard
* Autolock editor
* Rich settings
* Portable * Portable
## Installation
### 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 ## System requirements
* Windows 7 SP1 and higher * Windows 7 SP1 and higher
* .NET Framework 4.6.1 and higher * .NET Framework 4.6.1 and higher
## 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:
## Build ## Build
App was created in Visual Studio Community, you can run the *.sln file and simply build a project App was created in Visual Studio Community, you can run the *.sln file and simply build a project
## Contributing ## Partners
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: ![FileHorse](http://i.imgur.com/o5hgnav.png) [FileHorse](http://filehorse.com/download-crypto-notepad/) | ![Softpedia](http://i.imgur.com/mPpwppP.png)[Softpedia](http://softpedia.com/get/Office-tools/Text-editors/Crypto-Notepad.shtml) | ![Oszone](https://i.imgur.com/Jo5hP0X.jpg) [Oldergeeks](https://www.oldergeeks.com/downloads/file.php?id=2665) | ![Portablefreeware](http://i.imgur.com/7v2GHXE.png) [Portablefreeware](https://portablefreeware.com/index.php?id=2873) | ![Majorgeeks](http://i.imgur.com/qQr5IZv.png) [Majorgeeks](http://www.majorgeeks.com/files/details/crypto_notepad.html) | ![Download.hr](https://i.imgur.com/aBhf1Si.png) [Download.hr](https://www.download.hr/software-crypto-notepad.html)
--- | --- | --- | --- | --- | ---

View file

@ -1 +1 @@
1.7.3.0 1.6.3.0