Exemplo n.º 1
0
        private void butThem_Click(object sender, EventArgs e)
        {
            roomOpenForm rOF = new roomOpenForm();

            rOF.goiHam = loadList;
            rOF.ShowDialog();
        }
Exemplo n.º 2
0
        private void listRoom_DoubleClick(object sender, EventArgs e)
        {
            String temp = listRoom.FocusedItem.Text;

            roomOpenForm rOF = new roomOpenForm(temp);

            rOF.goiHam = loadList;
            rOF.ShowDialog();
        }
Exemplo n.º 3
0
        private void butSua_Click(object sender, EventArgs e)
        {
            if (listRoom.SelectedItems.Count > 0)
            {
                String temp = listRoom.FocusedItem.Text;

                roomOpenForm rOF = new roomOpenForm(temp);
                rOF.goiHam = loadList;
                rOF.ShowDialog();
            }
            else
            {
                MessageBox.Show("hay chon phong tu danh sach!", "WARNING", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }