private void part5_btn_Click(object sender, EventArgs e)
 {
     webEncrypt.ServiceClient myclient = new webEncrypt.ServiceClient();  //creat proxy
     part5_En.Text = myclient.Encrypt(part5_txtinput.Text);               //Encrypt
     part5_De.Text = myclient.Decrypt(part5_En.Text);                     //Decrypt
     myclient.Close();
 }
 public string Encoder(Order order)
 {
     string  str = Convert.ToString(order.getID()) + "_" + Convert.ToString(order.getCardNo()) 
         + "_" + Convert.ToString(order.getAmt())+"_"+Convert.ToString(order.getPrice());
     webEncrypt.ServiceClient proxy = new webEncrypt.ServiceClient();//make sure your internet is connected
     return proxy.Encrypt(str);
   //  proxy.Close();
 }