private void CEDecompiler_DragDrop(object sender, DragEventArgs e) { string[] files = (string[])e.Data.GetData(DataFormats.FileDrop); foreach (string file in files) { if (CEDecompile.DecryptTrainer(file) == true) { MessageBox.Show("Done"); } } }
private void CEDecompiler_DragDrop(object sender, DragEventArgs e) { string[] files = (string[])e.Data.GetData(DataFormats.FileDrop); foreach (string file in files) { if (Path.GetFileName(file).ToLower().Contains(".cetrainer") == true) { if (CEDecompile.DecryptTrainer(file) == true) { ShakeMe("Done", MessageType.INFO, MessageBoxButtons.OK, MessageBoxIcon.Information); } } } }