این کد رو همین الان تو محیط کنسول نوشتم، دیگه زحمت تبدیل و جایگذاری Console ها به textbox به عهده خودتون:
string section = "[Ripage]";
bool isFound = false;
while (strLine != null)
{
if (strLine.StartsWith("[") && strLine.EndsWith("]"))
{
isFound = strLine == section;
}
else
{
if (isFound)
{
if (strLine.Contains("0="))
{
string[] Ripage1 = strLine.Split('=');
Console.WriteLine(Ripage1[1].Replace(";1", ""));
}
if (strLine.StartsWith("1="))
{
string[] Ripage2 = strLine.Split('=');
Console.WriteLine(Ripage2[1].Replace(";1", ""));
}
}
}
strLine = reader.ReadLine();
}