mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Revert "Merge pull request #5540 from Craftplacer/master"
This reverts commite607cc481e
, reversing changes made to7f88c8c75f
.
This commit is contained in:
parent
0b36be3037
commit
c8f0eb80fa
1 changed files with 0 additions and 11 deletions
|
@ -26,7 +26,6 @@ You should have received a copy of the GNU General Public License
|
|||
using ShareX.HelpersLib;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ShareX
|
||||
|
@ -362,15 +361,6 @@ private void NotificationForm_MouseLeave(object sender, EventArgs e)
|
|||
}
|
||||
}
|
||||
|
||||
private void NotificationForm_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(Config.FilePath) && File.Exists(Config.FilePath))
|
||||
{
|
||||
IDataObject dataObject = new DataObject(DataFormats.FileDrop, new string[] { Config.FilePath });
|
||||
DoDragDrop(dataObject, DragDropEffects.Copy | DragDropEffects.Move);
|
||||
}
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
private Timer tDuration;
|
||||
|
@ -422,7 +412,6 @@ private void InitializeComponent()
|
|||
MouseClick += new MouseEventHandler(NotificationForm_MouseClick);
|
||||
MouseEnter += new EventHandler(NotificationForm_MouseEnter);
|
||||
MouseLeave += new EventHandler(NotificationForm_MouseLeave);
|
||||
MouseDown += new MouseEventHandler(NotificationForm_MouseDown);
|
||||
ResumeLayout(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue