コード例 #1
0
        private void ShowFormRoom()
        {
            var formRoom = new FormRoom(houseId);

            formRoom.houseId = houseId;
            formRoom.ShowDialog();
        }
コード例 #2
0
        private void itemRoom_Click(object sender, EventArgs e)
        {
            FormRoom formRoom = new FormRoom();

            formRoom.MdiParent = this;
            formRoom.Show();
        }
コード例 #3
0
        private void roomToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var form = new FormRoom();

            ShowForm(form);
        }