Exemple #1
0
 public static int Main(String[] args)
 {
     if (args.Length > 0 && args[0] == "-s")
     {
         TrackerUI trackerui = new TrackerUI();
         Application.Run(trackerui);
     }
     else
     {
         PeerUI peerui = new PeerUI();
         Application.Run(peerui);
     }
     return(0);
 }
Exemple #2
0
 public static int Main(String[] args)
 {
     if (args.Length > 0 && args[0] == "-s")
     {
         TrackerUI trackerui = new TrackerUI();
         Application.Run(trackerui);
     }
     else
     {
         PeerUI peerui = new PeerUI();
         Application.Run(peerui);
     }
     return 0;
 }