コード例 #1
0
ファイル: Program.cs プロジェクト: enriquein/VSColorsToSQL
 static void Main(string[] args)
 {
     try
     {
         ColorImporter importer = new ColorImporter();
         importer.Copy();
         Console.WriteLine("Completed successfully");
     } catch (Exception ex)
     {
         Console.WriteLine(ex.ToString());
     }
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: enriquein/VSColorsToSQL
 static void Main(string[] args)
 {
     try
      {
     ColorImporter importer = new ColorImporter();
     importer.Copy();
     Console.WriteLine("Completed successfully");
      } catch ( Exception ex )
      {
     Console.WriteLine(ex.ToString());
      }
 }
コード例 #3
0
ファイル: ColorImporter.cs プロジェクト: krtek4/ColorImporter
        static void Main(string[] args)
        {
            string source = args.Length > 0 ? args[0] : "2008";
            string destination = args.Length > 1 ? args[1] : "2008";

            try {
                ColorImporter ic = new ColorImporter();
                ic.Copy(source, destination);
            }
            catch (Exception ex) {
                Console.WriteLine(ex.ToString());
            }
        }