public override string ToString() { return(BlueA.ToString() + "-" + BlueB.ToString() + "-" + BlueC.ToString() + " vs " + RedA.ToString() + "-" + RedB.ToString() + "-" + RedC.ToString()); }
private void AnythingChanged(object sender, TextChangedEventArgs e) { RedABox.Text = RedA.ToString(); RedBBox.Text = RedB.ToString(); RedCBox.Text = RedC.ToString(); BlueABox.Text = BlueA.ToString(); BlueBBox.Text = BlueB.ToString(); BlueCBox.Text = BlueC.ToString(); if (RedA == -1 || RedB == -1 || RedC == -1 || BlueA == -1 || BlueB == -1 || BlueC == -1 || MatchID == -1) { OKBtn.IsEnabled = false; } else { OKBtn.IsEnabled = true; } }