Introduction - If you have any usage issues, please Google them yourself
Drag-and-drop to open the file C# to get the file directory or path information, simply drag the file to the main form, you can get to the directory path to the selected file, a pop-up window tells you. This drag-and-drop method to open the file specific to the Windows system, it is very easy to join such a function in C# is quite simple, the program code can be found.