TODO finish this
This commit is contained in:
parent
da939961c7
commit
9aedd22204
Binary file not shown.
|
@ -46,6 +46,7 @@ namespace WindowsFormsApp1
|
|||
{
|
||||
Data.charfound.Add(guess);
|
||||
Data.charfound.Sort();
|
||||
label1.Text = labelTextChange(label1.Text);
|
||||
}
|
||||
|
||||
if (Samelist(Data.charfound, Data.wordchar))
|
||||
|
@ -122,20 +123,9 @@ namespace WindowsFormsApp1
|
|||
}
|
||||
|
||||
|
||||
public static void labelTextChange()
|
||||
public static string labelTextChange(string temp)
|
||||
{
|
||||
char[] text = new char[Data.word.Count()];
|
||||
|
||||
for (int i = 0; i < Data.word.Count(); i++)
|
||||
{
|
||||
for (int j = 0; j < Data.charfound.Count(); j++)
|
||||
{
|
||||
if (Data.charfound[j] == Data.wordchar[i])
|
||||
{
|
||||
text[i] = Data.charfound[j];
|
||||
}
|
||||
}
|
||||
}
|
||||
return temp;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -8,3 +8,13 @@ C:\Users\szabomarton\Desktop\C#\20240415\WindowsFormsApp1\obj\Debug\WindowsForms
|
|||
C:\Users\szabomarton\Desktop\C#\20240415\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\20240415\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\20240415\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240415\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe.config
|
||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240415\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240415\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.pdb
|
||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240415\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.AssemblyReference.cache
|
||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240415\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Form1.resources
|
||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240415\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Properties.Resources.resources
|
||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240415\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.GenerateResource.cache
|
||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240415\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240415\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.exe
|
||||
C:\Users\szabomarton\Desktop\C#\ProgaOra\20240415\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.pdb
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user