private void btnXemThietBi_Click(object sender, EventArgs e) { UserXemThietBiForm form = new UserXemThietBiForm(); form.Show(); form.Location = Location; this.Visible = false; form.formParent = this; }
private void button4_Click(object sender, EventArgs e) { List <CoSoVatChatDTO> csvcList = CoSoVatChatDAO.LayDanhSachCoSoVatChat("", "1"); MessageBox.Show(csvcList[5].TenVatChat); UserXemThietBiForm conme = new UserXemThietBiForm(); conme.Show(); }