예제 #1
0
 private void btRechargeByCardID_Click(object sender, EventArgs e)
 {
     PrintCardServiceSOAP.PrintCardServiceClient client = new PrintCardServiceSOAP.PrintCardServiceClient();
     client.RechargePrinterQuota(Int32.Parse(cbCardIDs.SelectedItem.ToString()), Convert.ToDouble(cbAmountByCardID.SelectedItem));
 }
예제 #2
0
 private void btRechargeByUsername_Click(object sender, EventArgs e)
 {
     PrintCardServiceSOAP.PrintCardServiceClient client = new PrintCardServiceSOAP.PrintCardServiceClient();
     client.RechargeByUserName(cbUsernames.SelectedItem.ToString(), Convert.ToDouble(cbAmoutByUsername.SelectedItem));
 }