private void Them_GiaVe(object sender, EventArgs e) { FormGiaVe frm = new FormGiaVe(); frm.txtIDVe.Text = SttTang().ToString(); frm.Show(); }
private void btnSuaGiaVe_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(IDDangChon) || string.IsNullOrEmpty(STT.ToString())) { MessageBox.Show("Click Vào Dòng Muốn Sửa"); return; } FormGiaVe frm4 = new FormGiaVe(); frm4.txtIDVe.Text = STT.ToString(); frm4.txtIDVe.Enabled = false; TruyenGiaVe(IDDangChon); frm4.Show(); }