private void connection_test_button_Click(object sender, EventArgs e)
        {
            AlertGUI temp5 = new AlertGUI();

            temp5.setMessage("Attempting to connect to server....", "");
            temp5.Show();

            try
            {
                PDA_GUI.ServerConnection conn = new PDA_GUI.ServerConnection();
                conn.connect();

                temp5.Close();
                temp5.Dispose();

                conn.disconnect();
                AlertGUI temp3 = new AlertGUI();
                temp3.setMessage("Server Connected Successfully!", "");
                temp3.Show();
            }
            catch
            {
                AlertGUI temp2 = new AlertGUI();
                temp2.setMessage("Could not find server");


                //temp2.ShowDialog();
                temp2.Show();

                temp5.Close();
                temp5.Dispose();
            }
        }
        private void connection_test_button_Click(object sender, EventArgs e)
        {
            AlertGUI temp5 = new AlertGUI();
            temp5.setMessage("Attempting to connect to server....", "");
            temp5.Show();

            try
            {
                PDA_GUI.ServerConnection conn = new PDA_GUI.ServerConnection();
                conn.connect();

                temp5.Close();
                temp5.Dispose();

                conn.disconnect();
                AlertGUI temp3 = new AlertGUI();
                temp3.setMessage("Server Connected Successfully!", "");
                temp3.Show();

            }
            catch
            {
                AlertGUI temp2 = new AlertGUI();
                temp2.setMessage("Could not find server");

                //temp2.ShowDialog();
                temp2.Show();

                temp5.Close();
                temp5.Dispose();

            }
        }