public static DialogResult showPopupRoomDetail(IWin32Window host, int room_id) { RoomPopupDetail sPopup = new RoomPopupDetail(); // sPopup.ShowIcon = false; sPopup.ShowInTaskbar = false; sPopup.HelpButton = false; sPopup.MinimizeBox = false; sPopup.MaximizeBox = false; sPopup.MaximumSize = sPopup.MinimumSize = sPopup.Size; sPopup.StartPosition = FormStartPosition.CenterScreen; // sPopup.room_id = room_id; // DialogResult dl = sPopup.ShowDialog(host); // sPopup.Dispose(); // return(dl); }
public static DialogResult showPopupRoomDetail(IWin32Window host, int room_id) { RoomPopupDetail sPopup = new RoomPopupDetail(); // sPopup.ShowIcon = false; sPopup.ShowInTaskbar = false; sPopup.HelpButton = false; sPopup.MinimizeBox = false; sPopup.MaximizeBox = false; sPopup.MaximumSize = sPopup.MinimumSize = sPopup.Size; sPopup.StartPosition = FormStartPosition.CenterScreen; // sPopup.room_id = room_id; // DialogResult dl = sPopup.ShowDialog(host); // sPopup.Dispose(); // return dl; }