private void bt_Tim_Click(object sender, EventArgs e) { if (tb_loaikhuyenmai.Text!= "") { lv_dsketqua.Items.Clear(); client = new ServiceReference1.Service1Client(); client.TimkhuyenmaiCompleted += new EventHandler<ServiceReference1.TimkhuyenmaiCompletedEventArgs>(TimkhuyenmaiCallBack); client.TimkhuyenmaiAsync(tb_loaikhuyenmai.Text); } else { lv_dsketqua.Items.Clear(); client = new ServiceReference1.Service1Client(); client.LoadNHCFCompleted += new EventHandler<ServiceReference1.LoadNHCFCompletedEventArgs>(LoadNHCFCallBack); client.LoadNHCFAsync(); } }