diff --git a/source/GuiVersion/AmongUsModUpdater/MainWindow.Designer.cs b/source/GuiVersion/AmongUsModUpdater/MainWindow.Designer.cs index 5f012dc..2d30da0 100644 --- a/source/GuiVersion/AmongUsModUpdater/MainWindow.Designer.cs +++ b/source/GuiVersion/AmongUsModUpdater/MainWindow.Designer.cs @@ -63,7 +63,7 @@ private void InitializeComponent() this.panelLogo = new System.Windows.Forms.Panel(); this.Logo = new System.Windows.Forms.PictureBox(); this.panelTop = new System.Windows.Forms.Panel(); - this.newVersionButton = new System.Windows.Forms.PictureBox(); + this.newVersionButton = new CustomButton.CustomButton(); this.buttonExit = new System.Windows.Forms.Button(); this.panelMenuActive = new System.Windows.Forms.Panel(); this.manualLocationFolderDialog = new System.Windows.Forms.FolderBrowserDialog(); @@ -75,7 +75,6 @@ private void InitializeComponent() this.panelLogo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.Logo)).BeginInit(); this.panelTop.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.newVersionButton)).BeginInit(); this.SuspendLayout(); // // homeButton @@ -83,10 +82,10 @@ private void InitializeComponent() this.homeButton.FlatAppearance.BorderSize = 0; this.homeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.homeButton.ForeColor = System.Drawing.Color.White; - this.homeButton.Location = new System.Drawing.Point(0, 100); - this.homeButton.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.homeButton.Location = new System.Drawing.Point(0, 60); + this.homeButton.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); this.homeButton.Name = "homeButton"; - this.homeButton.Size = new System.Drawing.Size(226, 125); + this.homeButton.Size = new System.Drawing.Size(158, 75); this.homeButton.TabIndex = 5; this.homeButton.Text = "Home"; this.homeButton.UseVisualStyleBackColor = true; @@ -97,10 +96,10 @@ private void InitializeComponent() this.settingsButton.FlatAppearance.BorderSize = 0; this.settingsButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.settingsButton.ForeColor = System.Drawing.Color.White; - this.settingsButton.Location = new System.Drawing.Point(0, 225); - this.settingsButton.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.settingsButton.Location = new System.Drawing.Point(0, 135); + this.settingsButton.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); this.settingsButton.Name = "settingsButton"; - this.settingsButton.Size = new System.Drawing.Size(226, 125); + this.settingsButton.Size = new System.Drawing.Size(158, 75); this.settingsButton.TabIndex = 6; this.settingsButton.Text = "Settings"; this.settingsButton.UseVisualStyleBackColor = true; @@ -111,10 +110,10 @@ private void InitializeComponent() this.helpButton.FlatAppearance.BorderSize = 0; this.helpButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.helpButton.ForeColor = System.Drawing.Color.White; - this.helpButton.Location = new System.Drawing.Point(0, 350); - this.helpButton.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.helpButton.Location = new System.Drawing.Point(0, 210); + this.helpButton.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); this.helpButton.Name = "helpButton"; - this.helpButton.Size = new System.Drawing.Size(226, 125); + this.helpButton.Size = new System.Drawing.Size(158, 75); this.helpButton.TabIndex = 7; this.helpButton.Text = "Help"; this.helpButton.UseVisualStyleBackColor = true; @@ -128,10 +127,9 @@ private void InitializeComponent() this.panelHome.Controls.Add(this.otherRolesBanner); this.panelHome.Controls.Add(this.downloadProgress); this.panelHome.Controls.Add(this.buttonHomeStart); - this.panelHome.Location = new System.Drawing.Point(246, 100); - this.panelHome.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.panelHome.Location = new System.Drawing.Point(172, 60); this.panelHome.Name = "panelHome"; - this.panelHome.Size = new System.Drawing.Size(754, 620); + this.panelHome.Size = new System.Drawing.Size(528, 372); this.panelHome.TabIndex = 8; this.panelHome.Visible = false; this.panelHome.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelMenu_MouseDown); @@ -147,10 +145,11 @@ private void InitializeComponent() this.buttonHomeInstall.ForeColor = System.Drawing.Color.White; this.buttonHomeInstall.Inactive1 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); this.buttonHomeInstall.Inactive2 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); - this.buttonHomeInstall.Location = new System.Drawing.Point(251, 170); + this.buttonHomeInstall.Location = new System.Drawing.Point(176, 102); + this.buttonHomeInstall.Margin = new System.Windows.Forms.Padding(2); this.buttonHomeInstall.Name = "buttonHomeInstall"; this.buttonHomeInstall.Radius = 10; - this.buttonHomeInstall.Size = new System.Drawing.Size(251, 120); + this.buttonHomeInstall.Size = new System.Drawing.Size(176, 72); this.buttonHomeInstall.Stroke = false; this.buttonHomeInstall.StrokeColor = System.Drawing.Color.Gray; this.buttonHomeInstall.TabIndex = 9; @@ -162,9 +161,10 @@ private void InitializeComponent() // waitingInfoForStart // this.waitingInfoForStart.AutoSize = true; - this.waitingInfoForStart.Location = new System.Drawing.Point(173, 377); + this.waitingInfoForStart.Location = new System.Drawing.Point(121, 226); + this.waitingInfoForStart.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.waitingInfoForStart.Name = "waitingInfoForStart"; - this.waitingInfoForStart.Size = new System.Drawing.Size(417, 25); + this.waitingInfoForStart.Size = new System.Drawing.Size(276, 15); this.waitingInfoForStart.TabIndex = 8; this.waitingInfoForStart.Text = "It takes a little while to start Among Us. Please wait."; this.waitingInfoForStart.Visible = false; @@ -179,10 +179,11 @@ private void InitializeComponent() this.buttonHomeUpdate.ForeColor = System.Drawing.Color.White; this.buttonHomeUpdate.Inactive1 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); this.buttonHomeUpdate.Inactive2 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); - this.buttonHomeUpdate.Location = new System.Drawing.Point(251, 170); + this.buttonHomeUpdate.Location = new System.Drawing.Point(176, 102); + this.buttonHomeUpdate.Margin = new System.Windows.Forms.Padding(2); this.buttonHomeUpdate.Name = "buttonHomeUpdate"; this.buttonHomeUpdate.Radius = 10; - this.buttonHomeUpdate.Size = new System.Drawing.Size(251, 120); + this.buttonHomeUpdate.Size = new System.Drawing.Size(176, 72); this.buttonHomeUpdate.Stroke = false; this.buttonHomeUpdate.StrokeColor = System.Drawing.Color.Gray; this.buttonHomeUpdate.TabIndex = 5; @@ -194,9 +195,10 @@ private void InitializeComponent() // otherRolesBanner // this.otherRolesBanner.Image = ((System.Drawing.Image)(resources.GetObject("otherRolesBanner.Image"))); - this.otherRolesBanner.Location = new System.Drawing.Point(46, 0); + this.otherRolesBanner.Location = new System.Drawing.Point(32, 0); + this.otherRolesBanner.Margin = new System.Windows.Forms.Padding(2); this.otherRolesBanner.Name = "otherRolesBanner"; - this.otherRolesBanner.Size = new System.Drawing.Size(671, 128); + this.otherRolesBanner.Size = new System.Drawing.Size(470, 77); this.otherRolesBanner.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.otherRolesBanner.TabIndex = 7; this.otherRolesBanner.TabStop = false; @@ -206,10 +208,10 @@ private void InitializeComponent() // // downloadProgress // - this.downloadProgress.Location = new System.Drawing.Point(99, 317); - this.downloadProgress.Margin = new System.Windows.Forms.Padding(14, 17, 14, 17); + this.downloadProgress.Location = new System.Drawing.Point(69, 190); + this.downloadProgress.Margin = new System.Windows.Forms.Padding(10); this.downloadProgress.Name = "downloadProgress"; - this.downloadProgress.Size = new System.Drawing.Size(569, 38); + this.downloadProgress.Size = new System.Drawing.Size(398, 23); this.downloadProgress.TabIndex = 4; this.downloadProgress.Visible = false; // @@ -223,10 +225,11 @@ private void InitializeComponent() this.buttonHomeStart.ForeColor = System.Drawing.Color.White; this.buttonHomeStart.Inactive1 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); this.buttonHomeStart.Inactive2 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); - this.buttonHomeStart.Location = new System.Drawing.Point(251, 172); + this.buttonHomeStart.Location = new System.Drawing.Point(176, 103); + this.buttonHomeStart.Margin = new System.Windows.Forms.Padding(2); this.buttonHomeStart.Name = "buttonHomeStart"; this.buttonHomeStart.Radius = 10; - this.buttonHomeStart.Size = new System.Drawing.Size(251, 118); + this.buttonHomeStart.Size = new System.Drawing.Size(176, 71); this.buttonHomeStart.Stroke = false; this.buttonHomeStart.StrokeColor = System.Drawing.Color.Gray; this.buttonHomeStart.TabIndex = 6; @@ -247,10 +250,9 @@ private void InitializeComponent() this.panelSettings.Controls.Add(this.settingsToggleBackup); this.panelSettings.Controls.Add(this.settingsGamePathTextBox); this.panelSettings.Controls.Add(this.labelSettingsPath); - this.panelSettings.Location = new System.Drawing.Point(246, 100); - this.panelSettings.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.panelSettings.Location = new System.Drawing.Point(172, 60); this.panelSettings.Name = "panelSettings"; - this.panelSettings.Size = new System.Drawing.Size(754, 620); + this.panelSettings.Size = new System.Drawing.Size(528, 372); this.panelSettings.TabIndex = 9; this.panelSettings.Visible = false; this.panelSettings.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelMenu_MouseDown); @@ -261,9 +263,10 @@ private void InitializeComponent() this.buttonWorkerCancel.FlatAppearance.BorderSize = 0; this.buttonWorkerCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonWorkerCancel.ForeColor = System.Drawing.Color.Silver; - this.buttonWorkerCancel.Location = new System.Drawing.Point(551, 377); + this.buttonWorkerCancel.Location = new System.Drawing.Point(386, 226); + this.buttonWorkerCancel.Margin = new System.Windows.Forms.Padding(2); this.buttonWorkerCancel.Name = "buttonWorkerCancel"; - this.buttonWorkerCancel.Size = new System.Drawing.Size(39, 38); + this.buttonWorkerCancel.Size = new System.Drawing.Size(27, 23); this.buttonWorkerCancel.TabIndex = 11; this.buttonWorkerCancel.Text = "X"; this.buttonWorkerCancel.UseVisualStyleBackColor = true; @@ -273,20 +276,18 @@ private void InitializeComponent() // labelProcessedDrives // this.labelProcessedDrives.AutoSize = true; - this.labelProcessedDrives.Location = new System.Drawing.Point(46, 420); - this.labelProcessedDrives.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.labelProcessedDrives.Location = new System.Drawing.Point(32, 252); this.labelProcessedDrives.Name = "labelProcessedDrives"; - this.labelProcessedDrives.Size = new System.Drawing.Size(146, 25); + this.labelProcessedDrives.Size = new System.Drawing.Size(95, 15); this.labelProcessedDrives.TabIndex = 9; this.labelProcessedDrives.Text = "Processed Drives"; this.labelProcessedDrives.Visible = false; // // progressBarSearch // - this.progressBarSearch.Location = new System.Drawing.Point(46, 377); - this.progressBarSearch.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.progressBarSearch.Location = new System.Drawing.Point(32, 226); this.progressBarSearch.Name = "progressBarSearch"; - this.progressBarSearch.Size = new System.Drawing.Size(499, 38); + this.progressBarSearch.Size = new System.Drawing.Size(349, 23); this.progressBarSearch.Style = System.Windows.Forms.ProgressBarStyle.Marquee; this.progressBarSearch.TabIndex = 8; this.progressBarSearch.Visible = false; @@ -301,10 +302,11 @@ private void InitializeComponent() this.settingsButtonAutomated.ForeColor = System.Drawing.Color.White; this.settingsButtonAutomated.Inactive1 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); this.settingsButtonAutomated.Inactive2 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); - this.settingsButtonAutomated.Location = new System.Drawing.Point(306, 182); + this.settingsButtonAutomated.Location = new System.Drawing.Point(214, 109); + this.settingsButtonAutomated.Margin = new System.Windows.Forms.Padding(2); this.settingsButtonAutomated.Name = "settingsButtonAutomated"; this.settingsButtonAutomated.Radius = 10; - this.settingsButtonAutomated.Size = new System.Drawing.Size(199, 48); + this.settingsButtonAutomated.Size = new System.Drawing.Size(139, 29); this.settingsButtonAutomated.Stroke = false; this.settingsButtonAutomated.StrokeColor = System.Drawing.Color.Gray; this.settingsButtonAutomated.TabIndex = 7; @@ -322,10 +324,11 @@ private void InitializeComponent() this.settingButtonManual.ForeColor = System.Drawing.Color.White; this.settingButtonManual.Inactive1 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); this.settingButtonManual.Inactive2 = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); - this.settingButtonManual.Location = new System.Drawing.Point(49, 182); + this.settingButtonManual.Location = new System.Drawing.Point(34, 109); + this.settingButtonManual.Margin = new System.Windows.Forms.Padding(2); this.settingButtonManual.Name = "settingButtonManual"; this.settingButtonManual.Radius = 10; - this.settingButtonManual.Size = new System.Drawing.Size(199, 48); + this.settingButtonManual.Size = new System.Drawing.Size(139, 29); this.settingButtonManual.Stroke = false; this.settingButtonManual.StrokeColor = System.Drawing.Color.Gray; this.settingButtonManual.TabIndex = 6; @@ -337,18 +340,20 @@ private void InitializeComponent() // this.labelSettingsHeader.AutoSize = true; this.labelSettingsHeader.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.labelSettingsHeader.Location = new System.Drawing.Point(46, 47); + this.labelSettingsHeader.Location = new System.Drawing.Point(32, 28); + this.labelSettingsHeader.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.labelSettingsHeader.Name = "labelSettingsHeader"; - this.labelSettingsHeader.Size = new System.Drawing.Size(252, 28); + this.labelSettingsHeader.Size = new System.Drawing.Size(178, 19); this.labelSettingsHeader.TabIndex = 5; this.labelSettingsHeader.Text = "Among Us Game Settings"; // // labelSettingsBackup // this.labelSettingsBackup.AutoSize = true; - this.labelSettingsBackup.Location = new System.Drawing.Point(46, 275); + this.labelSettingsBackup.Location = new System.Drawing.Point(32, 165); + this.labelSettingsBackup.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.labelSettingsBackup.Name = "labelSettingsBackup"; - this.labelSettingsBackup.Size = new System.Drawing.Size(324, 25); + this.labelSettingsBackup.Size = new System.Drawing.Size(212, 15); this.labelSettingsBackup.TabIndex = 4; this.labelSettingsBackup.Text = "Should a copy of the game be created?"; // @@ -358,13 +363,14 @@ private void InitializeComponent() this.settingsToggleBackup.Cursor = System.Windows.Forms.Cursors.Hand; this.settingsToggleBackup.ForeColor = System.Drawing.Color.White; this.settingsToggleBackup.IsOn = false; - this.settingsToggleBackup.Location = new System.Drawing.Point(46, 317); + this.settingsToggleBackup.Location = new System.Drawing.Point(32, 190); + this.settingsToggleBackup.Margin = new System.Windows.Forms.Padding(2); this.settingsToggleBackup.Name = "settingsToggleBackup"; this.settingsToggleBackup.OffColor = System.Drawing.Color.DarkGray; this.settingsToggleBackup.OffText = ""; this.settingsToggleBackup.OnColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); this.settingsToggleBackup.OnText = ""; - this.settingsToggleBackup.Size = new System.Drawing.Size(60, 32); + this.settingsToggleBackup.Size = new System.Drawing.Size(34, 19); this.settingsToggleBackup.TabIndex = 3; this.settingsToggleBackup.Text = "customToggle1"; this.settingsToggleBackup.TextEnabled = true; @@ -377,18 +383,20 @@ private void InitializeComponent() this.settingsGamePathTextBox.Enabled = false; this.settingsGamePathTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); this.settingsGamePathTextBox.ForeColor = System.Drawing.Color.DimGray; - this.settingsGamePathTextBox.Location = new System.Drawing.Point(46, 115); + this.settingsGamePathTextBox.Location = new System.Drawing.Point(32, 69); + this.settingsGamePathTextBox.Margin = new System.Windows.Forms.Padding(2); this.settingsGamePathTextBox.Name = "settingsGamePathTextBox"; - this.settingsGamePathTextBox.Size = new System.Drawing.Size(459, 50); + this.settingsGamePathTextBox.Size = new System.Drawing.Size(321, 30); this.settingsGamePathTextBox.TabIndex = 2; this.settingsGamePathTextBox.TextChanged += new System.EventHandler(this.settingsGamePathTextBox_TextChanged); // // labelSettingsPath // this.labelSettingsPath.AutoSize = true; - this.labelSettingsPath.Location = new System.Drawing.Point(46, 87); + this.labelSettingsPath.Location = new System.Drawing.Point(32, 52); + this.labelSettingsPath.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.labelSettingsPath.Name = "labelSettingsPath"; - this.labelSettingsPath.Size = new System.Drawing.Size(459, 25); + this.labelSettingsPath.Size = new System.Drawing.Size(305, 15); this.labelSettingsPath.TabIndex = 1; this.labelSettingsPath.Text = "Please specify the folder where Among Us.exe is located."; // @@ -401,10 +409,9 @@ private void InitializeComponent() this.panelHelp.Controls.Add(this.labelResourcesHeader); this.panelHelp.Controls.Add(this.labelVersionHeader); this.panelHelp.Controls.Add(this.labelVersion); - this.panelHelp.Location = new System.Drawing.Point(246, 100); - this.panelHelp.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.panelHelp.Location = new System.Drawing.Point(172, 60); this.panelHelp.Name = "panelHelp"; - this.panelHelp.Size = new System.Drawing.Size(754, 620); + this.panelHelp.Size = new System.Drawing.Size(528, 372); this.panelHelp.TabIndex = 10; this.panelHelp.Visible = false; this.panelHelp.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelMenu_MouseDown); @@ -414,9 +421,10 @@ private void InitializeComponent() // this.labelCopyright.AutoSize = true; this.labelCopyright.ForeColor = System.Drawing.Color.Silver; - this.labelCopyright.Location = new System.Drawing.Point(46, 250); + this.labelCopyright.Location = new System.Drawing.Point(32, 150); + this.labelCopyright.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.labelCopyright.Name = "labelCopyright"; - this.labelCopyright.Size = new System.Drawing.Size(117, 25); + this.labelCopyright.Size = new System.Drawing.Size(78, 15); this.labelCopyright.TabIndex = 6; this.labelCopyright.Text = "Jolle && Narua"; // @@ -424,9 +432,10 @@ private void InitializeComponent() // this.labelCopyrightHeader.AutoSize = true; this.labelCopyrightHeader.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.labelCopyrightHeader.Location = new System.Drawing.Point(46, 222); + this.labelCopyrightHeader.Location = new System.Drawing.Point(32, 133); + this.labelCopyrightHeader.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.labelCopyrightHeader.Name = "labelCopyrightHeader"; - this.labelCopyrightHeader.Size = new System.Drawing.Size(105, 28); + this.labelCopyrightHeader.Size = new System.Drawing.Size(76, 19); this.labelCopyrightHeader.TabIndex = 5; this.labelCopyrightHeader.Text = "Copyright"; // @@ -436,9 +445,10 @@ private void InitializeComponent() this.linkLabelResourcesGit.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); this.linkLabelResourcesGit.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline; this.linkLabelResourcesGit.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(90)))), ((int)(((byte)(255))))); - this.linkLabelResourcesGit.Location = new System.Drawing.Point(120, 153); + this.linkLabelResourcesGit.Location = new System.Drawing.Point(84, 92); + this.linkLabelResourcesGit.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.linkLabelResourcesGit.Name = "linkLabelResourcesGit"; - this.linkLabelResourcesGit.Size = new System.Drawing.Size(445, 25); + this.linkLabelResourcesGit.Size = new System.Drawing.Size(295, 15); this.linkLabelResourcesGit.TabIndex = 4; this.linkLabelResourcesGit.TabStop = true; this.linkLabelResourcesGit.Text = "https://github.com/Narua2010/AmongUsModUpdater"; @@ -450,9 +460,10 @@ private void InitializeComponent() // this.labelResourcesGit.AutoSize = true; this.labelResourcesGit.ForeColor = System.Drawing.Color.Silver; - this.labelResourcesGit.Location = new System.Drawing.Point(46, 153); + this.labelResourcesGit.Location = new System.Drawing.Point(32, 92); + this.labelResourcesGit.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.labelResourcesGit.Name = "labelResourcesGit"; - this.labelResourcesGit.Size = new System.Drawing.Size(69, 25); + this.labelResourcesGit.Size = new System.Drawing.Size(46, 15); this.labelResourcesGit.TabIndex = 3; this.labelResourcesGit.Text = "Github:"; // @@ -460,9 +471,10 @@ private void InitializeComponent() // this.labelResourcesHeader.AutoSize = true; this.labelResourcesHeader.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.labelResourcesHeader.Location = new System.Drawing.Point(46, 125); + this.labelResourcesHeader.Location = new System.Drawing.Point(32, 75); + this.labelResourcesHeader.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.labelResourcesHeader.Name = "labelResourcesHeader"; - this.labelResourcesHeader.Size = new System.Drawing.Size(107, 28); + this.labelResourcesHeader.Size = new System.Drawing.Size(76, 19); this.labelResourcesHeader.TabIndex = 2; this.labelResourcesHeader.Text = "Resources"; // @@ -470,9 +482,10 @@ private void InitializeComponent() // this.labelVersionHeader.AutoSize = true; this.labelVersionHeader.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.labelVersionHeader.Location = new System.Drawing.Point(46, 33); + this.labelVersionHeader.Location = new System.Drawing.Point(32, 20); + this.labelVersionHeader.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.labelVersionHeader.Name = "labelVersionHeader"; - this.labelVersionHeader.Size = new System.Drawing.Size(201, 28); + this.labelVersionHeader.Size = new System.Drawing.Size(141, 19); this.labelVersionHeader.TabIndex = 1; this.labelVersionHeader.Text = "Version Information"; // @@ -480,9 +493,10 @@ private void InitializeComponent() // this.labelVersion.AutoSize = true; this.labelVersion.ForeColor = System.Drawing.Color.Silver; - this.labelVersion.Location = new System.Drawing.Point(46, 62); + this.labelVersion.Location = new System.Drawing.Point(32, 37); + this.labelVersion.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.labelVersion.Name = "labelVersion"; - this.labelVersion.Size = new System.Drawing.Size(333, 25); + this.labelVersion.Size = new System.Drawing.Size(216, 15); this.labelVersion.TabIndex = 0; this.labelVersion.Text = "Among Us Mod Updater Version: 0.0.0.0"; // @@ -494,8 +508,9 @@ private void InitializeComponent() this.panelMenu.Controls.Add(this.helpButton); this.panelMenu.Dock = System.Windows.Forms.DockStyle.Left; this.panelMenu.Location = new System.Drawing.Point(0, 0); + this.panelMenu.Margin = new System.Windows.Forms.Padding(2); this.panelMenu.Name = "panelMenu"; - this.panelMenu.Size = new System.Drawing.Size(226, 553); + this.panelMenu.Size = new System.Drawing.Size(158, 332); this.panelMenu.TabIndex = 9; this.panelMenu.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelMenu_MouseDown); this.panelMenu.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panelMenu_MouseMove); @@ -505,9 +520,9 @@ private void InitializeComponent() this.panelLogo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); this.panelLogo.Controls.Add(this.Logo); this.panelLogo.Location = new System.Drawing.Point(0, 0); - this.panelLogo.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.panelLogo.Margin = new System.Windows.Forms.Padding(2, 2, 0, 2); this.panelLogo.Name = "panelLogo"; - this.panelLogo.Size = new System.Drawing.Size(226, 100); + this.panelLogo.Size = new System.Drawing.Size(158, 60); this.panelLogo.TabIndex = 0; this.panelLogo.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelMenu_MouseDown); this.panelLogo.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panelMenu_MouseMove); @@ -515,9 +530,10 @@ private void InitializeComponent() // Logo // this.Logo.Image = ((System.Drawing.Image)(resources.GetObject("Logo.Image"))); - this.Logo.Location = new System.Drawing.Point(67, 0); + this.Logo.Location = new System.Drawing.Point(47, 0); + this.Logo.Margin = new System.Windows.Forms.Padding(2); this.Logo.Name = "Logo"; - this.Logo.Size = new System.Drawing.Size(97, 100); + this.Logo.Size = new System.Drawing.Size(68, 60); this.Logo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.Logo.TabIndex = 0; this.Logo.TabStop = false; @@ -530,36 +546,37 @@ private void InitializeComponent() this.panelTop.Controls.Add(this.newVersionButton); this.panelTop.Controls.Add(this.buttonExit); this.panelTop.Dock = System.Windows.Forms.DockStyle.Top; - this.panelTop.Location = new System.Drawing.Point(226, 0); + this.panelTop.Location = new System.Drawing.Point(158, 0); + this.panelTop.Margin = new System.Windows.Forms.Padding(2); this.panelTop.Name = "panelTop"; - this.panelTop.Size = new System.Drawing.Size(774, 100); + this.panelTop.Size = new System.Drawing.Size(542, 60); this.panelTop.TabIndex = 10; this.panelTop.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelMenu_MouseDown); this.panelTop.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panelMenu_MouseMove); // // newVersionButton // - this.newVersionButton.Anchor = System.Windows.Forms.AnchorStyles.None; - this.newVersionButton.Image = ((System.Drawing.Image)(resources.GetObject("newVersionButton.Image"))); - this.newVersionButton.Location = new System.Drawing.Point(678, 12); + this.newVersionButton.BackColor = System.Drawing.Color.Transparent; + this.newVersionButton.ForeColor = System.Drawing.Color.White; + this.newVersionButton.Location = new System.Drawing.Point(361, 7); this.newVersionButton.Name = "newVersionButton"; - this.newVersionButton.Size = new System.Drawing.Size(40, 40); - this.newVersionButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.newVersionButton.Size = new System.Drawing.Size(144, 23); this.newVersionButton.TabIndex = 11; - this.newVersionButton.TabStop = false; - this.newVersionButton.Visible = false; + this.newVersionButton.Text = "New Updater Version"; + //this.newVersionButton.UseVisualStyleBackColor = false; this.newVersionButton.Click += new System.EventHandler(this.newVersionButton_Click); - this.newVersionButton.MouseLeave += new System.EventHandler(this.newVersionButton_MouseLeave); - this.newVersionButton.MouseHover += new System.EventHandler(this.newVersionButton_MouseHover); + this.newVersionButton.Enter += new System.EventHandler(this.newVersionButton_MouseHover); + this.newVersionButton.Leave += new System.EventHandler(this.newVersionButton_MouseLeave); // // buttonExit // this.buttonExit.FlatAppearance.BorderSize = 0; this.buttonExit.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonExit.ForeColor = System.Drawing.Color.Silver; - this.buttonExit.Location = new System.Drawing.Point(724, 12); + this.buttonExit.Location = new System.Drawing.Point(507, 7); + this.buttonExit.Margin = new System.Windows.Forms.Padding(2); this.buttonExit.Name = "buttonExit"; - this.buttonExit.Size = new System.Drawing.Size(40, 40); + this.buttonExit.Size = new System.Drawing.Size(28, 24); this.buttonExit.TabIndex = 10; this.buttonExit.Text = "X"; this.buttonExit.UseVisualStyleBackColor = true; @@ -568,18 +585,19 @@ private void InitializeComponent() // panelMenuActive // this.panelMenuActive.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(72)))), ((int)(((byte)(33))))); - this.panelMenuActive.Location = new System.Drawing.Point(226, 100); + this.panelMenuActive.Location = new System.Drawing.Point(158, 60); + this.panelMenuActive.Margin = new System.Windows.Forms.Padding(2); this.panelMenuActive.Name = "panelMenuActive"; - this.panelMenuActive.Size = new System.Drawing.Size(10, 125); + this.panelMenuActive.Size = new System.Drawing.Size(7, 75); this.panelMenuActive.TabIndex = 11; // // MainWindow // - this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 25F); + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(44)))), ((int)(((byte)(51))))); this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.ClientSize = new System.Drawing.Size(1000, 553); + this.ClientSize = new System.Drawing.Size(700, 332); this.Controls.Add(this.panelMenuActive); this.Controls.Add(this.panelTop); this.Controls.Add(this.panelMenu); @@ -590,6 +608,7 @@ private void InitializeComponent() this.ForeColor = System.Drawing.Color.Silver; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Margin = new System.Windows.Forms.Padding(2); this.Name = "MainWindow"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Among Us Mod Updater"; @@ -606,7 +625,6 @@ private void InitializeComponent() this.panelLogo.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.Logo)).EndInit(); this.panelTop.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.newVersionButton)).EndInit(); this.ResumeLayout(false); } @@ -646,10 +664,10 @@ private void InitializeComponent() public System.Windows.Forms.Label labelProcessedDrives; public System.Windows.Forms.ProgressBar progressBarSearch; public System.Windows.Forms.Button buttonWorkerCancel; - public System.Windows.Forms.PictureBox newVersionButton; public System.Windows.Forms.Label label1; public System.Windows.Forms.Label waitingInfoForStart; public CustomButton.CustomButton buttonHomeInstall; + public CustomButton.CustomButton newVersionButton; } } diff --git a/source/GuiVersion/AmongUsModUpdater/MainWindow.resx b/source/GuiVersion/AmongUsModUpdater/MainWindow.resx index 5df578a..649fd2e 100644 --- a/source/GuiVersion/AmongUsModUpdater/MainWindow.resx +++ b/source/GuiVersion/AmongUsModUpdater/MainWindow.resx @@ -4438,18 +4438,6 @@ JEnxSsJvksQ8v9ADDDHRC2nIGww9v6Q4hgIZEgplGlnJSlay8qkuZgxDwxkaVgiNrhlkM9ZmvJMG/pMk TTTyCQeE128kvyOE9+B0CMWlqWQlK1nJSlay4ktSINKE5pMkef7TIStZyUpWmlH5zGf+HwQ5i/E0oFY1 AAAAAElFTkSuQmCC - - - - - iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m - dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAFcSURBVFhH7ZMxagJRFEXVylZXYCOkzw7S2LkCuzTW - WUHIatxEeiF12jTpkwUkEO+DE+YzXGFQ5/0p5sCBceb+9y4OMxmpyd3T/V8XiefjyjiJ5+PKOInn48o4 - iefjyjiJ5+PKOInn48o4iefjyjiJ5+PKOInn48o4iefjyjiJ5+PKOInn48o4ifeLFh3bi6/wyNjboaEr - +V0sudSYsWLsbdHgfbHoUveM6wctuOZV3/7VttGSjfwqlnY1zmwY0x9aMpMv8ke6Is7IxpkZY/pFi5by - TboyzsguOZ6DFm5ll38xMluO5aLFh6LIOQ/E89HyufwsyrSNZ3PidVCBnfylUGnc2xGrh0os5CulSuPe - glhdVGQtPygWxvWax/VRmal8pFwY11MeDwMVig/mHet+GOdQsYeQnyPDQq/meUhSq0E3/7/AQUitBheq - KbUaXKim1GpwoZpSa+RKJpMTfNNOCr2DAp4AAAAASUVORK5CYII= diff --git a/source/GuiVersion/AmongUsModUpdater/Properties/Resources.resx b/source/GuiVersion/AmongUsModUpdater/Properties/Resources.resx index 31c8441..d7950a7 100644 --- a/source/GuiVersion/AmongUsModUpdater/Properties/Resources.resx +++ b/source/GuiVersion/AmongUsModUpdater/Properties/Resources.resx @@ -112,12 +112,12 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + ..\Resources\OtherRoles.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a diff --git a/source/GuiVersion/AmongUsModUpdater/Resources/UpdateButton_Letters.png b/source/GuiVersion/AmongUsModUpdater/Resources/UpdateButton_Letters.png new file mode 100644 index 0000000..0efc6b2 Binary files /dev/null and b/source/GuiVersion/AmongUsModUpdater/Resources/UpdateButton_Letters.png differ