Total points field

This commit is contained in:
2022-07-02 08:51:52 +02:00
parent d39a372b3a
commit 3c920dad02
2 changed files with 69 additions and 26 deletions

View File

@ -147,21 +147,30 @@ namespace WinGreed
txt = txtMaxValue.Clone<TextBox>();
txt.Name = $"txtMaxValue{row}";
txt.Location = new Point(x + 350, y);
txt.Location = new Point(x + 400, y);
txt.Visible = true;
this.Controls.Add(txt);
this.Refresh();
txtRes = txtChosenValue.Clone<TextBox>();
txtRes.Name = $"txtChosenValue{row}";
txtRes.Location = new Point(x + 350 + (txtRes.Width + 5), y);
txtRes.Location = new Point(x + 400 + (txtRes.Width + 5), y);
txtRes.Visible = true;
this.Controls.Add(txtRes);
this.Refresh();
}
string outPut = CheckForDifferentOutCome(numbers);
numbers.ForEach(x => Debug.Write($"{x}, "));
Debug.WriteLine(" -");
}
private string CheckForDifferentOutCome(List<int> numbers)
{
throw new NotImplementedException();
}
private void btnDiceTmpl_Click(object sender, EventArgs e)