예제 #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();
        }
예제 #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();
        }
예제 #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();
        }
예제 #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();
        }