xenadmin/XenAdmin/Controls
Danilo Del Busso 6c584bb351
CA-375532, CA-336510, and CP-41825: Add warnings when user selects too many vCPUs (#3119)
* Tidy up `SelectMultipleVMDestinationPage.cs`
* CA-375532 & CA-336510: Add warning when importing VMs with too many vCPUs
* CA-375532 & CA-336510: Prevent users from starting appliance if a VM has too many vCPUs
* Tidy up `Page_CpuMem`: use expression-bodied properties
* Tidy up `Page_CpuMem`: use conventional naming scheme
* Tidy up `Page_CpuMem`: use explicit modifiers
* Tidy up `Page_CpuMem`: use `en-US` locale for names
* Tidy up `Page_CpuMem`: use `var` when possible
* Tidy up `Page_CpuMem`: rename `Vcpus` to `VCpus`
* Tidy up `Page_CpuMem`: reorder elements
* Tidy up `Page_CpuMem`: revert class renaming and fix `vCpus` typos
* CA-375532: Prevent users from starting VM if they select too many vCPUs
* Tidy up `Page_Finish`: use expression-bodied properties
* Tidy up `Page_Finish`: fix typo
* Tidy up `Page_CpuMem`: rename `CanStartVM` to `CanStartVm`
* Remove unnecessary using directives
* Anchor warning icon to the top-left corner of its parent
* CA-375532 & CA-336510: Warn users when selecting more vCPUs than pCPUs in the Properties page
* CP-41825: Add warning for imported VMs with > 32 vCPUs
* CP-41825: Add warning for new VMs with > 32 vCPUs
* CP-41825: Add warning for existing VMs when selecting > 32 vCPUs
* CP-41825: Update wording used to alert users running VMs with > 32vCPUs
* Remove unused local variable in `VappStartCommand.cs`
* Reword some vCPUs messages
* Simplify assignment of `CanStartImmediately` in `Page_Finish.cs`
* Simplify assignment of `CanStartVmsAutomatically` in `ImportFinishPage.cs`
* Remove useless `Count` check in `VappStartCommand`
* Rename `pictureBox1` to `warningPictureBox` and change its `SizeMode`
* Separate CPU and memory warnings in `Page_CpuMem`
* Shorten warning messages shown in `Page_CpuMem`
* Disable option to start VM when memory configuration isn't valid
* Report number of vCPUs and pCPUs when showing warning in New VM wizard
* Tidy up `CpuMemoryEditPage`: rename elements
* Tidy up `CpuMemoryEditPage`: use explicity modifiers
* Tidy up `CpuMemoryEditPage`: Rename `CPUMemoryEditPage` to `CpuMemoryEditPage`
* Tidy up `CpuMemoryEditPage`: Miscellaneous renames and improvements
* Tidy up `CpuMemoryEditPage`: Fix whitespace
* Tidy up `CpuMemoryEditPage`: Use ReSharper code formatter
* Tidy up `CpuMemoryEditPage`: Move events to own region
* Tidy up `CpuMemoryEditPage`: Move `IEditPage` members to own region
* Tidy up `CpuMemoryEditPage`: Order members outside of regions
* Replace topology and vCPU warning labels with structured warnings
* Ensure warnings ends with a dot
* Allow multiple CPU warnings to show at the same time
* Remove warning link for vCPUS > pCPUS Option is not achievable
* Enable option to force unit used in `MemorySpinner`
* Replace `NumericUpDown` with `MemorySpinner` and show warnings at bottom of control
* Check destination pCPUs count when destination is not a pool
* Do not disable option to start VMs after import if user selects a shared SR
* Add memory warning when importing appliance with too much memory
* Sort vCPUs and memory warning strings
* Remove target from `ImportWizard`'s summary
Target is not useful and can cause confusion as appliance VMs could start on non-target hosts
* The home server is needed in the summary when importing XVA. The target server is not needed in the summary when migrating a VM.
* Update warnings when the server selection changes. Corrected memory calculation.
* Show all warnings for vCPUs. Moved topology warning to the bottom. Separated methods for showing memory and vCPU warnings.
* Removed the memory setting from the VM Properties dialog. Split running VM info to a separate panel.
* Corrections to the logic for starting the VM automatically. Also, Fixed a bit the layout of the Finish page to make better use of the available space.
* Corrections as per code review.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
Co-authored-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-06-08 11:24:39 +01:00
..
AD Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Ballooning CA-375532, CA-336510, and CP-41825: Add warnings when user selects too many vCPUs (#3119) 2023-06-08 11:24:39 +01:00
CheckableDataGridView Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ComboBoxes Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Common Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ConsoleTab Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
CustomDataGraph Add missing reads/s unit mapping 2023-05-05 14:53:58 +01:00
CustomGridView Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
CustomListPanel Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DataGridViewEx Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Folders Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
GPU Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
MainWindowControls CP-40842: Remove CIS upload from Server Status Report wizard (#3087) 2023-02-13 13:47:21 +00:00
NetworkingTab Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
SummaryPanel Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Tags Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
TreeViews Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Wlb Revert IsCompleted checks 2023-05-02 09:00:54 +01:00
XenSearch Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
AffinityPicker.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
AffinityPicker.Designer.cs Fixes issue where the Finish page of the NewVM wizard was not showing the selected home server correctly. 2022-10-07 09:19:10 +01:00
AffinityPicker.ja.resx L10N : Translation Updates 2019-06-09 17:04:28 +01:00
AffinityPicker.resx CA-107915: Fixed radiobutton text truncation on the AffinityPicker by providing 2013-09-27 13:33:57 +01:00
AffinityPicker.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
BondDetails.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
BondDetails.Designer.cs Reduced accessibility of controls to private. Moved some of the wizard cancelling 2019-01-08 12:01:46 +00:00
BondDetails.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
BondDetails.resx CA-188553: [PAR-80] Creating a VLAN with MTU 9000 should be disabled 2015-12-21 18:09:48 +00:00
BondDetails.zh-CN.resx L10N : Translation updates and bug fixes 2017-07-19 15:09:10 +05:30
BootOrderListBox.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ChevronButton.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ChevronButton.Designer.cs CA-136768: Fixed bad layout of buttons at the top of the snapshots tab page. Also fixed text alignment on the chevron button. 2016-07-20 00:04:06 +01:00
ChevronButton.ja.resx L10N: Ely:Translation check-ins 2016-09-15 16:47:31 +05:30
ChevronButton.resx CA-136768: Fixed bad layout of buttons at the top of the snapshots tab page. Also fixed text alignment on the chevron button. 2016-07-20 00:04:06 +01:00
ChevronButton.zh-CN.resx L10N: Ely:Translation check-ins 2016-09-15 16:47:31 +05:30
ChevronToggleButton.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ColorsHelper.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ColorsHelper.Designer.cs
ColorsHelper.ja.resx L10N:Translations check-ins 2017-01-12 13:22:48 +00:00
ColorsHelper.resx
ColorsHelper.zh-CN.resx L10N:Translations check-ins 2017-01-06 12:46:19 +00:00
ConnectionWrapperWithMoreStuff.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ConsolePanel.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ConsolePanel.Designer.cs Fixed issue where the error message was not displayed if connection to the host console was not possible. 2016-07-03 17:45:49 +01:00
ConsolePanel.ja.resx L10N: Ely:Translation check-ins 2016-09-15 16:47:31 +05:30
ConsolePanel.resx Fixed issue where the error message was not displayed if connection to the host console was not possible. 2016-07-03 17:45:49 +01:00
ConsolePanel.zh-CN.resx L10N: Ely:Translation check-ins 2016-09-15 16:47:31 +05:30
CustomTreeNode.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
CustomTreeView.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
CustomTreeView.Designer.cs
CustomTreeView.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
CustomTreeView.resx
CustomTreeView.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
DataGridViewDropDownSplitButtonCell.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DataGridViewEnableableComboBoxCell.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DataGridViewTextAndImageCell.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DateTimeMinutes15.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DecentGroupBox.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DeprecationBanner.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DeprecationBanner.Designer.cs Use the DEPRECATION_URL as the default value for the Details link of the DeprecationBanner 2021-09-23 10:44:43 +01:00
DeprecationBanner.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
DeprecationBanner.resx
DeprecationBanner.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
DiskSpinner.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DiskSpinner.Designer.cs CP-29522, CA-302477: Added TB option to the NumericUpdown of the NewDiskDialog and fixed validation on the VDISizeLocationPage. 2019-10-14 09:24:36 +01:00
DiskSpinner.ja.resx CP-29522, CA-302477: Added TB option to the NumericUpdown of the NewDiskDialog and fixed validation on the VDISizeLocationPage. 2019-10-14 09:24:36 +01:00
DiskSpinner.resx Corrected message and tab indices. 2019-10-14 09:24:36 +01:00
DiskSpinner.zh-CN.resx CP-29522, CA-302477: Added TB option to the NumericUpdown of the NewDiskDialog and fixed validation on the VDISizeLocationPage. 2019-10-14 09:24:36 +01:00
DoubleBufferedListView.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DoubleBufferedPanel.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DoubleBufferedPanel.Designer.cs
DropDownButton.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DropDownButton.Designer.cs
DropDownButton.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
DropDownButton.resx
DropDownButton.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
EmptyPanel.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
EmptyPanel.Designer.cs
FilterDatesToolStripDropDownButton.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
FilterLocationToolStripDropDownButton.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
FilterSeveritiesToolStripDropDownButton.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
FilterStatusToolStripDropDownButton.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
FlickerFreeListBox.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
FlickerFreePanel.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
FlickerFreePanel.Designer.cs
GradientPanel.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
HaNtolControl.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
HaNtolIndicator.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
HaNtolIndicator.Designer.cs CA-294292: Layout modifications to fix error message truncation issues. 2018-09-27 12:43:04 +01:00
HaNtolIndicator.ja.resx L10N: Translation updates along with Interface resync 2018-09-28 14:00:14 +01:00
HaNtolIndicator.resx CA-294292: Layout modifications to fix error message truncation issues. 2018-09-27 12:43:04 +01:00
HaNtolIndicator.zh-CN.resx L10N: Translation updates along with Interface resync 2018-09-28 14:00:14 +01:00
HaNtolIndicatorSimple.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
HaNtolIndicatorSimple.Designer.cs
HaNtolIndicatorSimple.ja.resx L10N : Resx resync and Translation Updates 2022-01-05 11:38:40 +00:00
HaNtolIndicatorSimple.resx CP-31105: Replaced the hardcoded name patterns in the resource files with format placeholders. 2021-03-31 11:50:32 +01:00
HaNtolIndicatorSimple.zh-CN.resx L10N : Resx resync and Translation Updates 2022-01-05 11:38:40 +00:00
HelpButton.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
HelpButton.Designer.cs
HelpButton.ja.resx L10N:Translations check-ins 2017-01-06 12:46:19 +00:00
HelpButton.resx
HelpButton.zh-CN.resx L10N:Translations check-ins 2017-01-06 12:46:19 +00:00
ListViewColumnSorter.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ListViewEx.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
LunPerVdiPicker.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
LunPerVdiPicker.Designer.cs
LunPerVdiPicker.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
LunPerVdiPicker.resx
LunPerVdiPicker.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
MenuStripEx.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
MultipleDvdIsoList.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
MultipleDvdIsoList.Designer.cs Fixes to the OO design of ISODropDownBox and CHChanger classes. Register template events on the Page_InstalaltionMedia. 2021-05-21 00:39:03 +01:00
MultipleDvdIsoList.ja.resx L10N : CA-207272 truncation issue fix 2019-07-23 11:27:21 +01:00
MultipleDvdIsoList.resx Fixed regression introduced in previous commit. Also, the MultipleDvdIsoList on the 2016-07-06 08:55:28 +01:00
MultipleDvdIsoList.zh-CN.resx L10N : CA-207272 truncation issue fix 2019-07-23 11:27:21 +01:00
NativeConstants.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
NonReopeningContextMenuStrip.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
PanelNoFocusScroll.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
PanelWithBorder.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
PDSection.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
PDSection.Designer.cs General TabPage layout modifications (includes CA-164372). (#2439) 2019-05-21 11:58:26 +01:00
PDSection.ja.resx L10N : translation update and Resx resync 2019-05-28 21:53:56 +01:00
PDSection.resx General TabPage layout modifications (includes CA-164372). (#2439) 2019-05-21 11:58:26 +01:00
PDSection.zh-CN.resx L10N : translation update and Resx resync 2019-05-28 21:53:56 +01:00
PoolHostPicker.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
PoolHostPicker.Designer.cs CP-19607: More event handlers that needed to be deregistered 2017-01-31 14:35:59 +00:00
PoolHostPicker.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
PoolHostPicker.resx
PoolHostPicker.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
PvsCacheStorageRow.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
PvsCacheStorageRow.Designer.cs CA-235381: XenCenter should not allow users to edit the PVS cache storage if it is in use 2016-12-13 11:09:23 +00:00
PvsCacheStorageRow.ja.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
PvsCacheStorageRow.resx CA-235381: XenCenter should not allow users to edit the PVS cache storage if it is in use 2016-12-13 11:09:23 +00:00
PvsCacheStorageRow.zh-CN.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
SectionHeaderLabel.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
SectionHeaderLabel.Designer.cs
ShadowPanel.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ShadowPanel.ja.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
ShadowPanel.resx
ShadowPanel.zh-CN.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
SimpleProgressBar.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
SimpleProgressBar.Designer.cs
SmartScrollTextBox.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
SnapshotTreeView.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
SnapshotTreeView.designer.cs
SnapshotTreeView.ja.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
SnapshotTreeView.resx
SnapshotTreeView.zh-CN.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
SpinnerIcon.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
SRListBox.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
SrPicker.cs CA-375173: Create the VDI and VBD records before closing the new disk dialog. Also: 2023-02-28 15:36:13 +00:00
SrPickerItem.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ToolStripEx.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ToolTipContainer.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ToolTipContainer.Designer.cs
ToolTipContainer.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
ToolTipContainer.resx
ToolTipContainer.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
TransparentPanel.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
TransparentTrackBar.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
TransparentTrackBar.Designer.cs
TransparentTrackBar.ja.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
TransparentTrackBar.resx
TransparentTrackBar.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
UpsellPage.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
UpsellPage.Designer.cs CP-15401: Move hidden check out of designer 2016-01-22 17:02:59 +08:00
UpsellPage.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
UpsellPage.resx
UpsellPage.zh-CN.resx L10N : Translation Update and Resync 2019-11-11 15:23:40 +00:00
VerticalTabs.cs CP-40842: Remove CIS upload from Server Status Report wizard (#3087) 2023-02-13 13:47:21 +00:00
VisualMenuItem.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
XenTabControl.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
XenTabControl.Designer.cs
XenTabControl.ja.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
XenTabControl.resx
XenTabControl.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
XenTabPage.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
XenTabPage.Designer.cs
XenTabPage.ja.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
XenTabPage.resx
XenTabPage.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30