Beispiel #1
0
 static void Main(string[] args) {
   if (args.Length == 0) {
     printUsage();
     sfc = new SFMain();
   }
   else {
     try {
       sfc = new SFMain(Convert.ToUInt16(args[0].ToString()));
     } catch (Exception) {
       printUsage();
     }
   }
 }
Beispiel #2
0
 static void Main(string[] args)
 {
     if (args.Length == 0)
     {
         printUsage();
         sfc = new SFMain();
     }
     else
     {
         try {
             sfc = new SFMain(Convert.ToUInt16(args[0].ToString()));
         } catch (Exception) {
             printUsage();
         }
     }
 }