Remove unused code

- ListBoxItem_OnDrop Event Handler
- ItemDropEvent Handler
- UpdateItemNumber method
This commit is contained in:
Colin Liu
2016-02-18 20:29:51 +08:00
parent 2846eea956
commit 3ce0b8bc97
3 changed files with 1 additions and 58 deletions

View File

@@ -32,25 +32,9 @@ namespace Wox
{
InitializeComponent();
//pnlResult.ItemDropEvent += pnlResult_ItemDropEvent;
Closing += MainWindow_Closing;
}
//void pnlResult_ItemDropEvent(Result result, IDataObject dropDataObject, DragEventArgs args)
//{
// PluginPair pluginPair = PluginManager.AllPlugins.FirstOrDefault(o => o.Metadata.ID == result.PluginID);
// if (ResultItemDropEvent != null && pluginPair != null)
// {
// foreach (var delegateHandler in ResultItemDropEvent.GetInvocationList())
// {
// if (delegateHandler.Target == pluginPair.Plugin)
// {
// delegateHandler.DynamicInvoke(result, dropDataObject, args);
// }
// }
// }
//}
void MainWindow_Closing(object sender, CancelEventArgs e)
{
UserSettingStorage.Instance.WindowLeft = Left;