diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..abfa6181 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,31 @@ +--- +name: Bug report +about: Create a report to help us improve +title: "[BUG]" +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. Windows 11] + - Version [e.g. 3.2.0] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..11fc491e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: enhancement +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/EAMNotificationMessage b/EAMNotificationMessage index 857423c9..e0301a49 100644 --- a/EAMNotificationMessage +++ b/EAMNotificationMessage @@ -1,7 +1,7 @@ { - "id":4, + "id":5, "type":1, - "message":"Version 3.1.1 is now available, it includes: Captcha Support, News, Installer, bug fixes and much more!", + "message":"Version 3.2.0 is now available, it includes: Captcha Aid improvements, discord update and bug fixes!", "link":"https://github.com/MaikEight/ExaltAccountManager/releases/latest", "linkM":"https://github.com/MaikEight/ExaltAccountManager/releases/latest", "forceShow":true diff --git a/EAM_Installer/wix/EAM_Installer.g.wxs b/EAM_Installer/wix/EAM_Installer.g.wxs index 8760e7ac..8d2b778d 100644 --- a/EAM_Installer/wix/EAM_Installer.g.wxs +++ b/EAM_Installer/wix/EAM_Installer.g.wxs @@ -6,7 +6,7 @@ --> - + @@ -15,23 +15,23 @@ - + - + - + - + - + @@ -42,41 +42,41 @@ - + - + - + - + - + - + - + - + - + @@ -84,63 +84,63 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -148,7 +148,7 @@ - + @@ -159,7 +159,7 @@ - + @@ -171,7 +171,7 @@ - + @@ -181,7 +181,7 @@ - + diff --git a/ExaltAccountManager/FrmMain.Designer.cs b/ExaltAccountManager/FrmMain.Designer.cs index 02b81758..e3cc026d 100644 --- a/ExaltAccountManager/FrmMain.Designer.cs +++ b/ExaltAccountManager/FrmMain.Designer.cs @@ -34,13 +34,28 @@ private void InitializeComponent() this.pLeftSide = new System.Windows.Forms.Panel(); this.pSideButtons = new System.Windows.Forms.Panel(); this.pUpdate = new System.Windows.Forms.Panel(); + this.btnEAMUpdate = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); this.pBottom = new System.Windows.Forms.Panel(); this.lVersion = new System.Windows.Forms.Label(); + this.pSideBar = new System.Windows.Forms.PictureBox(); + this.btnAbout = new System.Windows.Forms.Button(); + this.btnLogs = new System.Windows.Forms.Button(); + this.btnHelp = new System.Windows.Forms.Button(); + this.btnOptions = new System.Windows.Forms.Button(); + this.btnModules = new System.Windows.Forms.Button(); + this.btnAddAccount = new System.Windows.Forms.Button(); + this.btnNews = new System.Windows.Forms.Button(); + this.btnAccounts = new System.Windows.Forms.Button(); + this.btnGameUpdater = new System.Windows.Forms.Button(); this.pSpacer = new System.Windows.Forms.Panel(); this.pHeader = new System.Windows.Forms.Panel(); + this.pbHeader = new System.Windows.Forms.PictureBox(); this.lHeaderEAM = new System.Windows.Forms.Label(); this.pTop = new System.Windows.Forms.Panel(); + this.pbShowDiscordUser = new System.Windows.Forms.PictureBox(); this.btnSwitchDesign = new System.Windows.Forms.Button(); + this.pbMinimize = new System.Windows.Forms.PictureBox(); + this.pbClose = new System.Windows.Forms.PictureBox(); this.lTitle = new System.Windows.Forms.Label(); this.pContent = new System.Windows.Forms.Panel(); this.bunifuForm = new Bunifu.UI.WinForms.BunifuFormDock(); @@ -49,32 +64,17 @@ private void InitializeComponent() this.timerLoadUI = new System.Windows.Forms.Timer(this.components); this.toolTip = new Bunifu.UI.WinForms.BunifuToolTip(this.components); this.timerDiscordUpdater = new System.Windows.Forms.Timer(this.components); - this.pbMinimize = new System.Windows.Forms.PictureBox(); - this.pbClose = new System.Windows.Forms.PictureBox(); - this.btnEAMUpdate = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); - this.pSideBar = new System.Windows.Forms.PictureBox(); - this.btnAbout = new System.Windows.Forms.Button(); - this.btnLogs = new System.Windows.Forms.Button(); - this.btnHelp = new System.Windows.Forms.Button(); - this.btnOptions = new System.Windows.Forms.Button(); - this.btnModules = new System.Windows.Forms.Button(); - this.btnAddAccount = new System.Windows.Forms.Button(); - this.btnNews = new System.Windows.Forms.Button(); - this.btnAccounts = new System.Windows.Forms.Button(); - this.btnGameUpdater = new System.Windows.Forms.Button(); - this.pbHeader = new System.Windows.Forms.PictureBox(); - this.pbShowDiscordUser = new System.Windows.Forms.PictureBox(); this.pLeftSide.SuspendLayout(); this.pSideButtons.SuspendLayout(); this.pUpdate.SuspendLayout(); this.pBottom.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pSideBar)).BeginInit(); this.pHeader.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pbHeader)).BeginInit(); this.pTop.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pbShowDiscordUser)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pbMinimize)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pbClose)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pSideBar)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbHeader)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbShowDiscordUser)).BeginInit(); this.SuspendLayout(); // // pLeftSide @@ -129,6 +129,102 @@ private void InitializeComponent() this.toolTip.SetToolTipTitle(this.pUpdate, ""); this.pUpdate.Visible = false; // + // btnEAMUpdate + // + this.btnEAMUpdate.AllowAnimations = true; + this.btnEAMUpdate.AllowMouseEffects = true; + this.btnEAMUpdate.AllowToggling = false; + this.btnEAMUpdate.AnimationSpeed = 200; + this.btnEAMUpdate.AutoGenerateColors = false; + this.btnEAMUpdate.AutoRoundBorders = false; + this.btnEAMUpdate.AutoSizeLeftIcon = true; + this.btnEAMUpdate.AutoSizeRightIcon = true; + this.btnEAMUpdate.BackColor = System.Drawing.Color.Transparent; + this.btnEAMUpdate.BackColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnEAMUpdate.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnEAMUpdate.BackgroundImage"))); + this.btnEAMUpdate.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; + this.btnEAMUpdate.ButtonText = "Update EAM"; + this.btnEAMUpdate.ButtonTextMarginLeft = 0; + this.btnEAMUpdate.ColorContrastOnClick = 45; + this.btnEAMUpdate.ColorContrastOnHover = 45; + this.btnEAMUpdate.Cursor = System.Windows.Forms.Cursors.Default; + borderEdges1.BottomLeft = true; + borderEdges1.BottomRight = true; + borderEdges1.TopLeft = true; + borderEdges1.TopRight = true; + this.btnEAMUpdate.CustomizableEdges = borderEdges1; + this.btnEAMUpdate.DialogResult = System.Windows.Forms.DialogResult.None; + this.btnEAMUpdate.DisabledBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191))))); + this.btnEAMUpdate.DisabledFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); + this.btnEAMUpdate.DisabledForecolor = System.Drawing.Color.FromArgb(((int)(((byte)(168)))), ((int)(((byte)(160)))), ((int)(((byte)(168))))); + this.btnEAMUpdate.Dock = System.Windows.Forms.DockStyle.Fill; + this.btnEAMUpdate.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Hover; + this.btnEAMUpdate.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnEAMUpdate.ForeColor = System.Drawing.Color.White; + this.btnEAMUpdate.IconLeft = global::ExaltAccountManager.Properties.Resources._2; + this.btnEAMUpdate.IconLeftAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnEAMUpdate.IconLeftCursor = System.Windows.Forms.Cursors.Default; + this.btnEAMUpdate.IconLeftPadding = new System.Windows.Forms.Padding(5, 3, 1, 3); + this.btnEAMUpdate.IconMarginLeft = 11; + this.btnEAMUpdate.IconPadding = 4; + this.btnEAMUpdate.IconRight = null; + this.btnEAMUpdate.IconRightAlign = System.Drawing.ContentAlignment.MiddleRight; + this.btnEAMUpdate.IconRightCursor = System.Windows.Forms.Cursors.Default; + this.btnEAMUpdate.IconRightPadding = new System.Windows.Forms.Padding(3, 3, 7, 3); + this.btnEAMUpdate.IconSize = 10; + this.btnEAMUpdate.IdleBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnEAMUpdate.IdleBorderRadius = 5; + this.btnEAMUpdate.IdleBorderThickness = 1; + this.btnEAMUpdate.IdleFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnEAMUpdate.IdleIconLeftImage = global::ExaltAccountManager.Properties.Resources._2; + this.btnEAMUpdate.IdleIconRightImage = null; + this.btnEAMUpdate.IndicateFocus = false; + this.btnEAMUpdate.Location = new System.Drawing.Point(5, 0); + this.btnEAMUpdate.Name = "btnEAMUpdate"; + this.btnEAMUpdate.OnDisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191))))); + this.btnEAMUpdate.OnDisabledState.BorderRadius = 5; + this.btnEAMUpdate.OnDisabledState.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; + this.btnEAMUpdate.OnDisabledState.BorderThickness = 1; + this.btnEAMUpdate.OnDisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); + this.btnEAMUpdate.OnDisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(168)))), ((int)(((byte)(160)))), ((int)(((byte)(168))))); + this.btnEAMUpdate.OnDisabledState.IconLeftImage = null; + this.btnEAMUpdate.OnDisabledState.IconRightImage = null; + this.btnEAMUpdate.onHoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnEAMUpdate.onHoverState.BorderRadius = 5; + this.btnEAMUpdate.onHoverState.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; + this.btnEAMUpdate.onHoverState.BorderThickness = 1; + this.btnEAMUpdate.onHoverState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnEAMUpdate.onHoverState.ForeColor = System.Drawing.Color.White; + this.btnEAMUpdate.onHoverState.IconLeftImage = null; + this.btnEAMUpdate.onHoverState.IconRightImage = null; + this.btnEAMUpdate.OnIdleState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnEAMUpdate.OnIdleState.BorderRadius = 5; + this.btnEAMUpdate.OnIdleState.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; + this.btnEAMUpdate.OnIdleState.BorderThickness = 1; + this.btnEAMUpdate.OnIdleState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnEAMUpdate.OnIdleState.ForeColor = System.Drawing.Color.White; + this.btnEAMUpdate.OnIdleState.IconLeftImage = global::ExaltAccountManager.Properties.Resources._2; + this.btnEAMUpdate.OnIdleState.IconRightImage = null; + this.btnEAMUpdate.OnPressedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnEAMUpdate.OnPressedState.BorderRadius = 5; + this.btnEAMUpdate.OnPressedState.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; + this.btnEAMUpdate.OnPressedState.BorderThickness = 1; + this.btnEAMUpdate.OnPressedState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnEAMUpdate.OnPressedState.ForeColor = System.Drawing.Color.White; + this.btnEAMUpdate.OnPressedState.IconLeftImage = null; + this.btnEAMUpdate.OnPressedState.IconRightImage = null; + this.btnEAMUpdate.Size = new System.Drawing.Size(165, 31); + this.btnEAMUpdate.TabIndex = 25; + this.btnEAMUpdate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.btnEAMUpdate.TextAlignment = System.Windows.Forms.HorizontalAlignment.Center; + this.btnEAMUpdate.TextMarginLeft = 0; + this.btnEAMUpdate.TextPadding = new System.Windows.Forms.Padding(13, 0, 15, 0); + this.toolTip.SetToolTip(this.btnEAMUpdate, ""); + this.toolTip.SetToolTipIcon(this.btnEAMUpdate, null); + this.toolTip.SetToolTipTitle(this.btnEAMUpdate, ""); + this.btnEAMUpdate.UseDefaultRadiusAndThickness = true; + this.btnEAMUpdate.Click += new System.EventHandler(this.btnEAMUpdate_Click); + // // pBottom // this.pBottom.Controls.Add(this.lVersion); @@ -157,462 +253,73 @@ private void InitializeComponent() this.toolTip.SetToolTipTitle(this.lVersion, ""); this.lVersion.Paint += new System.Windows.Forms.PaintEventHandler(this.lVersion_Paint); // - // pSpacer - // - this.pSpacer.Dock = System.Windows.Forms.DockStyle.Top; - this.pSpacer.Location = new System.Drawing.Point(0, 64); - this.pSpacer.Name = "pSpacer"; - this.pSpacer.Size = new System.Drawing.Size(175, 2); - this.pSpacer.TabIndex = 6; - this.toolTip.SetToolTip(this.pSpacer, ""); - this.toolTip.SetToolTipIcon(this.pSpacer, null); - this.toolTip.SetToolTipTitle(this.pSpacer, ""); - // - // pHeader + // pSideBar // - this.pHeader.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.pHeader.Controls.Add(this.pbHeader); - this.pHeader.Controls.Add(this.lHeaderEAM); - this.pHeader.Dock = System.Windows.Forms.DockStyle.Top; - this.pHeader.Location = new System.Drawing.Point(0, 0); - this.pHeader.Name = "pHeader"; - this.pHeader.Size = new System.Drawing.Size(175, 64); - this.pHeader.TabIndex = 5; - this.toolTip.SetToolTip(this.pHeader, ""); - this.toolTip.SetToolTipIcon(this.pHeader, null); - this.toolTip.SetToolTipTitle(this.pHeader, ""); + this.pSideBar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.pSideBar.Location = new System.Drawing.Point(0, 3); + this.pSideBar.Name = "pSideBar"; + this.pSideBar.Size = new System.Drawing.Size(5, 30); + this.pSideBar.TabIndex = 5; + this.pSideBar.TabStop = false; + this.toolTip.SetToolTip(this.pSideBar, ""); + this.toolTip.SetToolTipIcon(this.pSideBar, null); + this.toolTip.SetToolTipTitle(this.pSideBar, ""); // - // lHeaderEAM + // btnAbout // - this.lHeaderEAM.Font = new System.Drawing.Font("Segoe UI Black", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lHeaderEAM.ForeColor = System.Drawing.Color.White; - this.lHeaderEAM.Location = new System.Drawing.Point(55, 2); - this.lHeaderEAM.Name = "lHeaderEAM"; - this.lHeaderEAM.Size = new System.Drawing.Size(115, 60); - this.lHeaderEAM.TabIndex = 5; - this.lHeaderEAM.Text = "Exalt Account Manager"; - this.lHeaderEAM.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.toolTip.SetToolTip(this.lHeaderEAM, ""); - this.toolTip.SetToolTipIcon(this.lHeaderEAM, null); - this.toolTip.SetToolTipTitle(this.lHeaderEAM, ""); + this.btnAbout.Dock = System.Windows.Forms.DockStyle.Top; + this.btnAbout.FlatAppearance.BorderSize = 0; + this.btnAbout.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnAbout.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnAbout.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnAbout.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnAbout.Image = global::ExaltAccountManager.Properties.Resources.ic_info_outline_black_24dp2; + this.btnAbout.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnAbout.Location = new System.Drawing.Point(0, 320); + this.btnAbout.Margin = new System.Windows.Forms.Padding(0); + this.btnAbout.Name = "btnAbout"; + this.btnAbout.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); + this.btnAbout.Size = new System.Drawing.Size(175, 40); + this.btnAbout.TabIndex = 8; + this.btnAbout.Text = " About EAM"; + this.btnAbout.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnAbout.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; + this.toolTip.SetToolTip(this.btnAbout, ""); + this.toolTip.SetToolTipIcon(this.btnAbout, null); + this.toolTip.SetToolTipTitle(this.btnAbout, ""); + this.btnAbout.UseVisualStyleBackColor = true; + this.btnAbout.Click += new System.EventHandler(this.btnAbout_Click); + this.btnAbout.MouseEnter += new System.EventHandler(this.btnAbout_MouseEnter); + this.btnAbout.MouseLeave += new System.EventHandler(this.btnAbout_MouseLeave); // - // pTop + // btnLogs // - this.pTop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250))))); - this.pTop.Controls.Add(this.pbShowDiscordUser); - this.pTop.Controls.Add(this.btnSwitchDesign); - this.pTop.Controls.Add(this.pbMinimize); - this.pTop.Controls.Add(this.pbClose); - this.pTop.Controls.Add(this.lTitle); - this.pTop.Dock = System.Windows.Forms.DockStyle.Top; - this.pTop.Location = new System.Drawing.Point(175, 0); - this.pTop.Name = "pTop"; - this.pTop.Size = new System.Drawing.Size(678, 24); - this.pTop.TabIndex = 3; - this.toolTip.SetToolTip(this.pTop, ""); - this.toolTip.SetToolTipIcon(this.pTop, null); - this.toolTip.SetToolTipTitle(this.pTop, ""); + this.btnLogs.Dock = System.Windows.Forms.DockStyle.Top; + this.btnLogs.FlatAppearance.BorderSize = 0; + this.btnLogs.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnLogs.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.btnLogs.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnLogs.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnLogs.Image = global::ExaltAccountManager.Properties.Resources.activity_history_outline_24px; + this.btnLogs.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnLogs.Location = new System.Drawing.Point(0, 280); + this.btnLogs.Margin = new System.Windows.Forms.Padding(0); + this.btnLogs.Name = "btnLogs"; + this.btnLogs.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); + this.btnLogs.Size = new System.Drawing.Size(175, 40); + this.btnLogs.TabIndex = 7; + this.btnLogs.Text = " Logs"; + this.btnLogs.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnLogs.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; + this.toolTip.SetToolTip(this.btnLogs, ""); + this.toolTip.SetToolTipIcon(this.btnLogs, null); + this.toolTip.SetToolTipTitle(this.btnLogs, ""); + this.btnLogs.UseVisualStyleBackColor = true; + this.btnLogs.Click += new System.EventHandler(this.btnLogs_Click); + this.btnLogs.MouseEnter += new System.EventHandler(this.btnLogs_MouseEnter); + this.btnLogs.MouseLeave += new System.EventHandler(this.btnLogs_MouseLeave); // - // btnSwitchDesign - // - this.btnSwitchDesign.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnSwitchDesign.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnSwitchDesign.Location = new System.Drawing.Point(526, -2); - this.btnSwitchDesign.Name = "btnSwitchDesign"; - this.btnSwitchDesign.Size = new System.Drawing.Size(103, 28); - this.btnSwitchDesign.TabIndex = 9; - this.btnSwitchDesign.Text = "Switch Theme"; - this.toolTip.SetToolTip(this.btnSwitchDesign, ""); - this.toolTip.SetToolTipIcon(this.btnSwitchDesign, null); - this.toolTip.SetToolTipTitle(this.btnSwitchDesign, ""); - this.btnSwitchDesign.UseVisualStyleBackColor = true; - this.btnSwitchDesign.Click += new System.EventHandler(this.btnSwitchDesign_Click); - // - // lTitle - // - this.lTitle.AutoSize = true; - this.lTitle.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lTitle.Location = new System.Drawing.Point(6, 3); - this.lTitle.Name = "lTitle"; - this.lTitle.Size = new System.Drawing.Size(78, 21); - this.lTitle.TabIndex = 6; - this.lTitle.Text = "Accounts"; - this.toolTip.SetToolTip(this.lTitle, ""); - this.toolTip.SetToolTipIcon(this.lTitle, null); - this.toolTip.SetToolTipTitle(this.lTitle, ""); - this.lTitle.UseMnemonic = false; - // - // pContent - // - this.pContent.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.pContent.Location = new System.Drawing.Point(175, 24); - this.pContent.Name = "pContent"; - this.pContent.Size = new System.Drawing.Size(677, 551); - this.pContent.TabIndex = 4; - this.toolTip.SetToolTip(this.pContent, ""); - this.toolTip.SetToolTipIcon(this.pContent, null); - this.toolTip.SetToolTipTitle(this.pContent, ""); - // - // bunifuForm - // - this.bunifuForm.AllowFormDragging = true; - this.bunifuForm.AllowFormDropShadow = true; - this.bunifuForm.AllowFormResizing = true; - this.bunifuForm.AllowHidingBottomRegion = true; - this.bunifuForm.AllowOpacityChangesWhileDragging = false; - this.bunifuForm.BorderOptions.BottomBorder.BorderColor = System.Drawing.Color.Silver; - this.bunifuForm.BorderOptions.BottomBorder.BorderThickness = 1; - this.bunifuForm.BorderOptions.BottomBorder.ShowBorder = true; - this.bunifuForm.BorderOptions.LeftBorder.BorderColor = System.Drawing.Color.Silver; - this.bunifuForm.BorderOptions.LeftBorder.BorderThickness = 1; - this.bunifuForm.BorderOptions.LeftBorder.ShowBorder = true; - this.bunifuForm.BorderOptions.RightBorder.BorderColor = System.Drawing.Color.Silver; - this.bunifuForm.BorderOptions.RightBorder.BorderThickness = 1; - this.bunifuForm.BorderOptions.RightBorder.ShowBorder = true; - this.bunifuForm.BorderOptions.TopBorder.BorderColor = System.Drawing.Color.Silver; - this.bunifuForm.BorderOptions.TopBorder.BorderThickness = 1; - this.bunifuForm.BorderOptions.TopBorder.ShowBorder = true; - this.bunifuForm.ContainerControl = this; - this.bunifuForm.DockingIndicatorsColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(215)))), ((int)(((byte)(233))))); - this.bunifuForm.DockingIndicatorsOpacity = 0.5D; - this.bunifuForm.DockingOptions.DockAll = true; - this.bunifuForm.DockingOptions.DockBottomLeft = true; - this.bunifuForm.DockingOptions.DockBottomRight = true; - this.bunifuForm.DockingOptions.DockFullScreen = true; - this.bunifuForm.DockingOptions.DockLeft = true; - this.bunifuForm.DockingOptions.DockRight = true; - this.bunifuForm.DockingOptions.DockTopLeft = true; - this.bunifuForm.DockingOptions.DockTopRight = true; - this.bunifuForm.FormDraggingOpacity = 0.9D; - this.bunifuForm.ParentForm = this; - this.bunifuForm.ShowCursorChanges = true; - this.bunifuForm.ShowDockingIndicators = true; - this.bunifuForm.TitleBarOptions.AllowFormDragging = true; - this.bunifuForm.TitleBarOptions.BunifuFormDock = this.bunifuForm; - this.bunifuForm.TitleBarOptions.DoubleClickToExpandWindow = true; - this.bunifuForm.TitleBarOptions.TitleBarControl = this.pTop; - this.bunifuForm.TitleBarOptions.UseBackColorOnDockingIndicators = false; - // - // snackbar - // - this.snackbar.AllowDragging = false; - this.snackbar.AllowMultipleViews = true; - this.snackbar.ClickToClose = true; - this.snackbar.DoubleClickToClose = true; - this.snackbar.DurationAfterIdle = 3000; - this.snackbar.ErrorOptions.ActionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.snackbar.ErrorOptions.ActionBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.snackbar.ErrorOptions.ActionBorderRadius = 1; - this.snackbar.ErrorOptions.ActionFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); - this.snackbar.ErrorOptions.ActionForeColor = System.Drawing.Color.Black; - this.snackbar.ErrorOptions.BackColor = System.Drawing.Color.White; - this.snackbar.ErrorOptions.BorderColor = System.Drawing.Color.White; - this.snackbar.ErrorOptions.CloseIconColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(204)))), ((int)(((byte)(199))))); - this.snackbar.ErrorOptions.Font = new System.Drawing.Font("Segoe UI", 9.75F); - this.snackbar.ErrorOptions.ForeColor = System.Drawing.Color.Black; - this.snackbar.ErrorOptions.Icon = ((System.Drawing.Image)(resources.GetObject("resource.Icon"))); - this.snackbar.ErrorOptions.IconLeftMargin = 12; - this.snackbar.FadeCloseIcon = false; - this.snackbar.Host = Bunifu.UI.WinForms.BunifuSnackbar.Hosts.FormOwner; - this.snackbar.InformationOptions.ActionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.snackbar.InformationOptions.ActionBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.snackbar.InformationOptions.ActionBorderRadius = 1; - this.snackbar.InformationOptions.ActionFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); - this.snackbar.InformationOptions.ActionForeColor = System.Drawing.Color.Black; - this.snackbar.InformationOptions.BackColor = System.Drawing.Color.White; - this.snackbar.InformationOptions.BorderColor = System.Drawing.Color.White; - this.snackbar.InformationOptions.CloseIconColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(213)))), ((int)(((byte)(255))))); - this.snackbar.InformationOptions.Font = new System.Drawing.Font("Segoe UI", 9.75F); - this.snackbar.InformationOptions.ForeColor = System.Drawing.Color.Black; - this.snackbar.InformationOptions.Icon = ((System.Drawing.Image)(resources.GetObject("resource.Icon1"))); - this.snackbar.InformationOptions.IconLeftMargin = 12; - this.snackbar.Margin = 10; - this.snackbar.MaximumSize = new System.Drawing.Size(0, 0); - this.snackbar.MaximumViews = 7; - this.snackbar.MessageRightMargin = 15; - this.snackbar.MessageTopMargin = 0; - this.snackbar.MinimumSize = new System.Drawing.Size(0, 0); - this.snackbar.ShowBorders = false; - this.snackbar.ShowCloseIcon = false; - this.snackbar.ShowIcon = true; - this.snackbar.ShowShadows = true; - this.snackbar.SuccessOptions.ActionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.snackbar.SuccessOptions.ActionBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.snackbar.SuccessOptions.ActionBorderRadius = 1; - this.snackbar.SuccessOptions.ActionFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); - this.snackbar.SuccessOptions.ActionForeColor = System.Drawing.Color.Black; - this.snackbar.SuccessOptions.BackColor = System.Drawing.Color.White; - this.snackbar.SuccessOptions.BorderColor = System.Drawing.Color.White; - this.snackbar.SuccessOptions.CloseIconColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(255)))), ((int)(((byte)(237))))); - this.snackbar.SuccessOptions.Font = new System.Drawing.Font("Segoe UI", 9.75F); - this.snackbar.SuccessOptions.ForeColor = System.Drawing.Color.Black; - this.snackbar.SuccessOptions.Icon = ((System.Drawing.Image)(resources.GetObject("resource.Icon2"))); - this.snackbar.SuccessOptions.IconLeftMargin = 12; - this.snackbar.ViewsMargin = 7; - this.snackbar.WarningOptions.ActionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.snackbar.WarningOptions.ActionBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.snackbar.WarningOptions.ActionBorderRadius = 1; - this.snackbar.WarningOptions.ActionFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); - this.snackbar.WarningOptions.ActionForeColor = System.Drawing.Color.Black; - this.snackbar.WarningOptions.BackColor = System.Drawing.Color.White; - this.snackbar.WarningOptions.BorderColor = System.Drawing.Color.White; - this.snackbar.WarningOptions.CloseIconColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(143))))); - this.snackbar.WarningOptions.Font = new System.Drawing.Font("Segoe UI", 9.75F); - this.snackbar.WarningOptions.ForeColor = System.Drawing.Color.Black; - this.snackbar.WarningOptions.Icon = ((System.Drawing.Image)(resources.GetObject("resource.Icon3"))); - this.snackbar.WarningOptions.IconLeftMargin = 12; - this.snackbar.ZoomCloseIcon = true; - // - // timerLogBlink - // - this.timerLogBlink.Interval = 500; - this.timerLogBlink.Tick += new System.EventHandler(this.timerLogBlink_Tick); - // - // timerLoadUI - // - this.timerLoadUI.Interval = 350; - this.timerLoadUI.Tick += new System.EventHandler(this.timerLoadUI_Tick); - // - // toolTip - // - this.toolTip.Active = true; - this.toolTip.AlignTextWithTitle = true; - this.toolTip.AllowAutoClose = false; - this.toolTip.AllowFading = true; - this.toolTip.AutoCloseDuration = 5000; - this.toolTip.BackColor = System.Drawing.SystemColors.Control; - this.toolTip.BorderColor = System.Drawing.Color.Gainsboro; - this.toolTip.ClickToShowDisplayControl = false; - this.toolTip.ConvertNewlinesToBreakTags = true; - this.toolTip.DisplayControl = null; - this.toolTip.EntryAnimationSpeed = 350; - this.toolTip.ExitAnimationSpeed = 200; - this.toolTip.GenerateAutoCloseDuration = false; - this.toolTip.IconMargin = 6; - this.toolTip.InitialDelay = 0; - this.toolTip.Name = "toolTip"; - this.toolTip.Opacity = 1D; - this.toolTip.OverrideToolTipTitles = false; - this.toolTip.Padding = new System.Windows.Forms.Padding(10); - this.toolTip.ReshowDelay = 100; - this.toolTip.ShowAlways = true; - this.toolTip.ShowBorders = false; - this.toolTip.ShowIcons = true; - this.toolTip.ShowShadows = true; - this.toolTip.Tag = null; - this.toolTip.TextFont = new System.Drawing.Font("Segoe UI", 9F); - this.toolTip.TextForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.toolTip.TextMargin = 2; - this.toolTip.TitleFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold); - this.toolTip.TitleForeColor = System.Drawing.Color.Black; - this.toolTip.ToolTipPosition = new System.Drawing.Point(0, 0); - this.toolTip.ToolTipTitle = null; - // - // timerDiscordUpdater - // - this.timerDiscordUpdater.Interval = 5000; - this.timerDiscordUpdater.Tick += new System.EventHandler(this.timerDiscordUpdater_Tick); - // - // pbMinimize - // - this.pbMinimize.Image = global::ExaltAccountManager.Properties.Resources.baseline_minimize_black_24dp; - this.pbMinimize.Location = new System.Drawing.Point(630, 0); - this.pbMinimize.Name = "pbMinimize"; - this.pbMinimize.Size = new System.Drawing.Size(24, 24); - this.pbMinimize.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; - this.pbMinimize.TabIndex = 8; - this.pbMinimize.TabStop = false; - this.toolTip.SetToolTip(this.pbMinimize, ""); - this.toolTip.SetToolTipIcon(this.pbMinimize, null); - this.toolTip.SetToolTipTitle(this.pbMinimize, ""); - this.pbMinimize.Click += new System.EventHandler(this.pbMinimize_Click); - this.pbMinimize.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbMinimize_MouseDown); - this.pbMinimize.MouseEnter += new System.EventHandler(this.pbMinimize_MouseEnter); - this.pbMinimize.MouseLeave += new System.EventHandler(this.pbMinimize_MouseLeave); - this.pbMinimize.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbMinimize_MouseUp); - // - // pbClose - // - this.pbClose.Image = global::ExaltAccountManager.Properties.Resources.ic_close_black_24dp; - this.pbClose.Location = new System.Drawing.Point(654, 0); - this.pbClose.Name = "pbClose"; - this.pbClose.Size = new System.Drawing.Size(24, 24); - this.pbClose.TabIndex = 7; - this.pbClose.TabStop = false; - this.toolTip.SetToolTip(this.pbClose, ""); - this.toolTip.SetToolTipIcon(this.pbClose, null); - this.toolTip.SetToolTipTitle(this.pbClose, ""); - this.pbClose.Click += new System.EventHandler(this.pbClose_Click); - this.pbClose.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbClose_MouseDown); - this.pbClose.MouseEnter += new System.EventHandler(this.pbClose_MouseEnter); - this.pbClose.MouseLeave += new System.EventHandler(this.pbClose_MouseLeave); - this.pbClose.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbClose_MouseUp); - // - // btnEAMUpdate - // - this.btnEAMUpdate.AllowAnimations = true; - this.btnEAMUpdate.AllowMouseEffects = true; - this.btnEAMUpdate.AllowToggling = false; - this.btnEAMUpdate.AnimationSpeed = 200; - this.btnEAMUpdate.AutoGenerateColors = false; - this.btnEAMUpdate.AutoRoundBorders = false; - this.btnEAMUpdate.AutoSizeLeftIcon = true; - this.btnEAMUpdate.AutoSizeRightIcon = true; - this.btnEAMUpdate.BackColor = System.Drawing.Color.Transparent; - this.btnEAMUpdate.BackColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnEAMUpdate.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnEAMUpdate.BackgroundImage"))); - this.btnEAMUpdate.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; - this.btnEAMUpdate.ButtonText = "Update EAM"; - this.btnEAMUpdate.ButtonTextMarginLeft = 0; - this.btnEAMUpdate.ColorContrastOnClick = 45; - this.btnEAMUpdate.ColorContrastOnHover = 45; - this.btnEAMUpdate.Cursor = System.Windows.Forms.Cursors.Default; - borderEdges1.BottomLeft = true; - borderEdges1.BottomRight = true; - borderEdges1.TopLeft = true; - borderEdges1.TopRight = true; - this.btnEAMUpdate.CustomizableEdges = borderEdges1; - this.btnEAMUpdate.DialogResult = System.Windows.Forms.DialogResult.None; - this.btnEAMUpdate.DisabledBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191))))); - this.btnEAMUpdate.DisabledFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); - this.btnEAMUpdate.DisabledForecolor = System.Drawing.Color.FromArgb(((int)(((byte)(168)))), ((int)(((byte)(160)))), ((int)(((byte)(168))))); - this.btnEAMUpdate.Dock = System.Windows.Forms.DockStyle.Fill; - this.btnEAMUpdate.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Hover; - this.btnEAMUpdate.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnEAMUpdate.ForeColor = System.Drawing.Color.White; - this.btnEAMUpdate.IconLeft = global::ExaltAccountManager.Properties.Resources._2; - this.btnEAMUpdate.IconLeftAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnEAMUpdate.IconLeftCursor = System.Windows.Forms.Cursors.Default; - this.btnEAMUpdate.IconLeftPadding = new System.Windows.Forms.Padding(5, 3, 1, 3); - this.btnEAMUpdate.IconMarginLeft = 11; - this.btnEAMUpdate.IconPadding = 4; - this.btnEAMUpdate.IconRight = null; - this.btnEAMUpdate.IconRightAlign = System.Drawing.ContentAlignment.MiddleRight; - this.btnEAMUpdate.IconRightCursor = System.Windows.Forms.Cursors.Default; - this.btnEAMUpdate.IconRightPadding = new System.Windows.Forms.Padding(3, 3, 7, 3); - this.btnEAMUpdate.IconSize = 10; - this.btnEAMUpdate.IdleBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnEAMUpdate.IdleBorderRadius = 5; - this.btnEAMUpdate.IdleBorderThickness = 1; - this.btnEAMUpdate.IdleFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnEAMUpdate.IdleIconLeftImage = global::ExaltAccountManager.Properties.Resources._2; - this.btnEAMUpdate.IdleIconRightImage = null; - this.btnEAMUpdate.IndicateFocus = false; - this.btnEAMUpdate.Location = new System.Drawing.Point(5, 0); - this.btnEAMUpdate.Name = "btnEAMUpdate"; - this.btnEAMUpdate.OnDisabledState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191))))); - this.btnEAMUpdate.OnDisabledState.BorderRadius = 5; - this.btnEAMUpdate.OnDisabledState.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; - this.btnEAMUpdate.OnDisabledState.BorderThickness = 1; - this.btnEAMUpdate.OnDisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); - this.btnEAMUpdate.OnDisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(168)))), ((int)(((byte)(160)))), ((int)(((byte)(168))))); - this.btnEAMUpdate.OnDisabledState.IconLeftImage = null; - this.btnEAMUpdate.OnDisabledState.IconRightImage = null; - this.btnEAMUpdate.onHoverState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnEAMUpdate.onHoverState.BorderRadius = 5; - this.btnEAMUpdate.onHoverState.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; - this.btnEAMUpdate.onHoverState.BorderThickness = 1; - this.btnEAMUpdate.onHoverState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnEAMUpdate.onHoverState.ForeColor = System.Drawing.Color.White; - this.btnEAMUpdate.onHoverState.IconLeftImage = null; - this.btnEAMUpdate.onHoverState.IconRightImage = null; - this.btnEAMUpdate.OnIdleState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnEAMUpdate.OnIdleState.BorderRadius = 5; - this.btnEAMUpdate.OnIdleState.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; - this.btnEAMUpdate.OnIdleState.BorderThickness = 1; - this.btnEAMUpdate.OnIdleState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnEAMUpdate.OnIdleState.ForeColor = System.Drawing.Color.White; - this.btnEAMUpdate.OnIdleState.IconLeftImage = global::ExaltAccountManager.Properties.Resources._2; - this.btnEAMUpdate.OnIdleState.IconRightImage = null; - this.btnEAMUpdate.OnPressedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnEAMUpdate.OnPressedState.BorderRadius = 5; - this.btnEAMUpdate.OnPressedState.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; - this.btnEAMUpdate.OnPressedState.BorderThickness = 1; - this.btnEAMUpdate.OnPressedState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnEAMUpdate.OnPressedState.ForeColor = System.Drawing.Color.White; - this.btnEAMUpdate.OnPressedState.IconLeftImage = null; - this.btnEAMUpdate.OnPressedState.IconRightImage = null; - this.btnEAMUpdate.Size = new System.Drawing.Size(165, 31); - this.btnEAMUpdate.TabIndex = 25; - this.btnEAMUpdate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.btnEAMUpdate.TextAlignment = System.Windows.Forms.HorizontalAlignment.Center; - this.btnEAMUpdate.TextMarginLeft = 0; - this.btnEAMUpdate.TextPadding = new System.Windows.Forms.Padding(13, 0, 15, 0); - this.toolTip.SetToolTip(this.btnEAMUpdate, ""); - this.toolTip.SetToolTipIcon(this.btnEAMUpdate, null); - this.toolTip.SetToolTipTitle(this.btnEAMUpdate, ""); - this.btnEAMUpdate.UseDefaultRadiusAndThickness = true; - this.btnEAMUpdate.Click += new System.EventHandler(this.btnEAMUpdate_Click); - // - // pSideBar - // - this.pSideBar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.pSideBar.Location = new System.Drawing.Point(0, 3); - this.pSideBar.Name = "pSideBar"; - this.pSideBar.Size = new System.Drawing.Size(5, 30); - this.pSideBar.TabIndex = 5; - this.pSideBar.TabStop = false; - this.toolTip.SetToolTip(this.pSideBar, ""); - this.toolTip.SetToolTipIcon(this.pSideBar, null); - this.toolTip.SetToolTipTitle(this.pSideBar, ""); - // - // btnAbout - // - this.btnAbout.Dock = System.Windows.Forms.DockStyle.Top; - this.btnAbout.FlatAppearance.BorderSize = 0; - this.btnAbout.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnAbout.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnAbout.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnAbout.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnAbout.Image = global::ExaltAccountManager.Properties.Resources.ic_info_outline_black_24dp2; - this.btnAbout.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnAbout.Location = new System.Drawing.Point(0, 320); - this.btnAbout.Margin = new System.Windows.Forms.Padding(0); - this.btnAbout.Name = "btnAbout"; - this.btnAbout.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); - this.btnAbout.Size = new System.Drawing.Size(175, 40); - this.btnAbout.TabIndex = 8; - this.btnAbout.Text = " About EAM"; - this.btnAbout.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnAbout.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; - this.toolTip.SetToolTip(this.btnAbout, ""); - this.toolTip.SetToolTipIcon(this.btnAbout, null); - this.toolTip.SetToolTipTitle(this.btnAbout, ""); - this.btnAbout.UseVisualStyleBackColor = true; - this.btnAbout.Click += new System.EventHandler(this.btnAbout_Click); - this.btnAbout.MouseEnter += new System.EventHandler(this.btnAbout_MouseEnter); - this.btnAbout.MouseLeave += new System.EventHandler(this.btnAbout_MouseLeave); - // - // btnLogs - // - this.btnLogs.Dock = System.Windows.Forms.DockStyle.Top; - this.btnLogs.FlatAppearance.BorderSize = 0; - this.btnLogs.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnLogs.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); - this.btnLogs.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnLogs.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnLogs.Image = global::ExaltAccountManager.Properties.Resources.activity_history_outline_24px; - this.btnLogs.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnLogs.Location = new System.Drawing.Point(0, 280); - this.btnLogs.Margin = new System.Windows.Forms.Padding(0); - this.btnLogs.Name = "btnLogs"; - this.btnLogs.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0); - this.btnLogs.Size = new System.Drawing.Size(175, 40); - this.btnLogs.TabIndex = 7; - this.btnLogs.Text = " Logs"; - this.btnLogs.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnLogs.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; - this.toolTip.SetToolTip(this.btnLogs, ""); - this.toolTip.SetToolTipIcon(this.btnLogs, null); - this.toolTip.SetToolTipTitle(this.btnLogs, ""); - this.btnLogs.UseVisualStyleBackColor = true; - this.btnLogs.Click += new System.EventHandler(this.btnLogs_Click); - this.btnLogs.MouseEnter += new System.EventHandler(this.btnLogs_MouseEnter); - this.btnLogs.MouseLeave += new System.EventHandler(this.btnLogs_MouseLeave); - // - // btnHelp + // btnHelp // this.btnHelp.Dock = System.Windows.Forms.DockStyle.Top; this.btnHelp.FlatAppearance.BorderSize = 0; @@ -804,6 +511,31 @@ private void InitializeComponent() this.btnGameUpdater.MouseEnter += new System.EventHandler(this.btnGameUpdater_MouseEnter); this.btnGameUpdater.MouseLeave += new System.EventHandler(this.btnGameUpdater_MouseLeave); // + // pSpacer + // + this.pSpacer.Dock = System.Windows.Forms.DockStyle.Top; + this.pSpacer.Location = new System.Drawing.Point(0, 64); + this.pSpacer.Name = "pSpacer"; + this.pSpacer.Size = new System.Drawing.Size(175, 2); + this.pSpacer.TabIndex = 6; + this.toolTip.SetToolTip(this.pSpacer, ""); + this.toolTip.SetToolTipIcon(this.pSpacer, null); + this.toolTip.SetToolTipTitle(this.pSpacer, ""); + // + // pHeader + // + this.pHeader.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(238))))); + this.pHeader.Controls.Add(this.pbHeader); + this.pHeader.Controls.Add(this.lHeaderEAM); + this.pHeader.Dock = System.Windows.Forms.DockStyle.Top; + this.pHeader.Location = new System.Drawing.Point(0, 0); + this.pHeader.Name = "pHeader"; + this.pHeader.Size = new System.Drawing.Size(175, 64); + this.pHeader.TabIndex = 5; + this.toolTip.SetToolTip(this.pHeader, ""); + this.toolTip.SetToolTipIcon(this.pHeader, null); + this.toolTip.SetToolTipTitle(this.pHeader, ""); + // // pbHeader // this.pbHeader.Image = global::ExaltAccountManager.Properties.Resources.logo; @@ -817,8 +549,40 @@ private void InitializeComponent() this.toolTip.SetToolTipIcon(this.pbHeader, null); this.toolTip.SetToolTipTitle(this.pbHeader, ""); // + // lHeaderEAM + // + this.lHeaderEAM.Font = new System.Drawing.Font("Segoe UI Black", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lHeaderEAM.ForeColor = System.Drawing.Color.White; + this.lHeaderEAM.Location = new System.Drawing.Point(55, 2); + this.lHeaderEAM.Name = "lHeaderEAM"; + this.lHeaderEAM.Size = new System.Drawing.Size(115, 60); + this.lHeaderEAM.TabIndex = 5; + this.lHeaderEAM.Text = "Exalt Account Manager"; + this.lHeaderEAM.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.toolTip.SetToolTip(this.lHeaderEAM, ""); + this.toolTip.SetToolTipIcon(this.lHeaderEAM, null); + this.toolTip.SetToolTipTitle(this.lHeaderEAM, ""); + // + // pTop + // + this.pTop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250))))); + this.pTop.Controls.Add(this.pbShowDiscordUser); + this.pTop.Controls.Add(this.btnSwitchDesign); + this.pTop.Controls.Add(this.pbMinimize); + this.pTop.Controls.Add(this.pbClose); + this.pTop.Controls.Add(this.lTitle); + this.pTop.Dock = System.Windows.Forms.DockStyle.Top; + this.pTop.Location = new System.Drawing.Point(175, 0); + this.pTop.Name = "pTop"; + this.pTop.Size = new System.Drawing.Size(678, 24); + this.pTop.TabIndex = 3; + this.toolTip.SetToolTip(this.pTop, ""); + this.toolTip.SetToolTipIcon(this.pTop, null); + this.toolTip.SetToolTipTitle(this.pTop, ""); + // // pbShowDiscordUser // + this.pbShowDiscordUser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.pbShowDiscordUser.Image = global::ExaltAccountManager.Properties.Resources.male_user_outline_black_24px; this.pbShowDiscordUser.Location = new System.Drawing.Point(497, 0); this.pbShowDiscordUser.Name = "pbShowDiscordUser"; @@ -836,6 +600,246 @@ private void InitializeComponent() this.pbShowDiscordUser.MouseLeave += new System.EventHandler(this.pbShowDiscordUser_MouseLeave); this.pbShowDiscordUser.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbShowDiscordUser_MouseUp); // + // btnSwitchDesign + // + this.btnSwitchDesign.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnSwitchDesign.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnSwitchDesign.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnSwitchDesign.Location = new System.Drawing.Point(526, -2); + this.btnSwitchDesign.Name = "btnSwitchDesign"; + this.btnSwitchDesign.Size = new System.Drawing.Size(103, 28); + this.btnSwitchDesign.TabIndex = 9; + this.btnSwitchDesign.Text = "Switch Theme"; + this.toolTip.SetToolTip(this.btnSwitchDesign, ""); + this.toolTip.SetToolTipIcon(this.btnSwitchDesign, null); + this.toolTip.SetToolTipTitle(this.btnSwitchDesign, ""); + this.btnSwitchDesign.UseVisualStyleBackColor = true; + this.btnSwitchDesign.Click += new System.EventHandler(this.btnSwitchDesign_Click); + // + // pbMinimize + // + this.pbMinimize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.pbMinimize.Image = global::ExaltAccountManager.Properties.Resources.baseline_minimize_black_24dp; + this.pbMinimize.Location = new System.Drawing.Point(630, 0); + this.pbMinimize.Name = "pbMinimize"; + this.pbMinimize.Size = new System.Drawing.Size(24, 24); + this.pbMinimize.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.pbMinimize.TabIndex = 8; + this.pbMinimize.TabStop = false; + this.toolTip.SetToolTip(this.pbMinimize, ""); + this.toolTip.SetToolTipIcon(this.pbMinimize, null); + this.toolTip.SetToolTipTitle(this.pbMinimize, ""); + this.pbMinimize.Click += new System.EventHandler(this.pbMinimize_Click); + this.pbMinimize.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbMinimize_MouseDown); + this.pbMinimize.MouseEnter += new System.EventHandler(this.pbMinimize_MouseEnter); + this.pbMinimize.MouseLeave += new System.EventHandler(this.pbMinimize_MouseLeave); + this.pbMinimize.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbMinimize_MouseUp); + // + // pbClose + // + this.pbClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.pbClose.Image = global::ExaltAccountManager.Properties.Resources.ic_close_black_24dp; + this.pbClose.Location = new System.Drawing.Point(654, 0); + this.pbClose.Name = "pbClose"; + this.pbClose.Size = new System.Drawing.Size(24, 24); + this.pbClose.TabIndex = 7; + this.pbClose.TabStop = false; + this.toolTip.SetToolTip(this.pbClose, ""); + this.toolTip.SetToolTipIcon(this.pbClose, null); + this.toolTip.SetToolTipTitle(this.pbClose, ""); + this.pbClose.Click += new System.EventHandler(this.pbClose_Click); + this.pbClose.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pbClose_MouseDown); + this.pbClose.MouseEnter += new System.EventHandler(this.pbClose_MouseEnter); + this.pbClose.MouseLeave += new System.EventHandler(this.pbClose_MouseLeave); + this.pbClose.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pbClose_MouseUp); + // + // lTitle + // + this.lTitle.AutoSize = true; + this.lTitle.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lTitle.Location = new System.Drawing.Point(6, 3); + this.lTitle.Name = "lTitle"; + this.lTitle.Size = new System.Drawing.Size(78, 21); + this.lTitle.TabIndex = 6; + this.lTitle.Text = "Accounts"; + this.toolTip.SetToolTip(this.lTitle, ""); + this.toolTip.SetToolTipIcon(this.lTitle, null); + this.toolTip.SetToolTipTitle(this.lTitle, ""); + this.lTitle.UseMnemonic = false; + // + // pContent + // + this.pContent.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.pContent.Location = new System.Drawing.Point(175, 24); + this.pContent.Name = "pContent"; + this.pContent.Size = new System.Drawing.Size(677, 551); + this.pContent.TabIndex = 4; + this.toolTip.SetToolTip(this.pContent, ""); + this.toolTip.SetToolTipIcon(this.pContent, null); + this.toolTip.SetToolTipTitle(this.pContent, ""); + // + // bunifuForm + // + this.bunifuForm.AllowFormDragging = true; + this.bunifuForm.AllowFormDropShadow = true; + this.bunifuForm.AllowFormResizing = true; + this.bunifuForm.AllowHidingBottomRegion = true; + this.bunifuForm.AllowOpacityChangesWhileDragging = false; + this.bunifuForm.BorderOptions.BottomBorder.BorderColor = System.Drawing.Color.Silver; + this.bunifuForm.BorderOptions.BottomBorder.BorderThickness = 1; + this.bunifuForm.BorderOptions.BottomBorder.ShowBorder = true; + this.bunifuForm.BorderOptions.LeftBorder.BorderColor = System.Drawing.Color.Silver; + this.bunifuForm.BorderOptions.LeftBorder.BorderThickness = 1; + this.bunifuForm.BorderOptions.LeftBorder.ShowBorder = true; + this.bunifuForm.BorderOptions.RightBorder.BorderColor = System.Drawing.Color.Silver; + this.bunifuForm.BorderOptions.RightBorder.BorderThickness = 1; + this.bunifuForm.BorderOptions.RightBorder.ShowBorder = true; + this.bunifuForm.BorderOptions.TopBorder.BorderColor = System.Drawing.Color.Silver; + this.bunifuForm.BorderOptions.TopBorder.BorderThickness = 1; + this.bunifuForm.BorderOptions.TopBorder.ShowBorder = true; + this.bunifuForm.ContainerControl = this; + this.bunifuForm.DockingIndicatorsColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(215)))), ((int)(((byte)(233))))); + this.bunifuForm.DockingIndicatorsOpacity = 0.5D; + this.bunifuForm.DockingOptions.DockAll = true; + this.bunifuForm.DockingOptions.DockBottomLeft = true; + this.bunifuForm.DockingOptions.DockBottomRight = true; + this.bunifuForm.DockingOptions.DockFullScreen = true; + this.bunifuForm.DockingOptions.DockLeft = true; + this.bunifuForm.DockingOptions.DockRight = true; + this.bunifuForm.DockingOptions.DockTopLeft = true; + this.bunifuForm.DockingOptions.DockTopRight = true; + this.bunifuForm.FormDraggingOpacity = 0.9D; + this.bunifuForm.ParentForm = this; + this.bunifuForm.ShowCursorChanges = true; + this.bunifuForm.ShowDockingIndicators = true; + this.bunifuForm.TitleBarOptions.AllowFormDragging = true; + this.bunifuForm.TitleBarOptions.BunifuFormDock = this.bunifuForm; + this.bunifuForm.TitleBarOptions.DoubleClickToExpandWindow = true; + this.bunifuForm.TitleBarOptions.TitleBarControl = this.pTop; + this.bunifuForm.TitleBarOptions.UseBackColorOnDockingIndicators = false; + // + // snackbar + // + this.snackbar.AllowDragging = false; + this.snackbar.AllowMultipleViews = true; + this.snackbar.ClickToClose = true; + this.snackbar.DoubleClickToClose = true; + this.snackbar.DurationAfterIdle = 3000; + this.snackbar.ErrorOptions.ActionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.snackbar.ErrorOptions.ActionBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.snackbar.ErrorOptions.ActionBorderRadius = 1; + this.snackbar.ErrorOptions.ActionFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); + this.snackbar.ErrorOptions.ActionForeColor = System.Drawing.Color.Black; + this.snackbar.ErrorOptions.BackColor = System.Drawing.Color.White; + this.snackbar.ErrorOptions.BorderColor = System.Drawing.Color.White; + this.snackbar.ErrorOptions.CloseIconColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(204)))), ((int)(((byte)(199))))); + this.snackbar.ErrorOptions.Font = new System.Drawing.Font("Segoe UI", 9.75F); + this.snackbar.ErrorOptions.ForeColor = System.Drawing.Color.Black; + this.snackbar.ErrorOptions.Icon = ((System.Drawing.Image)(resources.GetObject("resource.Icon"))); + this.snackbar.ErrorOptions.IconLeftMargin = 12; + this.snackbar.FadeCloseIcon = false; + this.snackbar.Host = Bunifu.UI.WinForms.BunifuSnackbar.Hosts.FormOwner; + this.snackbar.InformationOptions.ActionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.snackbar.InformationOptions.ActionBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.snackbar.InformationOptions.ActionBorderRadius = 1; + this.snackbar.InformationOptions.ActionFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); + this.snackbar.InformationOptions.ActionForeColor = System.Drawing.Color.Black; + this.snackbar.InformationOptions.BackColor = System.Drawing.Color.White; + this.snackbar.InformationOptions.BorderColor = System.Drawing.Color.White; + this.snackbar.InformationOptions.CloseIconColor = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(213)))), ((int)(((byte)(255))))); + this.snackbar.InformationOptions.Font = new System.Drawing.Font("Segoe UI", 9.75F); + this.snackbar.InformationOptions.ForeColor = System.Drawing.Color.Black; + this.snackbar.InformationOptions.Icon = ((System.Drawing.Image)(resources.GetObject("resource.Icon1"))); + this.snackbar.InformationOptions.IconLeftMargin = 12; + this.snackbar.Margin = 10; + this.snackbar.MaximumSize = new System.Drawing.Size(0, 0); + this.snackbar.MaximumViews = 7; + this.snackbar.MessageRightMargin = 15; + this.snackbar.MessageTopMargin = 0; + this.snackbar.MinimumSize = new System.Drawing.Size(0, 0); + this.snackbar.ShowBorders = false; + this.snackbar.ShowCloseIcon = false; + this.snackbar.ShowIcon = true; + this.snackbar.ShowShadows = true; + this.snackbar.SuccessOptions.ActionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.snackbar.SuccessOptions.ActionBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.snackbar.SuccessOptions.ActionBorderRadius = 1; + this.snackbar.SuccessOptions.ActionFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); + this.snackbar.SuccessOptions.ActionForeColor = System.Drawing.Color.Black; + this.snackbar.SuccessOptions.BackColor = System.Drawing.Color.White; + this.snackbar.SuccessOptions.BorderColor = System.Drawing.Color.White; + this.snackbar.SuccessOptions.CloseIconColor = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(255)))), ((int)(((byte)(237))))); + this.snackbar.SuccessOptions.Font = new System.Drawing.Font("Segoe UI", 9.75F); + this.snackbar.SuccessOptions.ForeColor = System.Drawing.Color.Black; + this.snackbar.SuccessOptions.Icon = ((System.Drawing.Image)(resources.GetObject("resource.Icon2"))); + this.snackbar.SuccessOptions.IconLeftMargin = 12; + this.snackbar.ViewsMargin = 7; + this.snackbar.WarningOptions.ActionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.snackbar.WarningOptions.ActionBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.snackbar.WarningOptions.ActionBorderRadius = 1; + this.snackbar.WarningOptions.ActionFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); + this.snackbar.WarningOptions.ActionForeColor = System.Drawing.Color.Black; + this.snackbar.WarningOptions.BackColor = System.Drawing.Color.White; + this.snackbar.WarningOptions.BorderColor = System.Drawing.Color.White; + this.snackbar.WarningOptions.CloseIconColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(229)))), ((int)(((byte)(143))))); + this.snackbar.WarningOptions.Font = new System.Drawing.Font("Segoe UI", 9.75F); + this.snackbar.WarningOptions.ForeColor = System.Drawing.Color.Black; + this.snackbar.WarningOptions.Icon = ((System.Drawing.Image)(resources.GetObject("resource.Icon3"))); + this.snackbar.WarningOptions.IconLeftMargin = 12; + this.snackbar.ZoomCloseIcon = true; + // + // timerLogBlink + // + this.timerLogBlink.Interval = 500; + this.timerLogBlink.Tick += new System.EventHandler(this.timerLogBlink_Tick); + // + // timerLoadUI + // + this.timerLoadUI.Interval = 350; + this.timerLoadUI.Tick += new System.EventHandler(this.timerLoadUI_Tick); + // + // toolTip + // + this.toolTip.Active = true; + this.toolTip.AlignTextWithTitle = true; + this.toolTip.AllowAutoClose = false; + this.toolTip.AllowFading = true; + this.toolTip.AutoCloseDuration = 5000; + this.toolTip.BackColor = System.Drawing.SystemColors.Control; + this.toolTip.BorderColor = System.Drawing.Color.Gainsboro; + this.toolTip.ClickToShowDisplayControl = false; + this.toolTip.ConvertNewlinesToBreakTags = true; + this.toolTip.DisplayControl = null; + this.toolTip.EntryAnimationSpeed = 350; + this.toolTip.ExitAnimationSpeed = 200; + this.toolTip.GenerateAutoCloseDuration = false; + this.toolTip.IconMargin = 6; + this.toolTip.InitialDelay = 0; + this.toolTip.Name = "toolTip"; + this.toolTip.Opacity = 1D; + this.toolTip.OverrideToolTipTitles = false; + this.toolTip.Padding = new System.Windows.Forms.Padding(10); + this.toolTip.ReshowDelay = 100; + this.toolTip.ShowAlways = true; + this.toolTip.ShowBorders = false; + this.toolTip.ShowIcons = true; + this.toolTip.ShowShadows = true; + this.toolTip.Tag = null; + this.toolTip.TextFont = new System.Drawing.Font("Segoe UI", 9F); + this.toolTip.TextForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); + this.toolTip.TextMargin = 2; + this.toolTip.TitleFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold); + this.toolTip.TitleForeColor = System.Drawing.Color.Black; + this.toolTip.ToolTipPosition = new System.Drawing.Point(0, 0); + this.toolTip.ToolTipTitle = null; + // + // timerDiscordUpdater + // + this.timerDiscordUpdater.Interval = 5000; + this.timerDiscordUpdater.Tick += new System.EventHandler(this.timerDiscordUpdater_Tick); + // // FrmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F); @@ -864,14 +868,14 @@ private void InitializeComponent() this.pUpdate.ResumeLayout(false); this.pBottom.ResumeLayout(false); this.pBottom.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pSideBar)).EndInit(); this.pHeader.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pbHeader)).EndInit(); this.pTop.ResumeLayout(false); this.pTop.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pbShowDiscordUser)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pbMinimize)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pbClose)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pSideBar)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbHeader)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbShowDiscordUser)).EndInit(); this.ResumeLayout(false); } diff --git a/ExaltAccountManager/FrmMain.cs b/ExaltAccountManager/FrmMain.cs index ca30fb62..181b8677 100644 --- a/ExaltAccountManager/FrmMain.cs +++ b/ExaltAccountManager/FrmMain.cs @@ -20,15 +20,13 @@ using System.Threading.Tasks; using System.Diagnostics; using MK_EAM_General_Services_Lib.General.Responses; -using System.Drawing.Text; using Newtonsoft.Json; -using Newtonsoft.Json.Linq; namespace ExaltAccountManager { public sealed partial class FrmMain : Form { - public readonly Version version = new Version(3, 2, 0); + public readonly Version version = new Version(3, 2, 1); public const string GITHUB_PROJECT_URL = "https://github.com/MaikEight/ExaltAccountManager"; public const string DISCORD_INVITE_URL = "https://discord.exalt-account-manager.eu"; public string API_BASE_URL { get; internal set; } = "https://api.exalt-account-manager.eu/"; diff --git a/ExaltAccountManager/UI/UIAccounts.cs b/ExaltAccountManager/UI/UIAccounts.cs index c37843e5..7a4055e2 100644 --- a/ExaltAccountManager/UI/UIAccounts.cs +++ b/ExaltAccountManager/UI/UIAccounts.cs @@ -346,6 +346,17 @@ private void btnPlay_Click(object sender, EventArgs e) try { + // Check if the exe path is valid and try to set it to default if not + if (!System.IO.File.Exists(frm.OptionsData.exePath)) + { + string defaultPath = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), @"RealmOfTheMadGod\Production\RotMG Exalt.exe"); + if (System.IO.File.Exists(defaultPath)) + { + frm.OptionsData.exePath = defaultPath; + frm.SaveOptions(frm.OptionsData, false); + } + } + if (System.IO.File.Exists(frm.OptionsData.exePath)) { MK_EAM_Lib.AccountInfo info = GetAccountInfo(dataGridView.SelectedRows[0].Index); @@ -434,7 +445,7 @@ private bool StartGameForAccount(MK_EAM_Lib.AccountInfo _info) } if (frm.OptionsData.closeAfterConnection) - { + { //Hide the form during the closing process frm.WindowState = FormWindowState.Minimized; frm.ShowInTaskbar = false; @@ -445,8 +456,8 @@ private bool StartGameForAccount(MK_EAM_Lib.AccountInfo _info) analyticsAddLogin.Wait(5000); } catch { } - - Environment.Exit(0); + + Environment.Exit(0); } else { @@ -471,7 +482,7 @@ private bool StartGameForAccount(MK_EAM_Lib.AccountInfo _info) string state = frm.OptionsData.discordOptions.ShowAccountNames ? "Ingame as " + _info.name + " 🎮" : "Playing rotmg 🎮"; DiscordHelper.SetState(state); DiscordHelper.ApplyPresence(); - } + } } catch { @@ -599,7 +610,7 @@ private bool RenewTokenFinished(MK_EAM_Lib.AccountInfo _info) { frm.ShowSnackbar("Captcha failed, please try again.", Bunifu.UI.WinForms.BunifuSnackbar.MessageTypes.Error, 5000); } - + return true; } diff --git a/ExaltAccountManager/UI/UIChangelog.cs b/ExaltAccountManager/UI/UIChangelog.cs index 4fa13c36..1785445c 100644 --- a/ExaltAccountManager/UI/UIChangelog.cs +++ b/ExaltAccountManager/UI/UIChangelog.cs @@ -12,6 +12,17 @@ public sealed partial class UIChangelog : UserControl private readonly BindingList changelogEntries = new BindingList() { + new ChangelogEntry() + { + ReleaseDate = new DateTime(2023, 07, 19), + Version = new Version(3, 2, 1), + Name = "Bug fixes and improvements", + Description = $"BUG FIXES{Environment.NewLine}{Environment.NewLine}" + + $"- Fixed the scaling issues{Environment.NewLine}" + + $"- Fixed the top controls to the right side{Environment.NewLine}" + + $"- Fixed the discord username for the new usernames without discriminator{Environment.NewLine}" + + $"- Addded a check for the default game path, if the game.exe can't be found{Environment.NewLine}{Environment.NewLine}" + }, new ChangelogEntry() { ReleaseDate = new DateTime(2023, 06, 02), diff --git a/ExaltAccountManager/app.manifest b/ExaltAccountManager/app.manifest index 7c31d30b..3da1687a 100644 --- a/ExaltAccountManager/app.manifest +++ b/ExaltAccountManager/app.manifest @@ -53,6 +53,7 @@ Makes the application long-path aware. See https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation --> +