פורסם 2007 בספטמבר 718 שנים אוקיי, אם הבנתי נכון אז זה הקוד שאתה מבקש string fileText = File.ReadAllText(game_path_txt.Text + @"\settings.ini"); if (fileText.Contains("MODDED")) { fileText.Replace("MODDED", "ORIGINAL"); radioButton1.Checked = true; radioButton2.Checked = false; } else if (fileText.Contains("ORIGINAL")) { fileText.Replace("ORIGINAL", "MODDED"); radioButton1.Checked = false; radioButton2.Checked = true; } File.WriteAllText(game_path_txt.Text+ @"\settings.ini", fileText);רק שתדע שהדרך שבה אתה יוצר את הקובץ שלך פשוט תסבך אותך כל פעם מחדש
פורסם 2007 בספטמבר 718 שנים מחבר לא עובד... הוא עדיין לא כותב בקובץ...ומה הכוונה באיך שאני יוצר את הקובץ?
ארכיון
דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.