Ejemplo n.º 1
0
        private void Second_Click(object sender, EventArgs e)
        {
            if (comboBox2.Text == "")
            {
                roomchoice();
            }
            aRoom.roomvalue = comboBox2.Text;
            aRoom hr = new aRoom();

            hr.ShowDialog();
        }
Ejemplo n.º 2
0
        private void Second_Click(object sender, EventArgs e)
        {
            if (comboBox2.Text == "")
            {
                MessageBox.Show("호실을 선택해주세요!", "경고", MessageBoxButtons.OK, MessageBoxIcon.Question);
                return;
            }
            aRoom.roomvalue = comboBox2.Text;
            aRoom hr = new aRoom();

            hr.Show();
        }