Beispiel #1
0
        private void Tennis_MHard_Avg_Click(object sender, EventArgs e)
        {
            Tennis_Lines TennisLinesWindow;

            TennisLinesWindow = new Tennis_Lines();
            TennisLinesWindow.P1PercentageBox.Text = TennisLinesCalcs.ServePercentageP1(600, 660);
            TennisLinesWindow.P2PercentageBox.Text = TennisLinesCalcs.ServePercentageP2(600, 660);
            TennisLinesWindow.ShowDialog();
        }
Beispiel #2
0
        private void Tennis_WClay_P2_Click(object sender, EventArgs e)
        {
            Tennis_Lines TennisLinesWindow;

            TennisLinesWindow = new Tennis_Lines();
            TennisLinesWindow.P1PercentageBox.Text = TennisLinesCalcs.ServePercentageP1(450, 500);
            TennisLinesWindow.P2PercentageBox.Text = TennisLinesCalcs.ServePercentageP2(530, 580);
            TennisLinesWindow.ShowDialog();
        }
Beispiel #3
0
        private void Tennis_MGrass_P2_Click(object sender, EventArgs e)
        {
            Tennis_Lines TennisLinesWindow;

            TennisLinesWindow = new Tennis_Lines();
            TennisLinesWindow.P1PercentageBox.Text = TennisLinesCalcs.ServePercentageP1(550, 600);
            TennisLinesWindow.P2PercentageBox.Text = TennisLinesCalcs.ServePercentageP2(630, 700);
            TennisLinesWindow.ShowDialog();
        }
Beispiel #4
0
        private void Tennis_WHard_P1_Click(object sender, EventArgs e)
        {
            Tennis_Lines TennisLinesWindow;

            TennisLinesWindow = new Tennis_Lines();
            TennisLinesWindow.P1PercentageBox.Text = TennisLinesCalcs.ServePercentageP1(580, 630);
            TennisLinesWindow.P2PercentageBox.Text = TennisLinesCalcs.ServePercentageP2(500, 550);
            TennisLinesWindow.ShowDialog();
        }