+ +)
{(i% 2 == 0)
{[0, i]. Value = k; + +;
} [1, i]. Value = TC [i]. Name;
}. SelectedIndex + +;;
} 5:
{(int i = 0; i <4; i + = 2)// Прочитуємо дані 1/2
{. TC [i]. All_Scores = 0;. TC [i]. All_Lose_Points = 0;. TC [i]. Three_Points = 0;. TC [i + 1]. All_Scores = 0 ;. TC [i + 1]. All_Lose_Points = 0;. TC [i + 1]. Three_Points = 0;. TC [i]. Name = dataGridView7 [1, i]. Value. ToString ();. TC [i]. All_Scores = Convert. ToInt32 (dataGridView7 [2, i]. Value);. TC [i]. Three_Points = Convert. ToInt32 (dataGridView7 [3, i]. Value);. TC [i + 1]. Name = dataGridView7 [1, i + 1]. Value. ToString ();. TC [i + 1]. All_Scores = Convert. ToInt32 (dataGridView7 [2, i + 1]. Value);. TC [i + 1]. Three_Points = Convert. ToInt32 (dataGridView7 [3, i + 1]. Value); (this.TC [i]. All_Scores
{(TC [i], TC [i + 1]);
}
{(TC [i]. All_Scores == TC [i + 1]. All_Scores)
{(TC [i]. Three_Points
{(TC [i], TC [i + 1]);
}
}
}
}
// Виводимо фіналістів. Text = TC [0]. Name;. Text = TC [2]. Name;. SelectedIndex + +;;
} 6:
{(numericUpDown1. Value> numericUpDown3. Value)// Вибір переможця
{. Text = groupBox1. Text + В«переможець чемпіонату!В»; p align="justify">}
{(numericUpDown1. Value
{. Text = groupBox2. Text + В«переможець чемпіонату!В»; p align="justify">}
{(numericUpDown2. Value> numericUpDown4. Value)
{. Text = groupBox1. Text + В«переможець чемпіонату!В»; p align="justify">}
{. Text = groupBox2. Text + В«переможець чемпіонату!В»; p align="justify">}
}
}. SelectedIndex + +;;
}
}
} {MessageBox. Show (В«У таблицю введені не всі дані, або вони введені некоректноВ», В«ІнформаціяВ», MessageBoxButtons.OK, MessageBoxIcon. Information);}
} void tabControl1_TabIndexChanged (object sender, EventArgs e)
{_Next_Click (sender, e);
}}}
гра баскетбол програмування eurobasket