コード例 #1
0
ファイル: ScriptScanner.cs プロジェクト: GodLesZ/svn-dump
		public static void Initialize( frmMain Form ) {
			mForm = Form;

			ConnectionHolder con = new ConnectionHolder( "localhost", 3306, "eathena_test", "eathena_test", "eathena_test" );
			mSql = new FinalSoftware.MySql.MySqlWrapper();
			if( mSql.Init( con ) != MysqlError.None )
				throw mSql.LastError;
		}
コード例 #2
0
ファイル: ScriptScanner.cs プロジェクト: CairoLee/svn-dump
        public static void Initialize(frmMain Form)
        {
            mForm = Form;

            ConnectionHolder con = new ConnectionHolder("localhost", 3306, "eathena_test", "eathena_test", "eathena_test");

            mSql = new FinalSoftware.MySql.MySqlWrapper();
            if (mSql.Init(con) != MysqlError.None)
            {
                throw mSql.LastError;
            }
        }