public MainWindow() { Console.WriteLine("Windows Initialized"); InitializeComponent(); //Event Listener Activated += WindowsActivated; Deactivated += WindowsDeactivated; StateChanged += WindowsStateChanged; DragEnter += DragEnterHandler; Closing += WindowClosing; Drop += DropHandler; Closed += WindowClosed; KeyDown += wnd_KeyDown; //MouseMove += CheckIsHovered; //Setup Statuses AllowDrop = true; instance = this; ShowInTaskbar = false; filedetection = new CSB_FileDropDetection(); UnitTesting(); }
public CSB_FileDropDetection() { instance = this; MainWindow.instance.Drop += Drop; Testing(); }