mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Merge pull request #58 from Crypto-Notepad/dev
fixed bug with inserting date/time
This commit is contained in:
commit
24f42c99fb
4 changed files with 3 additions and 5 deletions
|
|
@ -1628,9 +1628,7 @@ private void ReadOnlyMainMenu_Click(object sender, EventArgs e)
|
||||||
private void InsertDateTimeMainMenu_Click(object sender, EventArgs e)
|
private void InsertDateTimeMainMenu_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
DateTime now = DateTime.Now;
|
DateTime now = DateTime.Now;
|
||||||
richTextBox.Text += now.ToString();
|
richTextBox.SelectedText = now.ToString();
|
||||||
richTextBox.SelectionStart = richTextBox.Text.Length;
|
|
||||||
richTextBox.ScrollToCaret();
|
|
||||||
richTextBox.Modified = true;
|
richTextBox.Modified = true;
|
||||||
if (!Text.Contains("*"))
|
if (!Text.Contains("*"))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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.1.0")]
|
[assembly: AssemblyFileVersion("1.7.2.0")]
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
1.7.1.0
|
1.7.2.0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue