private void chuyểnPhòngToolStripMenuItem_Click(object sender, EventArgs e) { frm_chuyenphong frm = new frm_chuyenphong(conn, dsphong); frm.get_matp_cu(lb_maphieudat.Text, lb_sophong.Text); frm.StartPosition = FormStartPosition.CenterScreen; frm.Show(); }
public frm_phongchuyen(frm_chuyenphong _chuyenphong, string pSoPhong) { InitializeComponent(); chuyenphong = _chuyenphong; labelmaphong.Text = pSoPhong; }