示例#1
0
文件: mainForm.cs 项目: summy00/COM
 private void btnBuyCar_Click(object sender, System.EventArgs e)
 {
     try
     {
         ci.BuyCar(Int32.Parse(txtBuyCarID.Text));
         UpdateGrid();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
示例#2
0
 private void btnBuyCar_Click(object sender, System.EventArgs e)
 {
     ci.BuyCar(Int32.Parse(txtBuyCarID.Text));
     UpdateGrid();
 }