public static void Initialize(string[] args, string configPath)
        {
            if (configPath != null)
            {
                LoadConfigFile(configPath);
            }
            else
            {
                // needed because these options dosn't get reset to false from args
                // (when false, it is missing in args and ParseArguments will leave it unchanged)
                // (when true, it is in args and ParseArguments will set it to true)
                foreach (Option o in options)
                {
                    if (o.GetType() == typeof(BoolOption))
                    {
                        BoolOption bo = (BoolOption)o;
                        bo.SetValue("false");
                    }
                }
            }
            if (args != null)
            {
                if (args.Length != 0)
                {
                    ParseArguments(args);
                }
            }

            if (UseCaseFixer == true)
            {
                if (DBServer == string.Empty || DBSchema == string.Empty || DBUser == string.Empty || DBPasswd == string.Empty)
                {
                    Console.WriteLine(String.Format(ResStr.MSG_SERVER_PARAMETER_MISSING));
                    if (DBServer == string.Empty)
                    {
                        Console.WriteLine(String.Format(ResStr.MSG_SERVER_DBSERVER_MISSING));
                    }
                    if (DBSchema == string.Empty)
                    {
                        Console.WriteLine(String.Format(ResStr.MSG_SERVER_DBSCHEMA_MISSING));
                    }
                    if (DBUser == string.Empty)
                    {
                        Console.WriteLine(String.Format(ResStr.MSG_SERVER_DBUSER_MISSING));
                    }
                    if (DBPasswd == string.Empty)
                    {
                        Console.WriteLine(String.Format(ResStr.MSG_SERVER_DBPASSWD_MISSING));
                    }
                }
            }
        }
 public void SetSound(bool value)
 {
     Sound.SetValue(value);
 }
 public void SetMusic(bool value)
 {
     Music.SetValue(value);
 }