private void btnInsRoom_ItemClick(object sender, ItemClickEventArgs e) { try { frmIns_Rooms afrmIns_Rooms = new frmIns_Rooms(this); afrmIns_Rooms.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnInsRoom_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
//======================================================= //Author: LinhTN //Function : Add Rooms //======================================================= private void btnAddRoom_Click(object sender, EventArgs e) { frmIns_Rooms afrmAddRooms = new frmIns_Rooms(this); afrmAddRooms.ShowDialog(); }