void hexBox_DragDrop(object sender, System.Windows.Forms.DragEventArgs e)
{
string[] formats = e.Data.GetFormats();
object oFileNames = e.Data.GetData(DataFormats.FileDrop);
string[] fileNames = (string[])oFileNames;
if (fileNames.Length == 1)
{
OpenFile(fileNames[0]);
}
}