private void btnSend_Click(object sender, EventArgs e)
        {
            if (clientCalc1 == null || clientCalc2 == null)
            {
                MessageBox.Show("Objects are not initialized");
                return;
            }

            if (clientCalc1.ClientStatus() != csConnStatus.Connected || clientCalc2.ClientStatus() != csConnStatus.Connected)
            {
                MessageBox.Show("Servers are not available.");
                return;
            }

            stime2 = DateTime.Now;

            int width  = picDraw.Width;
            int height = picDraw.Height;

            string st;

            //// Server1 Command
            st = TSocket.sSTX() + "PS" + Convert.ToString(width) + "," + Convert.ToString(height) + TSocket.sETX();
            clientCalc1.ClientSend(st);

            int RangeMin1 = 2;
            int RangeMax1 = 20000000;

            st = TSocket.sSTX() + "NR" + Convert.ToString(RangeMin1) + "," + Convert.ToString(RangeMax1) + TSocket.sETX();
            clientCalc1.ClientSend(st);

            st = TSocket.sSTX() + "RC" + TSocket.sETX();
            clientCalc1.ClientSend(st);

            // Server2 Command
            st = TSocket.sSTX() + "PS" + Convert.ToString(width) + "," + Convert.ToString(height) + TSocket.sETX();
            clientCalc2.ClientSend(st);

            int RangeMin2 = 20000001;
            int RangeMax2 = 30000000;

            st = TSocket.sSTX() + "NR" + Convert.ToString(RangeMin2) + "," + Convert.ToString(RangeMax2) + TSocket.sETX();
            clientCalc2.ClientSend(st);

            st = TSocket.sSTX() + "RC" + TSocket.sETX();
            clientCalc2.ClientSend(st);

            //calculatePrimeNumber(2, 20000000);
            //foreach (int num in NumPNOrg)
            //{
            //    Console.Write("{0}\r\n", num.ToString());
            //}
        }