From dfed1f4d6918e68f0052d18adb5e6ca9be75eb6e Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 29 Aug 2025 22:47:51 +0200 Subject: [PATCH] refactor(MainForm.Designer.cs): remove redundant margin declarations and simplify font definitions --- .../View/Implementation/MainForm.Designer.cs | 181 +++++++++--------- .../View/Implementation/MainForm.resx | 63 ++---- 2 files changed, 102 insertions(+), 142 deletions(-) diff --git a/src/Eve-O-Preview/View/Implementation/MainForm.Designer.cs b/src/Eve-O-Preview/View/Implementation/MainForm.Designer.cs index b1ca4ab..4677ef2 100644 --- a/src/Eve-O-Preview/View/Implementation/MainForm.Designer.cs +++ b/src/Eve-O-Preview/View/Implementation/MainForm.Designer.cs @@ -223,7 +223,7 @@ namespace EveOPreview.View { ContentTabControl.DrawMode = TabDrawMode.OwnerDrawFixed; ContentTabControl.ItemSize = new Size(35, 120); ContentTabControl.Location = new Point(0, 0); - ContentTabControl.Margin = new Padding(4, 4, 4, 4); + ContentTabControl.Margin = new Padding(4); ContentTabControl.Multiline = true; ContentTabControl.Name = "ContentTabControl"; ContentTabControl.SelectedIndex = 0; @@ -237,9 +237,9 @@ namespace EveOPreview.View { GeneralTabPage.BackColor = SystemColors.Control; GeneralTabPage.Controls.Add(GeneralSettingsPanel); GeneralTabPage.Location = new Point(124, 4); - GeneralTabPage.Margin = new Padding(4, 4, 4, 4); + GeneralTabPage.Margin = new Padding(4); GeneralTabPage.Name = "GeneralTabPage"; - GeneralTabPage.Padding = new Padding(4, 4, 4, 4); + GeneralTabPage.Padding = new Padding(4); GeneralTabPage.Size = new Size(336, 363); GeneralTabPage.TabIndex = 0; GeneralTabPage.Text = "General"; @@ -258,7 +258,7 @@ namespace EveOPreview.View { GeneralSettingsPanel.Controls.Add(MinimizeToTrayCheckBox); GeneralSettingsPanel.Dock = DockStyle.Fill; GeneralSettingsPanel.Location = new Point(4, 4); - GeneralSettingsPanel.Margin = new Padding(4, 4, 4, 4); + GeneralSettingsPanel.Margin = new Padding(4); GeneralSettingsPanel.Name = "GeneralSettingsPanel"; GeneralSettingsPanel.Size = new Size(328, 355); GeneralSettingsPanel.TabIndex = 18; @@ -279,7 +279,7 @@ namespace EveOPreview.View { AnimationStyleCombo.DropDownStyle = ComboBoxStyle.DropDownList; AnimationStyleCombo.FormattingEnabled = true; AnimationStyleCombo.Location = new Point(105, 112); - AnimationStyleCombo.Margin = new Padding(4, 4, 4, 4); + AnimationStyleCombo.Margin = new Padding(4); AnimationStyleCombo.Name = "AnimationStyleCombo"; AnimationStyleCombo.Size = new Size(177, 23); AnimationStyleCombo.TabIndex = 26; @@ -289,7 +289,7 @@ namespace EveOPreview.View { // MinimizeInactiveClientsCheckBox.AutoSize = true; MinimizeInactiveClientsCheckBox.Location = new Point(9, 90); - MinimizeInactiveClientsCheckBox.Margin = new Padding(4, 4, 4, 4); + MinimizeInactiveClientsCheckBox.Margin = new Padding(4); MinimizeInactiveClientsCheckBox.Name = "MinimizeInactiveClientsCheckBox"; MinimizeInactiveClientsCheckBox.Size = new Size(178, 19); MinimizeInactiveClientsCheckBox.TabIndex = 24; @@ -301,7 +301,7 @@ namespace EveOPreview.View { // EnableClientLayoutTrackingCheckBox.AutoSize = true; EnableClientLayoutTrackingCheckBox.Location = new Point(9, 36); - EnableClientLayoutTrackingCheckBox.Margin = new Padding(4, 4, 4, 4); + EnableClientLayoutTrackingCheckBox.Margin = new Padding(4); EnableClientLayoutTrackingCheckBox.Name = "EnableClientLayoutTrackingCheckBox"; EnableClientLayoutTrackingCheckBox.Size = new Size(137, 19); EnableClientLayoutTrackingCheckBox.TabIndex = 19; @@ -315,7 +315,7 @@ namespace EveOPreview.View { HideActiveClientThumbnailCheckBox.Checked = true; HideActiveClientThumbnailCheckBox.CheckState = CheckState.Checked; HideActiveClientThumbnailCheckBox.Location = new Point(9, 64); - HideActiveClientThumbnailCheckBox.Margin = new Padding(4, 4, 4, 4); + HideActiveClientThumbnailCheckBox.Margin = new Padding(4); HideActiveClientThumbnailCheckBox.Name = "HideActiveClientThumbnailCheckBox"; HideActiveClientThumbnailCheckBox.Size = new Size(197, 19); HideActiveClientThumbnailCheckBox.TabIndex = 20; @@ -329,7 +329,7 @@ namespace EveOPreview.View { ShowThumbnailsAlwaysOnTopCheckBox.Checked = true; ShowThumbnailsAlwaysOnTopCheckBox.CheckState = CheckState.Checked; ShowThumbnailsAlwaysOnTopCheckBox.Location = new Point(9, 143); - ShowThumbnailsAlwaysOnTopCheckBox.Margin = new Padding(4, 4, 4, 4); + ShowThumbnailsAlwaysOnTopCheckBox.Margin = new Padding(4); ShowThumbnailsAlwaysOnTopCheckBox.Name = "ShowThumbnailsAlwaysOnTopCheckBox"; ShowThumbnailsAlwaysOnTopCheckBox.RightToLeft = RightToLeft.No; ShowThumbnailsAlwaysOnTopCheckBox.Size = new Size(148, 19); @@ -344,7 +344,7 @@ namespace EveOPreview.View { HideThumbnailsOnLostFocusCheckBox.Checked = true; HideThumbnailsOnLostFocusCheckBox.CheckState = CheckState.Checked; HideThumbnailsOnLostFocusCheckBox.Location = new Point(9, 171); - HideThumbnailsOnLostFocusCheckBox.Margin = new Padding(4, 4, 4, 4); + HideThumbnailsOnLostFocusCheckBox.Margin = new Padding(4); HideThumbnailsOnLostFocusCheckBox.Name = "HideThumbnailsOnLostFocusCheckBox"; HideThumbnailsOnLostFocusCheckBox.Size = new Size(252, 19); HideThumbnailsOnLostFocusCheckBox.TabIndex = 22; @@ -358,7 +358,7 @@ namespace EveOPreview.View { EnablePerClientThumbnailsLayoutsCheckBox.Checked = true; EnablePerClientThumbnailsLayoutsCheckBox.CheckState = CheckState.Checked; EnablePerClientThumbnailsLayoutsCheckBox.Location = new Point(9, 199); - EnablePerClientThumbnailsLayoutsCheckBox.Margin = new Padding(4, 4, 4, 4); + EnablePerClientThumbnailsLayoutsCheckBox.Margin = new Padding(4); EnablePerClientThumbnailsLayoutsCheckBox.Name = "EnablePerClientThumbnailsLayoutsCheckBox"; EnablePerClientThumbnailsLayoutsCheckBox.Size = new Size(200, 19); EnablePerClientThumbnailsLayoutsCheckBox.TabIndex = 23; @@ -370,7 +370,7 @@ namespace EveOPreview.View { // MinimizeToTrayCheckBox.AutoSize = true; MinimizeToTrayCheckBox.Location = new Point(9, 8); - MinimizeToTrayCheckBox.Margin = new Padding(4, 4, 4, 4); + MinimizeToTrayCheckBox.Margin = new Padding(4); MinimizeToTrayCheckBox.Name = "MinimizeToTrayCheckBox"; MinimizeToTrayCheckBox.Size = new Size(155, 19); MinimizeToTrayCheckBox.TabIndex = 18; @@ -383,9 +383,9 @@ namespace EveOPreview.View { ThumbnailTabPage.BackColor = SystemColors.Control; ThumbnailTabPage.Controls.Add(ThumbnailSettingsPanel); ThumbnailTabPage.Location = new Point(124, 4); - ThumbnailTabPage.Margin = new Padding(4, 4, 4, 4); + ThumbnailTabPage.Margin = new Padding(4); ThumbnailTabPage.Name = "ThumbnailTabPage"; - ThumbnailTabPage.Padding = new Padding(4, 4, 4, 4); + ThumbnailTabPage.Padding = new Padding(4); ThumbnailTabPage.Size = new Size(336, 363); ThumbnailTabPage.TabIndex = 1; ThumbnailTabPage.Text = "Thumbnail"; @@ -423,7 +423,7 @@ namespace EveOPreview.View { ThumbnailSettingsPanel.Controls.Add(OpacityLabel); ThumbnailSettingsPanel.Dock = DockStyle.Fill; ThumbnailSettingsPanel.Location = new Point(4, 4); - ThumbnailSettingsPanel.Margin = new Padding(4, 4, 4, 4); + ThumbnailSettingsPanel.Margin = new Padding(4); ThumbnailSettingsPanel.Name = "ThumbnailSettingsPanel"; ThumbnailSettingsPanel.Size = new Size(328, 355); ThumbnailSettingsPanel.TabIndex = 19; @@ -431,8 +431,8 @@ namespace EveOPreview.View { // EnableThumbnailRegionSnippingCheckBox // EnableThumbnailRegionSnippingCheckBox.AutoSize = true; - EnableThumbnailRegionSnippingCheckBox.Location = new Point(13, 186); - EnableThumbnailRegionSnippingCheckBox.Margin = new Padding(4, 4, 4, 4); + EnableThumbnailRegionSnippingCheckBox.Location = new Point(13, 194); + EnableThumbnailRegionSnippingCheckBox.Margin = new Padding(4); EnableThumbnailRegionSnippingCheckBox.Name = "EnableThumbnailRegionSnippingCheckBox"; EnableThumbnailRegionSnippingCheckBox.Size = new Size(151, 19); EnableThumbnailRegionSnippingCheckBox.TabIndex = 40; @@ -443,7 +443,7 @@ namespace EveOPreview.View { // RegionLeftLabel // RegionLeftLabel.AutoSize = true; - RegionLeftLabel.Location = new Point(9, 210); + RegionLeftLabel.Location = new Point(13, 223); RegionLeftLabel.Margin = new Padding(4, 0, 4, 0); RegionLeftLabel.Name = "RegionLeftLabel"; RegionLeftLabel.Size = new Size(27, 15); @@ -456,8 +456,8 @@ namespace EveOPreview.View { RegionLeftNumericEdit.BorderStyle = BorderStyle.FixedSingle; RegionLeftNumericEdit.CausesValidation = false; RegionLeftNumericEdit.Increment = new decimal(new int[] { 10, 0, 0, 0 }); - RegionLeftNumericEdit.Location = new Point(65, 207); - RegionLeftNumericEdit.Margin = new Padding(4, 4, 4, 4); + RegionLeftNumericEdit.Location = new Point(65, 221); + RegionLeftNumericEdit.Margin = new Padding(4); RegionLeftNumericEdit.Maximum = new decimal(new int[] { 999999, 0, 0, 0 }); RegionLeftNumericEdit.Name = "RegionLeftNumericEdit"; RegionLeftNumericEdit.Size = new Size(56, 23); @@ -467,7 +467,7 @@ namespace EveOPreview.View { // RegionTopLabel // RegionTopLabel.AutoSize = true; - RegionTopLabel.Location = new Point(128, 210); + RegionTopLabel.Location = new Point(139, 223); RegionTopLabel.Margin = new Padding(4, 0, 4, 0); RegionTopLabel.Name = "RegionTopLabel"; RegionTopLabel.Size = new Size(27, 15); @@ -480,8 +480,8 @@ namespace EveOPreview.View { RegionTopNumericEdit.BorderStyle = BorderStyle.FixedSingle; RegionTopNumericEdit.CausesValidation = false; RegionTopNumericEdit.Increment = new decimal(new int[] { 10, 0, 0, 0 }); - RegionTopNumericEdit.Location = new Point(168, 208); - RegionTopNumericEdit.Margin = new Padding(4, 4, 4, 4); + RegionTopNumericEdit.Location = new Point(179, 221); + RegionTopNumericEdit.Margin = new Padding(4); RegionTopNumericEdit.Maximum = new decimal(new int[] { 999999, 0, 0, 0 }); RegionTopNumericEdit.Name = "RegionTopNumericEdit"; RegionTopNumericEdit.Size = new Size(56, 23); @@ -491,7 +491,7 @@ namespace EveOPreview.View { // RegionWidthLabel // RegionWidthLabel.AutoSize = true; - RegionWidthLabel.Location = new Point(9, 234); + RegionWidthLabel.Location = new Point(11, 248); RegionWidthLabel.Margin = new Padding(4, 0, 4, 0); RegionWidthLabel.Name = "RegionWidthLabel"; RegionWidthLabel.Size = new Size(39, 15); @@ -504,8 +504,8 @@ namespace EveOPreview.View { RegionWidthNumericEdit.BorderStyle = BorderStyle.FixedSingle; RegionWidthNumericEdit.CausesValidation = false; RegionWidthNumericEdit.Increment = new decimal(new int[] { 10, 0, 0, 0 }); - RegionWidthNumericEdit.Location = new Point(65, 231); - RegionWidthNumericEdit.Margin = new Padding(4, 4, 4, 4); + RegionWidthNumericEdit.Location = new Point(65, 246); + RegionWidthNumericEdit.Margin = new Padding(4); RegionWidthNumericEdit.Maximum = new decimal(new int[] { 999999, 0, 0, 0 }); RegionWidthNumericEdit.Name = "RegionWidthNumericEdit"; RegionWidthNumericEdit.Size = new Size(56, 23); @@ -515,7 +515,7 @@ namespace EveOPreview.View { // RegionHeightLabel // RegionHeightLabel.AutoSize = true; - RegionHeightLabel.Location = new Point(128, 234); + RegionHeightLabel.Location = new Point(132, 248); RegionHeightLabel.Margin = new Padding(4, 0, 4, 0); RegionHeightLabel.Name = "RegionHeightLabel"; RegionHeightLabel.Size = new Size(43, 15); @@ -528,8 +528,8 @@ namespace EveOPreview.View { RegionHeightNumericEdit.BorderStyle = BorderStyle.FixedSingle; RegionHeightNumericEdit.CausesValidation = false; RegionHeightNumericEdit.Increment = new decimal(new int[] { 10, 0, 0, 0 }); - RegionHeightNumericEdit.Location = new Point(168, 232); - RegionHeightNumericEdit.Margin = new Padding(4, 4, 4, 4); + RegionHeightNumericEdit.Location = new Point(179, 246); + RegionHeightNumericEdit.Margin = new Padding(4); RegionHeightNumericEdit.Maximum = new decimal(new int[] { 999999, 0, 0, 0 }); RegionHeightNumericEdit.Name = "RegionHeightNumericEdit"; RegionHeightNumericEdit.Size = new Size(56, 23); @@ -538,10 +538,10 @@ namespace EveOPreview.View { // // PickRegionButton // - PickRegionButton.Location = new Point(65, 286); - PickRegionButton.Margin = new Padding(4, 4, 4, 4); + PickRegionButton.Location = new Point(65, 305); + PickRegionButton.Margin = new Padding(4); PickRegionButton.Name = "PickRegionButton"; - PickRegionButton.Size = new Size(84, 21); + PickRegionButton.Size = new Size(170, 21); PickRegionButton.TabIndex = 49; PickRegionButton.Text = "Pick Region"; PickRegionButton.UseVisualStyleBackColor = true; @@ -550,7 +550,7 @@ namespace EveOPreview.View { // ProfileLabel // ProfileLabel.AutoSize = true; - ProfileLabel.Location = new Point(9, 261); + ProfileLabel.Location = new Point(9, 280); ProfileLabel.Margin = new Padding(4, 0, 4, 0); ProfileLabel.Name = "ProfileLabel"; ProfileLabel.Size = new Size(41, 15); @@ -560,8 +560,8 @@ namespace EveOPreview.View { // ProfileComboBox // ProfileComboBox.DropDownStyle = ComboBoxStyle.DropDownList; - ProfileComboBox.Location = new Point(65, 258); - ProfileComboBox.Margin = new Padding(4, 4, 4, 4); + ProfileComboBox.Location = new Point(65, 277); + ProfileComboBox.Margin = new Padding(4); ProfileComboBox.Name = "ProfileComboBox"; ProfileComboBox.Size = new Size(106, 23); ProfileComboBox.TabIndex = 51; @@ -569,8 +569,8 @@ namespace EveOPreview.View { // // SaveProfileButton // - SaveProfileButton.Location = new Point(179, 260); - SaveProfileButton.Margin = new Padding(4, 4, 4, 4); + SaveProfileButton.Location = new Point(179, 277); + SaveProfileButton.Margin = new Padding(4); SaveProfileButton.Name = "SaveProfileButton"; SaveProfileButton.Size = new Size(56, 21); SaveProfileButton.TabIndex = 52; @@ -580,8 +580,8 @@ namespace EveOPreview.View { // // DeleteProfileButton // - DeleteProfileButton.Location = new Point(243, 260); - DeleteProfileButton.Margin = new Padding(4, 4, 4, 4); + DeleteProfileButton.Location = new Point(243, 277); + DeleteProfileButton.Margin = new Padding(4); DeleteProfileButton.Name = "DeleteProfileButton"; DeleteProfileButton.Size = new Size(56, 21); DeleteProfileButton.TabIndex = 53; @@ -592,7 +592,7 @@ namespace EveOPreview.View { // ThumbnailSnapRangeLabel // ThumbnailSnapRangeLabel.AutoSize = true; - ThumbnailSnapRangeLabel.Location = new Point(9, 167); + ThumbnailSnapRangeLabel.Location = new Point(13, 167); ThumbnailSnapRangeLabel.Margin = new Padding(4, 0, 4, 0); ThumbnailSnapRangeLabel.Name = "ThumbnailSnapRangeLabel"; ThumbnailSnapRangeLabel.Size = new Size(69, 15); @@ -606,8 +606,7 @@ namespace EveOPreview.View { ThumbnailSnapRangeNumericEdit.CausesValidation = false; ThumbnailSnapRangeNumericEdit.Increment = new decimal(new int[] { 5, 0, 0, 0 }); ThumbnailSnapRangeNumericEdit.Location = new Point(86, 165); - ThumbnailSnapRangeNumericEdit.Margin = new Padding(4, 4, 4, 4); - ThumbnailSnapRangeNumericEdit.Minimum = new decimal(new int[] { 0, 0, 0, 0 }); + ThumbnailSnapRangeNumericEdit.Margin = new Padding(4); ThumbnailSnapRangeNumericEdit.Maximum = new decimal(new int[] { 999999, 0, 0, 0 }); ThumbnailSnapRangeNumericEdit.Name = "ThumbnailSnapRangeNumericEdit"; ThumbnailSnapRangeNumericEdit.Size = new Size(56, 23); @@ -619,7 +618,7 @@ namespace EveOPreview.View { // ThumbnailSnapToGridCheckBox.AutoSize = true; ThumbnailSnapToGridCheckBox.Location = new Point(13, 120); - ThumbnailSnapToGridCheckBox.Margin = new Padding(4, 4, 4, 4); + ThumbnailSnapToGridCheckBox.Margin = new Padding(4); ThumbnailSnapToGridCheckBox.Name = "ThumbnailSnapToGridCheckBox"; ThumbnailSnapToGridCheckBox.Size = new Size(152, 19); ThumbnailSnapToGridCheckBox.TabIndex = 32; @@ -633,8 +632,8 @@ namespace EveOPreview.View { ThumbnailSnapToGridSizeYNumericEdit.BorderStyle = BorderStyle.FixedSingle; ThumbnailSnapToGridSizeYNumericEdit.CausesValidation = false; ThumbnailSnapToGridSizeYNumericEdit.Increment = new decimal(new int[] { 10, 0, 0, 0 }); - ThumbnailSnapToGridSizeYNumericEdit.Location = new Point(152, 141); - ThumbnailSnapToGridSizeYNumericEdit.Margin = new Padding(4, 4, 4, 4); + ThumbnailSnapToGridSizeYNumericEdit.Location = new Point(179, 143); + ThumbnailSnapToGridSizeYNumericEdit.Margin = new Padding(4); ThumbnailSnapToGridSizeYNumericEdit.Maximum = new decimal(new int[] { 999999, 0, 0, 0 }); ThumbnailSnapToGridSizeYNumericEdit.Name = "ThumbnailSnapToGridSizeYNumericEdit"; ThumbnailSnapToGridSizeYNumericEdit.Size = new Size(56, 23); @@ -645,7 +644,7 @@ namespace EveOPreview.View { // SnapYLabel // SnapYLabel.AutoSize = true; - SnapYLabel.Location = new Point(128, 143); + SnapYLabel.Location = new Point(150, 145); SnapYLabel.Margin = new Padding(4, 0, 4, 0); SnapYLabel.Name = "SnapYLabel"; SnapYLabel.Size = new Size(14, 15); @@ -658,8 +657,8 @@ namespace EveOPreview.View { ThumbnailSnapToGridSizeXNumericEdit.BorderStyle = BorderStyle.FixedSingle; ThumbnailSnapToGridSizeXNumericEdit.CausesValidation = false; ThumbnailSnapToGridSizeXNumericEdit.Increment = new decimal(new int[] { 10, 0, 0, 0 }); - ThumbnailSnapToGridSizeXNumericEdit.Location = new Point(65, 141); - ThumbnailSnapToGridSizeXNumericEdit.Margin = new Padding(4, 4, 4, 4); + ThumbnailSnapToGridSizeXNumericEdit.Location = new Point(86, 141); + ThumbnailSnapToGridSizeXNumericEdit.Margin = new Padding(4); ThumbnailSnapToGridSizeXNumericEdit.Maximum = new decimal(new int[] { 999999, 0, 0, 0 }); ThumbnailSnapToGridSizeXNumericEdit.Name = "ThumbnailSnapToGridSizeXNumericEdit"; ThumbnailSnapToGridSizeXNumericEdit.Size = new Size(56, 23); @@ -681,7 +680,7 @@ namespace EveOPreview.View { // LockThumbnailLocationCheckbox.AutoSize = true; LockThumbnailLocationCheckbox.Location = new Point(13, 94); - LockThumbnailLocationCheckbox.Margin = new Padding(4, 4, 4, 4); + LockThumbnailLocationCheckbox.Margin = new Padding(4); LockThumbnailLocationCheckbox.Name = "LockThumbnailLocationCheckbox"; LockThumbnailLocationCheckbox.Size = new Size(161, 19); LockThumbnailLocationCheckbox.TabIndex = 26; @@ -716,7 +715,7 @@ namespace EveOPreview.View { ThumbnailsWidthNumericEdit.CausesValidation = false; ThumbnailsWidthNumericEdit.Increment = new decimal(new int[] { 10, 0, 0, 0 }); ThumbnailsWidthNumericEdit.Location = new Point(122, 36); - ThumbnailsWidthNumericEdit.Margin = new Padding(4, 4, 4, 4); + ThumbnailsWidthNumericEdit.Margin = new Padding(4); ThumbnailsWidthNumericEdit.Maximum = new decimal(new int[] { 999999, 0, 0, 0 }); ThumbnailsWidthNumericEdit.Name = "ThumbnailsWidthNumericEdit"; ThumbnailsWidthNumericEdit.Size = new Size(56, 23); @@ -731,7 +730,7 @@ namespace EveOPreview.View { ThumbnailsHeightNumericEdit.CausesValidation = false; ThumbnailsHeightNumericEdit.Increment = new decimal(new int[] { 10, 0, 0, 0 }); ThumbnailsHeightNumericEdit.Location = new Point(122, 64); - ThumbnailsHeightNumericEdit.Margin = new Padding(4, 4, 4, 4); + ThumbnailsHeightNumericEdit.Margin = new Padding(4); ThumbnailsHeightNumericEdit.Maximum = new decimal(new int[] { 99999999, 0, 0, 0 }); ThumbnailsHeightNumericEdit.Name = "ThumbnailsHeightNumericEdit"; ThumbnailsHeightNumericEdit.Size = new Size(56, 23); @@ -744,7 +743,7 @@ namespace EveOPreview.View { ThumbnailOpacityTrackBar.AutoSize = false; ThumbnailOpacityTrackBar.LargeChange = 10; ThumbnailOpacityTrackBar.Location = new Point(71, 7); - ThumbnailOpacityTrackBar.Margin = new Padding(4, 4, 4, 4); + ThumbnailOpacityTrackBar.Margin = new Padding(4); ThumbnailOpacityTrackBar.Maximum = 100; ThumbnailOpacityTrackBar.Minimum = 20; ThumbnailOpacityTrackBar.Name = "ThumbnailOpacityTrackBar"; @@ -769,7 +768,7 @@ namespace EveOPreview.View { ZoomTabPage.BackColor = SystemColors.Control; ZoomTabPage.Controls.Add(ZoomSettingsPanel); ZoomTabPage.Location = new Point(124, 4); - ZoomTabPage.Margin = new Padding(4, 4, 4, 4); + ZoomTabPage.Margin = new Padding(4); ZoomTabPage.Name = "ZoomTabPage"; ZoomTabPage.Size = new Size(336, 363); ZoomTabPage.TabIndex = 2; @@ -785,7 +784,7 @@ namespace EveOPreview.View { ZoomSettingsPanel.Controls.Add(ThumbnailZoomFactorNumericEdit); ZoomSettingsPanel.Dock = DockStyle.Fill; ZoomSettingsPanel.Location = new Point(0, 0); - ZoomSettingsPanel.Margin = new Padding(4, 4, 4, 4); + ZoomSettingsPanel.Margin = new Padding(4); ZoomSettingsPanel.Name = "ZoomSettingsPanel"; ZoomSettingsPanel.Size = new Size(336, 363); ZoomSettingsPanel.TabIndex = 36; @@ -813,7 +812,7 @@ namespace EveOPreview.View { ZoomAnchorPanel.Controls.Add(ZoomAanchorERadioButton); ZoomAnchorPanel.Controls.Add(ZoomAanchorSWRadioButton); ZoomAnchorPanel.Location = new Point(94, 62); - ZoomAnchorPanel.Margin = new Padding(4, 4, 4, 4); + ZoomAnchorPanel.Margin = new Padding(4); ZoomAnchorPanel.Name = "ZoomAnchorPanel"; ZoomAnchorPanel.Size = new Size(90, 84); ZoomAnchorPanel.TabIndex = 38; @@ -822,7 +821,7 @@ namespace EveOPreview.View { // ZoomAanchorNWRadioButton.AutoSize = true; ZoomAanchorNWRadioButton.Location = new Point(4, 4); - ZoomAanchorNWRadioButton.Margin = new Padding(4, 4, 4, 4); + ZoomAanchorNWRadioButton.Margin = new Padding(4); ZoomAanchorNWRadioButton.Name = "ZoomAanchorNWRadioButton"; ZoomAanchorNWRadioButton.Size = new Size(14, 13); ZoomAanchorNWRadioButton.TabIndex = 0; @@ -834,7 +833,7 @@ namespace EveOPreview.View { // ZoomAanchorNRadioButton.AutoSize = true; ZoomAanchorNRadioButton.Location = new Point(36, 4); - ZoomAanchorNRadioButton.Margin = new Padding(4, 4, 4, 4); + ZoomAanchorNRadioButton.Margin = new Padding(4); ZoomAanchorNRadioButton.Name = "ZoomAanchorNRadioButton"; ZoomAanchorNRadioButton.Size = new Size(14, 13); ZoomAanchorNRadioButton.TabIndex = 1; @@ -846,7 +845,7 @@ namespace EveOPreview.View { // ZoomAanchorNERadioButton.AutoSize = true; ZoomAanchorNERadioButton.Location = new Point(69, 4); - ZoomAanchorNERadioButton.Margin = new Padding(4, 4, 4, 4); + ZoomAanchorNERadioButton.Margin = new Padding(4); ZoomAanchorNERadioButton.Name = "ZoomAanchorNERadioButton"; ZoomAanchorNERadioButton.Size = new Size(14, 13); ZoomAanchorNERadioButton.TabIndex = 2; @@ -858,7 +857,7 @@ namespace EveOPreview.View { // ZoomAanchorWRadioButton.AutoSize = true; ZoomAanchorWRadioButton.Location = new Point(4, 34); - ZoomAanchorWRadioButton.Margin = new Padding(4, 4, 4, 4); + ZoomAanchorWRadioButton.Margin = new Padding(4); ZoomAanchorWRadioButton.Name = "ZoomAanchorWRadioButton"; ZoomAanchorWRadioButton.Size = new Size(14, 13); ZoomAanchorWRadioButton.TabIndex = 3; @@ -870,7 +869,7 @@ namespace EveOPreview.View { // ZoomAanchorSERadioButton.AutoSize = true; ZoomAanchorSERadioButton.Location = new Point(69, 64); - ZoomAanchorSERadioButton.Margin = new Padding(4, 4, 4, 4); + ZoomAanchorSERadioButton.Margin = new Padding(4); ZoomAanchorSERadioButton.Name = "ZoomAanchorSERadioButton"; ZoomAanchorSERadioButton.Size = new Size(14, 13); ZoomAanchorSERadioButton.TabIndex = 8; @@ -882,7 +881,7 @@ namespace EveOPreview.View { // ZoomAanchorCRadioButton.AutoSize = true; ZoomAanchorCRadioButton.Location = new Point(36, 34); - ZoomAanchorCRadioButton.Margin = new Padding(4, 4, 4, 4); + ZoomAanchorCRadioButton.Margin = new Padding(4); ZoomAanchorCRadioButton.Name = "ZoomAanchorCRadioButton"; ZoomAanchorCRadioButton.Size = new Size(14, 13); ZoomAanchorCRadioButton.TabIndex = 4; @@ -894,7 +893,7 @@ namespace EveOPreview.View { // ZoomAanchorSRadioButton.AutoSize = true; ZoomAanchorSRadioButton.Location = new Point(36, 64); - ZoomAanchorSRadioButton.Margin = new Padding(4, 4, 4, 4); + ZoomAanchorSRadioButton.Margin = new Padding(4); ZoomAanchorSRadioButton.Name = "ZoomAanchorSRadioButton"; ZoomAanchorSRadioButton.Size = new Size(14, 13); ZoomAanchorSRadioButton.TabIndex = 7; @@ -906,7 +905,7 @@ namespace EveOPreview.View { // ZoomAanchorERadioButton.AutoSize = true; ZoomAanchorERadioButton.Location = new Point(69, 34); - ZoomAanchorERadioButton.Margin = new Padding(4, 4, 4, 4); + ZoomAanchorERadioButton.Margin = new Padding(4); ZoomAanchorERadioButton.Name = "ZoomAanchorERadioButton"; ZoomAanchorERadioButton.Size = new Size(14, 13); ZoomAanchorERadioButton.TabIndex = 5; @@ -918,7 +917,7 @@ namespace EveOPreview.View { // ZoomAanchorSWRadioButton.AutoSize = true; ZoomAanchorSWRadioButton.Location = new Point(4, 64); - ZoomAanchorSWRadioButton.Margin = new Padding(4, 4, 4, 4); + ZoomAanchorSWRadioButton.Margin = new Padding(4); ZoomAanchorSWRadioButton.Name = "ZoomAanchorSWRadioButton"; ZoomAanchorSWRadioButton.Size = new Size(14, 13); ZoomAanchorSWRadioButton.TabIndex = 6; @@ -942,7 +941,7 @@ namespace EveOPreview.View { EnableThumbnailZoomCheckBox.Checked = true; EnableThumbnailZoomCheckBox.CheckState = CheckState.Checked; EnableThumbnailZoomCheckBox.Location = new Point(9, 8); - EnableThumbnailZoomCheckBox.Margin = new Padding(4, 4, 4, 4); + EnableThumbnailZoomCheckBox.Margin = new Padding(4); EnableThumbnailZoomCheckBox.Name = "EnableThumbnailZoomCheckBox"; EnableThumbnailZoomCheckBox.RightToLeft = RightToLeft.No; EnableThumbnailZoomCheckBox.Size = new Size(108, 19); @@ -956,7 +955,7 @@ namespace EveOPreview.View { ThumbnailZoomFactorNumericEdit.BackColor = SystemColors.Window; ThumbnailZoomFactorNumericEdit.BorderStyle = BorderStyle.FixedSingle; ThumbnailZoomFactorNumericEdit.Location = new Point(94, 36); - ThumbnailZoomFactorNumericEdit.Margin = new Padding(4, 4, 4, 4); + ThumbnailZoomFactorNumericEdit.Margin = new Padding(4); ThumbnailZoomFactorNumericEdit.Maximum = new decimal(new int[] { 10, 0, 0, 0 }); ThumbnailZoomFactorNumericEdit.Minimum = new decimal(new int[] { 2, 0, 0, 0 }); ThumbnailZoomFactorNumericEdit.Name = "ThumbnailZoomFactorNumericEdit"; @@ -970,7 +969,7 @@ namespace EveOPreview.View { OverlayTabPage.BackColor = SystemColors.Control; OverlayTabPage.Controls.Add(OverlaySettingsPanel); OverlayTabPage.Location = new Point(124, 4); - OverlayTabPage.Margin = new Padding(4, 4, 4, 4); + OverlayTabPage.Margin = new Padding(4); OverlayTabPage.Name = "OverlayTabPage"; OverlayTabPage.Size = new Size(336, 363); OverlayTabPage.TabIndex = 3; @@ -992,7 +991,7 @@ namespace EveOPreview.View { OverlaySettingsPanel.Controls.Add(ShowThumbnailFramesCheckBox); OverlaySettingsPanel.Dock = DockStyle.Fill; OverlaySettingsPanel.Location = new Point(0, 0); - OverlaySettingsPanel.Margin = new Padding(4, 4, 4, 4); + OverlaySettingsPanel.Margin = new Padding(4); OverlaySettingsPanel.Name = "OverlaySettingsPanel"; OverlaySettingsPanel.Size = new Size(336, 363); OverlaySettingsPanel.TabIndex = 25; @@ -1021,7 +1020,7 @@ namespace EveOPreview.View { // OverlayLabelColorButton.BorderStyle = BorderStyle.FixedSingle; OverlayLabelColorButton.Location = new Point(49, 145); - OverlayLabelColorButton.Margin = new Padding(4, 4, 4, 4); + OverlayLabelColorButton.Margin = new Padding(4); OverlayLabelColorButton.Name = "OverlayLabelColorButton"; OverlayLabelColorButton.Size = new Size(108, 19); OverlayLabelColorButton.TabIndex = 41; @@ -1033,7 +1032,7 @@ namespace EveOPreview.View { OverlayLabelSizeNumericEdit.BorderStyle = BorderStyle.FixedSingle; OverlayLabelSizeNumericEdit.CausesValidation = false; OverlayLabelSizeNumericEdit.Location = new Point(102, 115); - OverlayLabelSizeNumericEdit.Margin = new Padding(4, 4, 4, 4); + OverlayLabelSizeNumericEdit.Margin = new Padding(4); OverlayLabelSizeNumericEdit.Maximum = new decimal(new int[] { 30, 0, 0, 0 }); OverlayLabelSizeNumericEdit.Minimum = new decimal(new int[] { 5, 0, 0, 0 }); OverlayLabelSizeNumericEdit.Name = "OverlayLabelSizeNumericEdit"; @@ -1055,7 +1054,7 @@ namespace EveOPreview.View { panel1.Controls.Add(OverlayLabelERadioButton); panel1.Controls.Add(OverlayLabelSWRadioButton); panel1.Location = new Point(84, 172); - panel1.Margin = new Padding(4, 4, 4, 4); + panel1.Margin = new Padding(4); panel1.Name = "panel1"; panel1.Size = new Size(73, 66); panel1.TabIndex = 39; @@ -1064,7 +1063,7 @@ namespace EveOPreview.View { // OverlayLabelNWRadioButton.AutoSize = true; OverlayLabelNWRadioButton.Location = new Point(4, 4); - OverlayLabelNWRadioButton.Margin = new Padding(4, 4, 4, 4); + OverlayLabelNWRadioButton.Margin = new Padding(4); OverlayLabelNWRadioButton.Name = "OverlayLabelNWRadioButton"; OverlayLabelNWRadioButton.Size = new Size(14, 13); OverlayLabelNWRadioButton.TabIndex = 0; @@ -1076,7 +1075,7 @@ namespace EveOPreview.View { // OverlayLabelNRadioButton.AutoSize = true; OverlayLabelNRadioButton.Location = new Point(27, 4); - OverlayLabelNRadioButton.Margin = new Padding(4, 4, 4, 4); + OverlayLabelNRadioButton.Margin = new Padding(4); OverlayLabelNRadioButton.Name = "OverlayLabelNRadioButton"; OverlayLabelNRadioButton.Size = new Size(14, 13); OverlayLabelNRadioButton.TabIndex = 1; @@ -1088,7 +1087,7 @@ namespace EveOPreview.View { // OverlayLabelNERadioButton.AutoSize = true; OverlayLabelNERadioButton.Location = new Point(50, 4); - OverlayLabelNERadioButton.Margin = new Padding(4, 4, 4, 4); + OverlayLabelNERadioButton.Margin = new Padding(4); OverlayLabelNERadioButton.Name = "OverlayLabelNERadioButton"; OverlayLabelNERadioButton.Size = new Size(14, 13); OverlayLabelNERadioButton.TabIndex = 2; @@ -1100,7 +1099,7 @@ namespace EveOPreview.View { // OverlayLabelWRadioButton.AutoSize = true; OverlayLabelWRadioButton.Location = new Point(4, 25); - OverlayLabelWRadioButton.Margin = new Padding(4, 4, 4, 4); + OverlayLabelWRadioButton.Margin = new Padding(4); OverlayLabelWRadioButton.Name = "OverlayLabelWRadioButton"; OverlayLabelWRadioButton.Size = new Size(14, 13); OverlayLabelWRadioButton.TabIndex = 3; @@ -1112,7 +1111,7 @@ namespace EveOPreview.View { // OverlayLabelSERadioButton.AutoSize = true; OverlayLabelSERadioButton.Location = new Point(50, 46); - OverlayLabelSERadioButton.Margin = new Padding(4, 4, 4, 4); + OverlayLabelSERadioButton.Margin = new Padding(4); OverlayLabelSERadioButton.Name = "OverlayLabelSERadioButton"; OverlayLabelSERadioButton.Size = new Size(14, 13); OverlayLabelSERadioButton.TabIndex = 8; @@ -1124,7 +1123,7 @@ namespace EveOPreview.View { // OverlayLabelCRadioButton.AutoSize = true; OverlayLabelCRadioButton.Location = new Point(27, 25); - OverlayLabelCRadioButton.Margin = new Padding(4, 4, 4, 4); + OverlayLabelCRadioButton.Margin = new Padding(4); OverlayLabelCRadioButton.Name = "OverlayLabelCRadioButton"; OverlayLabelCRadioButton.Size = new Size(14, 13); OverlayLabelCRadioButton.TabIndex = 4; @@ -1136,7 +1135,7 @@ namespace EveOPreview.View { // OverlayLabelSRadioButton.AutoSize = true; OverlayLabelSRadioButton.Location = new Point(27, 46); - OverlayLabelSRadioButton.Margin = new Padding(4, 4, 4, 4); + OverlayLabelSRadioButton.Margin = new Padding(4); OverlayLabelSRadioButton.Name = "OverlayLabelSRadioButton"; OverlayLabelSRadioButton.Size = new Size(14, 13); OverlayLabelSRadioButton.TabIndex = 7; @@ -1148,7 +1147,7 @@ namespace EveOPreview.View { // OverlayLabelERadioButton.AutoSize = true; OverlayLabelERadioButton.Location = new Point(50, 25); - OverlayLabelERadioButton.Margin = new Padding(4, 4, 4, 4); + OverlayLabelERadioButton.Margin = new Padding(4); OverlayLabelERadioButton.Name = "OverlayLabelERadioButton"; OverlayLabelERadioButton.Size = new Size(14, 13); OverlayLabelERadioButton.TabIndex = 5; @@ -1160,7 +1159,7 @@ namespace EveOPreview.View { // OverlayLabelSWRadioButton.AutoSize = true; OverlayLabelSWRadioButton.Location = new Point(4, 46); - OverlayLabelSWRadioButton.Margin = new Padding(4, 4, 4, 4); + OverlayLabelSWRadioButton.Margin = new Padding(4); OverlayLabelSWRadioButton.Name = "OverlayLabelSWRadioButton"; OverlayLabelSWRadioButton.Size = new Size(14, 13); OverlayLabelSWRadioButton.TabIndex = 6; @@ -1192,7 +1191,7 @@ namespace EveOPreview.View { // ActiveClientHighlightColorButton.BorderStyle = BorderStyle.FixedSingle; ActiveClientHighlightColorButton.Location = new Point(49, 89); - ActiveClientHighlightColorButton.Margin = new Padding(4, 4, 4, 4); + ActiveClientHighlightColorButton.Margin = new Padding(4); ActiveClientHighlightColorButton.Name = "ActiveClientHighlightColorButton"; ActiveClientHighlightColorButton.Size = new Size(108, 19); ActiveClientHighlightColorButton.TabIndex = 28; @@ -1204,7 +1203,7 @@ namespace EveOPreview.View { EnableActiveClientHighlightCheckBox.Checked = true; EnableActiveClientHighlightCheckBox.CheckState = CheckState.Checked; EnableActiveClientHighlightCheckBox.Location = new Point(9, 64); - EnableActiveClientHighlightCheckBox.Margin = new Padding(4, 4, 4, 4); + EnableActiveClientHighlightCheckBox.Margin = new Padding(4); EnableActiveClientHighlightCheckBox.Name = "EnableActiveClientHighlightCheckBox"; EnableActiveClientHighlightCheckBox.RightToLeft = RightToLeft.No; EnableActiveClientHighlightCheckBox.Size = new Size(142, 19); @@ -1219,7 +1218,7 @@ namespace EveOPreview.View { ShowThumbnailOverlaysCheckBox.Checked = true; ShowThumbnailOverlaysCheckBox.CheckState = CheckState.Checked; ShowThumbnailOverlaysCheckBox.Location = new Point(9, 8); - ShowThumbnailOverlaysCheckBox.Margin = new Padding(4, 4, 4, 4); + ShowThumbnailOverlaysCheckBox.Margin = new Padding(4); ShowThumbnailOverlaysCheckBox.Name = "ShowThumbnailOverlaysCheckBox"; ShowThumbnailOverlaysCheckBox.RightToLeft = RightToLeft.No; ShowThumbnailOverlaysCheckBox.Size = new Size(96, 19); @@ -1234,7 +1233,7 @@ namespace EveOPreview.View { ShowThumbnailFramesCheckBox.Checked = true; ShowThumbnailFramesCheckBox.CheckState = CheckState.Checked; ShowThumbnailFramesCheckBox.Location = new Point(9, 36); - ShowThumbnailFramesCheckBox.Margin = new Padding(4, 4, 4, 4); + ShowThumbnailFramesCheckBox.Margin = new Padding(4); ShowThumbnailFramesCheckBox.Name = "ShowThumbnailFramesCheckBox"; ShowThumbnailFramesCheckBox.RightToLeft = RightToLeft.No; ShowThumbnailFramesCheckBox.Size = new Size(94, 19); @@ -1248,7 +1247,7 @@ namespace EveOPreview.View { ClientsTabPage.BackColor = SystemColors.Control; ClientsTabPage.Controls.Add(ClientsPanel); ClientsTabPage.Location = new Point(124, 4); - ClientsTabPage.Margin = new Padding(4, 4, 4, 4); + ClientsTabPage.Margin = new Padding(4); ClientsTabPage.Name = "ClientsTabPage"; ClientsTabPage.Size = new Size(336, 363); ClientsTabPage.TabIndex = 4; @@ -1261,7 +1260,7 @@ namespace EveOPreview.View { ClientsPanel.Controls.Add(ThumbnailsListLabel); ClientsPanel.Dock = DockStyle.Fill; ClientsPanel.Location = new Point(0, 0); - ClientsPanel.Margin = new Padding(4, 4, 4, 4); + ClientsPanel.Margin = new Padding(4); ClientsPanel.Name = "ClientsPanel"; ClientsPanel.Size = new Size(336, 363); ClientsPanel.TabIndex = 32; @@ -1275,7 +1274,7 @@ namespace EveOPreview.View { ThumbnailsList.FormattingEnabled = true; ThumbnailsList.IntegralHeight = false; ThumbnailsList.Location = new Point(0, 154); - ThumbnailsList.Margin = new Padding(4, 4, 4, 4); + ThumbnailsList.Margin = new Padding(4); ThumbnailsList.Name = "ThumbnailsList"; ThumbnailsList.Size = new Size(334, 207); ThumbnailsList.TabIndex = 34; @@ -1296,7 +1295,7 @@ namespace EveOPreview.View { AboutTabPage.BackColor = SystemColors.Control; AboutTabPage.Controls.Add(AboutPanel); AboutTabPage.Location = new Point(124, 4); - AboutTabPage.Margin = new Padding(4, 4, 4, 4); + AboutTabPage.Margin = new Padding(4); AboutTabPage.Name = "AboutTabPage"; AboutTabPage.Size = new Size(336, 363); AboutTabPage.TabIndex = 5; @@ -1314,7 +1313,7 @@ namespace EveOPreview.View { AboutPanel.Controls.Add(DocumentationLink); AboutPanel.Dock = DockStyle.Fill; AboutPanel.Location = new Point(0, 0); - AboutPanel.Margin = new Padding(4, 4, 4, 4); + AboutPanel.Margin = new Padding(4); AboutPanel.Name = "AboutPanel"; AboutPanel.Size = new Size(336, 363); AboutPanel.TabIndex = 2; @@ -1355,7 +1354,7 @@ namespace EveOPreview.View { // VersionLabel // VersionLabel.AutoSize = true; - VersionLabel.Font = new Font("Microsoft Sans Serif", 12F, FontStyle.Bold, GraphicsUnit.Point); + VersionLabel.Font = new Font("Microsoft Sans Serif", 12F, FontStyle.Bold); VersionLabel.Location = new Point(155, 10); VersionLabel.Margin = new Padding(4, 0, 4, 0); VersionLabel.Name = "VersionLabel"; @@ -1366,7 +1365,7 @@ namespace EveOPreview.View { // NameLabel // NameLabel.AutoSize = true; - NameLabel.Font = new Font("Microsoft Sans Serif", 12F, FontStyle.Bold, GraphicsUnit.Point); + NameLabel.Font = new Font("Microsoft Sans Serif", 12F, FontStyle.Bold); NameLabel.Location = new Point(5, 10); NameLabel.Margin = new Padding(4, 0, 4, 0); NameLabel.Name = "NameLabel"; diff --git a/src/Eve-O-Preview/View/Implementation/MainForm.resx b/src/Eve-O-Preview/View/Implementation/MainForm.resx index 2f7efb2..38d7145 100644 --- a/src/Eve-O-Preview/View/Implementation/MainForm.resx +++ b/src/Eve-O-Preview/View/Implementation/MainForm.resx @@ -138,6 +138,9 @@ False + + False + False @@ -156,6 +159,12 @@ False + + False + + + False + False @@ -168,63 +177,15 @@ False + + False + False False - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - False