С ō π α πღ Posted November 29, 2013 Share Posted November 29, 2013 السلام عليكم .. ابي كود لمن أضغط على العلامه تنحفظ معلومات دخولي بلوحه تسجل الدخول السموحه معرف أشرح طلبي Link to comment
αвυ-wαleed Posted November 29, 2013 Share Posted November 29, 2013 اش تقصد بالعلامة الزر ؟؟ Link to comment
jafar Posted November 29, 2013 Share Posted November 29, 2013 عندك ثلاث طرق : AccountData - SQL - XML Link to comment
С ō π α πღ Posted November 29, 2013 Author Share Posted November 29, 2013 حط لي أكواد ادآ تقدر وشكرآ لك Link to comment
С ō π α πღ Posted November 29, 2013 Author Share Posted November 29, 2013 توضيح ي عيــآل Link to comment
The Killer Posted November 29, 2013 Share Posted November 29, 2013 loadLoginFromXML هذا الفنكشن يختصر لك كم كود بدال ما تكتبهم كلهم تكتب هذا الكود وتاخذ منه الفنكشن الي هو هذا مثال بسيط جدا عليه local user, pass = loadLoginFromXML() if not ( user == "" or pass == "") then -- الخ function loadLoginFromXML() local xmlsave = xmlLoadFile ("userdata.xml") if not xmlsave then xmlsaveLog = xmlCreateFile("userdata.xml", "login") end local usernameNode = xmlFindChild (xmlsaveLog, "username", 0) local passwordNode = xmlFindChild (xmlsaveLog, "password", 0) if usernameNode and passwordNode then return xmlNodeGetValue(usernameNode), xmlNodeGetValue(passwordNode) else return "", "" end xmlUnloadFile ( xmlsaveLog ) end الفنكشنات الي تحتاجها guiCreateCheckBox loadLoginFromXML guiCheckBoxSetSelected guiSetText Link to comment
С ō π α πღ Posted November 30, 2013 Author Share Posted November 30, 2013 ماقصرت لبى روحكَ Link to comment
jafar Posted November 30, 2013 Share Posted November 30, 2013 guiCheckBoxSetSelected ذي خطأ الصح guiCheckBoxGetSelected Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now