Beispiel #1
0
        private void tsprzdj_Click(object sender, EventArgs e)
        {
            frmGuestRecode gr = new frmGuestRecode();

            gr.MdiParent = this;
            gr.Show();
        }
Beispiel #2
0
        private void lvwRooms_DoubleClick(object sender, EventArgs e)
        {
            if (lvwRooms.SelectedItems.Count == 0)
            {
                return;
            }
            //被选中的第一项值
            ListViewItem item = lvwRooms.SelectedItems[0];
            //对应节点的值
            Room           rm  = (Room)item.Tag;
            frmGuestRecode frm = new frmGuestRecode();

            frm.SetCmdInfo(rm.RoomID);
            frm.ShowDialog();
        }