or better
 

foreach (string arg in Environment.GetCommandLineArgs())

{

  MessageBox.Show(arg);

}