private void txtClient_TextChanged(object sender, EventArgs e) { try { CreditCardTable curentT = new CreditCardTable(); Suport.FillCombox(cmbCardForPay, curentT.GetCards(txtClient.Text), "numCard", "coudcCeditCard"); } catch { } }
private void myButton1_Click(object sender, EventArgs e) { frmAddCreditCard f1 = new frmAddCreditCard(); f1.ShowDialog(); CreditCardTable curentT = new CreditCardTable(); Suport.FillCombox(cmbCardList, curentT.GetCards(txtId.Text), "numCard", "coudcCeditCard"); }
private void btnAddCard_Click(object sender, EventArgs e) { frmAddCreditCard f1 = new frmAddCreditCard(); f1.ShowDialog(); CreditCardTable curentT = new CreditCardTable(); Suport.FillCombox(cmbCardForPay, curentT.GetCards(txtClient.Text), "numCard", "coudcCeditCard"); }
public frmTakeForLong(int br, string sl) { shortLong = sl; bra = br;//סניף InitializeComponent(); curentCardTable = new CreditCardTable(); Suport.FillCombox(cmbCity, ct.GetTable(), "nameCity", "coudeCity"); Suport.FillCombox(cmbLicenseKind, curentL.GetTable(), "nameLicense", "coudeLicense"); curentBranch = new Branch(br); txtBranch.Text = Convert.ToString(curentBranch.BranchName); btnOk.Visible = true; }
private void btnListCard_Click(object sender, EventArgs e) { CreditCardTable curentT = new CreditCardTable(); Suport.FillCombox(cmbCardList, curentT.GetCards(txtId.Text), "numCard", "coudcCeditCard"); }