Compare commits
No commits in common. "d5e8d939e364225f00071629b50f6beee8466ac0" and "52a34c06b698bb7ba1870de39ecb76a20e8c7cc6" have entirely different histories.
d5e8d939e3
...
52a34c06b6
@ -11,7 +11,7 @@
|
|||||||
<Copyright>Ray Lam</Copyright>
|
<Copyright>Ray Lam</Copyright>
|
||||||
<ApplicationIcon>favicon.ico</ApplicationIcon>
|
<ApplicationIcon>favicon.ico</ApplicationIcon>
|
||||||
<NoWin32Manifest>true</NoWin32Manifest>
|
<NoWin32Manifest>true</NoWin32Manifest>
|
||||||
<Version>0.1.1.003</Version>
|
<Version>0.1.0.009</Version>
|
||||||
<Title>Clipboard Watcher</Title>
|
<Title>Clipboard Watcher</Title>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
14
MainForm.cs
14
MainForm.cs
@ -2,7 +2,6 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using RyzStudio.Windows.Forms;
|
|
||||||
using RyzStudio.Windows.ThemedForms;
|
using RyzStudio.Windows.ThemedForms;
|
||||||
|
|
||||||
namespace ClipboardWatcher
|
namespace ClipboardWatcher
|
||||||
@ -16,7 +15,6 @@ namespace ClipboardWatcher
|
|||||||
|
|
||||||
protected IntPtr _clipboardViewer;
|
protected IntPtr _clipboardViewer;
|
||||||
protected bool isMonitoring = false;
|
protected bool isMonitoring = false;
|
||||||
protected int lineCount = 0;
|
|
||||||
|
|
||||||
|
|
||||||
public MainForm()
|
public MainForm()
|
||||||
@ -144,7 +142,6 @@ namespace ClipboardWatcher
|
|||||||
Clipboard.Clear();
|
Clipboard.Clear();
|
||||||
|
|
||||||
memoBox1.Text = string.Empty;
|
memoBox1.Text = string.Empty;
|
||||||
lineCount = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -193,9 +190,6 @@ namespace ClipboardWatcher
|
|||||||
foreach (string item in fileList)
|
foreach (string item in fileList)
|
||||||
{
|
{
|
||||||
memoBox1.Text += item + Environment.NewLine;
|
memoBox1.Text += item + Environment.NewLine;
|
||||||
lineCount++;
|
|
||||||
|
|
||||||
UIControl.SetText(this, $"Clipboard Monitor ({lineCount.ToString()})");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -214,14 +208,6 @@ namespace ClipboardWatcher
|
|||||||
}
|
}
|
||||||
|
|
||||||
memoBox1.Text += clipboardText.Trim() + Environment.NewLine;
|
memoBox1.Text += clipboardText.Trim() + Environment.NewLine;
|
||||||
lineCount++;
|
|
||||||
|
|
||||||
UIControl.SetText(this, $"Clipboard Monitor ({lineCount.ToString()})");
|
|
||||||
|
|
||||||
this.TopMost = true;
|
|
||||||
this.BringToFront();
|
|
||||||
this.Focus();
|
|
||||||
this.TopMost = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user