MessageBox.Show(AppDomain.CurrentDomain.BaseDirect  ory);
یا :
MessageBox.Show(System.IO.Directory.GetCurrentDire  ctory());
یا :
MessageBox.Show(Application.StartupPath);
یا:
MessageBox.Show(System.IO.Path.GetDirectoryName(Ap  plication.ExecutablePath));