void carrier_GridDoubleClickEvent(object obj, gps_carrier carrier) { plate = carrier.plate;//车牌号或者人名 carrierid = carrier.carrier_id; if (carrierid == null) return; this.DialogResult = DialogResult.OK; }
void gridViewOperation_AfterAdd(gps_carrier obj) { gridView1.BestFitColumns(); }
void gridViewOperation_CreatingObjectEvent(gps_carrier obj) { obj.carrier_type = ctype; }