Example #1
0
        private void Room_Loading()
        {
            Hide();
            ROOMFORM roomForm = new ROOMFORM();

            roomForm.FormClosed += new FormClosedEventHandler(childForm_Closed);
            roomForm.Show();
        }
Example #2
0
        private void Exitbutton_Click(object sender, EventArgs e)
        {
            SelectPerson();
            //string txt = "상대방이 나갔습니다.";
            updateroom();
            if (result == "2" && Commons.Mousedown == 0)
            {
                UpdatePerson1();
            }
            else if (result == "1" && Commons.Mousedown == 0)
            {
                DeleteRoom();
            }

            threads.Abort();
            Hide();
            ROOMFORM roomFORM = new ROOMFORM();

            //roomFORM.FormClosed += new FormClosedEventHandler(childForm_Closed);
            roomFORM.Show();
        }