public FractionClass Add(FractionClass other)
        {
            int num = numerator;
            int den = denomiator;
            if (den == other.Denominator)
            {
                num += other.Numerator;
            }
            else
            {
                num = (num * other.Denominator) + (other.Numerator * den);
                den *= other.Denominator;
            }

            int gcd = GCD(num, den);
            try
            {
                num = num / gcd;
                den = den / gcd;
            }
            catch(Exception ex)
            {
            }

            return new FractionClass(num, den);
        }
        public FractionClass Divide(FractionClass other)
        {
            int num = numerator * other.Denominator;
               int den = denomiator * other.Numerator;

               int gcd = GCD(num, den);
               try
               {
               num = num / gcd;
               den = den / gcd;
               }
               catch (Exception ex)
               {
               }
               return new FractionClass(num, den);
        }
        private void Level6SetUp()
        {
            for (int i = 0; i < 8; i++)
            {
                int num = randomizer.Next(1, 11);
                int den = randomizer.Next(1, 11);
                number[i] = new FractionClass(num, den);
            }

            for (int i = 8; i < 10; i = i + 2)
            {
                int num1 = randomizer.Next(1, 11);
                int num2 = randomizer.Next(1, 11);
                int den = randomizer.Next(1, 16);
                if (i == 6)
                {
                    number[i] = new FractionClass(num1, den);
                    number[i + 1] = new FractionClass(num2, den * randomizer.Next(1, 4));
                }
                else
                {
                    number[i + 1] = new FractionClass(num1, den);
                    number[i] = new FractionClass(num2, den * randomizer.Next(1, 4));
                }
            }

            for (int i = 10; i < 12; i = i + 2)
            {
                int num1 = randomizer.Next(1, 11);
                int num2 = randomizer.Next(1, num1);
                int den = randomizer.Next(1, 16);
                number[i] = new FractionClass(num1, den);
                number[i + 1] = new FractionClass(num2, den * randomizer.Next(1, 4));
            }

            SetPannelsVisible();
            AssignNumbersForQuestion();
            SetOperatorsForLevel6();
            SetTimer();
        }
        private void Level5SetUp()
        {
            for (int i = 0; i < 6; i=i+2)
            {
                int num1 = randomizer.Next(1, 11);
                int num2 = randomizer.Next(1,11);
                int den = randomizer.Next(1, 16);
                int cd = randomizer.Next(1, 4);
                if (i == 0 || i == 4)
                {
                    number[i] = new FractionClass(num1, den);
                    number[i + 1] = new FractionClass(num2, den * cd);
                }
                else
                {
                    number[i+1] = new FractionClass(num1, den);
                    number[i] = new FractionClass(num2, den * cd);
                }
            }

            for (int i = 6; i < 12; i = i + 2)
            {
                int num1 = randomizer.Next(1, 11);
                int num2 = randomizer.Next(1, num1);
                int den = randomizer.Next(1, 16);
                number[i] = new FractionClass(num1, den);
                number[i + 1] = new FractionClass(num2, den * randomizer.Next(1, 4));
            }

            SetPannelsVisible();
            AssignNumbersForQuestion();
            SetOperatorsForLevel5();
            SetTimer();
        }