private void odaGüncelleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RoomUpdateForm roomUpdateForm = new RoomUpdateForm(_room);

            roomUpdateForm.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            roomUpdateForm.MdiParent   = this;
            roomUpdateForm.Show();
        }
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     try
     {
         _room = (Room)lstRoomView.SelectedItems[0].Tag;
         RoomUpdateForm roomUpdateform = new RoomUpdateForm(_room);
         roomUpdateform.Show();
     }
     catch (Exception)
     {
         MessageBox.Show("Herhangi bir kayıt seçmediniz", "Bilgilendirme Penceresi", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }