private void frmAddArea_Load(object sender, EventArgs e) { string maLast = arBus.getLastMaKV(); txtMaKV.Text = SetIDAutomatic.getIDAutomatic2(maLast); txtMaKV.ReadOnly = true; }
private void frmAddCustomer_Load(object sender, EventArgs e) { loadKV(); string maKVLast = cusBUS.getMaKHLast(); txtMa.Text = SetIDAutomatic.getIDAutomatic2(maKVLast); txtMa.ReadOnly = true; }
private void frmAddSupplier_Load(object sender, EventArgs e) { loadKV(); string maNCCLast = supBus.getMaNCCLast(); string MaNCC = SetIDAutomatic.getIDAutomatic3(maNCCLast); txtMa.Text = MaNCC; txtMa.ReadOnly = true; }