Disassembled CarotDav v1.14.7 with dotPeek 2017.2
This commit is contained in:
49
Rei.Fs/FsSpecificContextMenuItem.cs
Normal file
49
Rei.Fs/FsSpecificContextMenuItem.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: Rei.Fs.FsSpecificContextMenuItem
|
||||
// Assembly: Rei.Fs, Version=1.13.2.8796, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: D8B08A8B-697C-4439-9CFF-1BE4EE46F7B0
|
||||
// Assembly location: F:\Eigene Dateien\Dropbox\portable Collection\Progs\CarotDAV\Rei.Fs.dll
|
||||
|
||||
using System.Drawing;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Rei.Fs
|
||||
{
|
||||
public class FsSpecificContextMenuItem
|
||||
{
|
||||
public string Title;
|
||||
public Image Image;
|
||||
public System.EventHandler<ResourceInfoEventArgs> EventHandler;
|
||||
public bool UseWaitCursor;
|
||||
public object Tag;
|
||||
|
||||
public FsSpecificContextMenuItem(string title, bool usewaitcursor, System.EventHandler<ResourceInfoEventArgs> eventhandler)
|
||||
: this(title, (Image) null, usewaitcursor, eventhandler, (object) null)
|
||||
{
|
||||
}
|
||||
|
||||
public FsSpecificContextMenuItem(string title, bool usewaitcursor, System.EventHandler<ResourceInfoEventArgs> eventhandler, object tag)
|
||||
: this(title, (Image) null, usewaitcursor, eventhandler, RuntimeHelpers.GetObjectValue(tag))
|
||||
{
|
||||
}
|
||||
|
||||
public FsSpecificContextMenuItem(string title, Image image, bool usewaitcursor, System.EventHandler<ResourceInfoEventArgs> eventhandler)
|
||||
: this(title, image, usewaitcursor, eventhandler, (object) null)
|
||||
{
|
||||
}
|
||||
|
||||
public FsSpecificContextMenuItem(string title, Image image, bool usewaitcursor, System.EventHandler<ResourceInfoEventArgs> eventhandler, object tag)
|
||||
{
|
||||
this.Title = title;
|
||||
this.Image = image;
|
||||
this.UseWaitCursor = usewaitcursor;
|
||||
this.EventHandler = eventhandler;
|
||||
this.Tag = RuntimeHelpers.GetObjectValue(tag);
|
||||
}
|
||||
|
||||
public void Invoke(object sender, FsBase pfs, ResourceInfo[] ris)
|
||||
{
|
||||
this.EventHandler(RuntimeHelpers.GetObjectValue(sender), new ResourceInfoEventArgs(pfs, ris, RuntimeHelpers.GetObjectValue(this.Tag)));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user