Exemple #1
0
        private void calculateDrobResault_Click(object sender, EventArgs e)
        {
            richTextBox1.Clear();
            Drob newDrob          = (drob + SecondDrob) * (drob - ThirdDrob);
            Drob rotateAnswerDrob = newDrob.Flip(newDrob);

            richTextBox1.Text = String.Format("R = \n{0} \n\n 1/R = \n{1}", newDrob.ToString(), rotateAnswerDrob.ToString());
        }
Exemple #2
0
 private void rotateDrob_Click(object sender, EventArgs e)
 {
     richTextBox1.Clear();
     richTextBox1.Text = String.Format("Rotated drob: \n\n {0} \n\n {1} \n\n {2}", drob.Flip(drob).ToString(), SecondDrob.Flip(SecondDrob).ToString()
                                       , ThirdDrob.Flip(ThirdDrob).ToString());
 }