Winform下:Application.ExecutablePath;

 

其他:
            Application.StartupPath;
            Assembly.GetEntryAssembly();

相关文章: