static void Main(string[] args)
        {
            var arguments = CommandLineArgumentParser.Parse(args);

            //load vector log csv file
            if (arguments.Has("-c") && arguments.Has("-v"))
            {
                //check if config file exists
                //if (false == File.Exists(arguments.Get("-c").Next))
                //{
                //    Console.WriteLine("The config file {0} dose not exist", arguments.Get("-c").Next);
                //}
                //else
                //{
                //    Console.WriteLine("Loading config {0} and init device", arguments.Get("-c").Next);
                //}
            }
            else if (arguments.Has("-c") && arguments.Has("-s"))
            {
            }
            else if (arguments.Has("-t") && arguments.Has("-k"))
            {
                //check if config file exists
                //Press key = new Press();
                //key.Do();

                //Thread.Sleep(10000);

                FileInfo   fi      = new FileInfo(Assembly.GetExecutingAssembly().Location);
                string     strPath = fi.DirectoryName + "\\";
                NileLogger logger  = new NileLogger(string.Format("{1}{0}.txt", DateTime.Now.ToString("yyyy-MM-dd_HHmmss"), strPath));

                PressAll ki = new PressAll();
                //classAA.AA_Myevent += new ClassAA.A_DelegateEventHander(classBB.change);
                ki.eventSent2Log += new PressAll.Send2LogEventHanler(logger.OnReceiveLogInfo);

                ki.Do();

                Thread.Sleep(1000);
            }
            else if (args.Count() == 0)
            {
                Console.WriteLine("Run without argu as default");
            }
            else
            {
            }

            Console.WriteLine("Sent over");
            Console.Write("Press any key to exit");
            Console.Read();

            return;
        }