static void Main(string[] args)
        {
            if (args.GetUpperBound(0) >= 0)
            {
                SvnCommands cmd     = new SvnCommands();
                Arguments   cmdargs = new Arguments(args);
                string      param   = cmdargs[0].ToLower();

                switch (param)
                {
                case "?":
                case "help":
                    Console.WriteLine(Environment.NewLine);
                    Console.WriteLine("Usage: svnbackupwidget " + (char)34 + "profile name" + (char)34);
                    Console.WriteLine(Environment.NewLine);
                    break;

                default:
                    string profileName;
                    profileName = param;
                    cmd.RunDump(profileName);
                    break;
                }
            }
            else
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new frmMain());
            }
        }
        private void btnRun_Click(object sender, EventArgs e)
        {
            var    cmd = new SvnCommands();
            string profileName;

            profileName = cboProfiles.Text;

            Cursor = Cursors.WaitCursor;

            cmd.RunDump(profileName);

            Cursor = Cursors.Default;
        }