diff --git a/MercuryBOT.sln b/MercuryBOT.sln index e2073f0..3e85785 100644 --- a/MercuryBOT.sln +++ b/MercuryBOT.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.11.35327.3 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mercury", "MercuryBOT\Mercury.csproj", "{95A62B66-12F4-410E-8F8C-AF538DE7853D}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MercuryProject", "MercuryBOT\MercuryProject.csproj", "{95A62B66-12F4-410E-8F8C-AF538DE7853D}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -16,12 +16,10 @@ Global {95A62B66-12F4-410E-8F8C-AF538DE7853D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {95A62B66-12F4-410E-8F8C-AF538DE7853D}.Debug|Any CPU.Build.0 = Debug|Any CPU {95A62B66-12F4-410E-8F8C-AF538DE7853D}.Debug|Any CPU.Deploy.0 = Debug|Any CPU - {95A62B66-12F4-410E-8F8C-AF538DE7853D}.Debug|x86.ActiveCfg = Debug|x86 - {95A62B66-12F4-410E-8F8C-AF538DE7853D}.Debug|x86.Build.0 = Debug|x86 + {95A62B66-12F4-410E-8F8C-AF538DE7853D}.Debug|x86.ActiveCfg = Debug|Any CPU {95A62B66-12F4-410E-8F8C-AF538DE7853D}.Release|Any CPU.ActiveCfg = Release|Any CPU {95A62B66-12F4-410E-8F8C-AF538DE7853D}.Release|Any CPU.Build.0 = Release|Any CPU - {95A62B66-12F4-410E-8F8C-AF538DE7853D}.Release|x86.ActiveCfg = Release|x86 - {95A62B66-12F4-410E-8F8C-AF538DE7853D}.Release|x86.Build.0 = Release|x86 + {95A62B66-12F4-410E-8F8C-AF538DE7853D}.Release|x86.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/MercuryBOT/AddAcc.Designer.cs b/MercuryBOT/AccSettings/AddAcc.Designer.cs similarity index 100% rename from MercuryBOT/AddAcc.Designer.cs rename to MercuryBOT/AccSettings/AddAcc.Designer.cs diff --git a/MercuryBOT/AddAcc.cs b/MercuryBOT/AccSettings/AddAcc.cs similarity index 100% rename from MercuryBOT/AddAcc.cs rename to MercuryBOT/AccSettings/AddAcc.cs diff --git a/MercuryBOT/AddAcc.resx b/MercuryBOT/AccSettings/AddAcc.resx similarity index 100% rename from MercuryBOT/AddAcc.resx rename to MercuryBOT/AccSettings/AddAcc.resx diff --git a/MercuryBOT/EditAcc.Designer.cs b/MercuryBOT/AccSettings/EditAcc.Designer.cs similarity index 100% rename from MercuryBOT/EditAcc.Designer.cs rename to MercuryBOT/AccSettings/EditAcc.Designer.cs diff --git a/MercuryBOT/EditAcc.cs b/MercuryBOT/AccSettings/EditAcc.cs similarity index 100% rename from MercuryBOT/EditAcc.cs rename to MercuryBOT/AccSettings/EditAcc.cs diff --git a/MercuryBOT/EditAcc.resx b/MercuryBOT/AccSettings/EditAcc.resx similarity index 100% rename from MercuryBOT/EditAcc.resx rename to MercuryBOT/AccSettings/EditAcc.resx diff --git a/MercuryBOT/Main.Designer.cs b/MercuryBOT/Main.Designer.cs index 63ef237..7d5a7e2 100644 --- a/MercuryBOT/Main.Designer.cs +++ b/MercuryBOT/Main.Designer.cs @@ -30,31 +30,31 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle67 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle68 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle69 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle70 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle71 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle72 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle73 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle74 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle75 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle51 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle76 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle77 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle78 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle79 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle80 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle81 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle82 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle83 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle84 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle85 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle86 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle87 = new System.Windows.Forms.DataGridViewCellStyle(); this.metroTab_Message = new MetroFramework.Controls.MetroTabPage(); this.Chatlog_Folder = new MetroFramework.Controls.MetroLink(); this.chck_Send2Receipts = new MetroFramework.Controls.MetroCheckBox(); @@ -158,8 +158,6 @@ private void InitializeComponent() this.txtBox_redeemKey = new MetroFramework.Controls.MetroTextBox(); this.lbl_redeemkey = new MetroFramework.Controls.MetroLabel(); this.metroTab_Settings = new MetroFramework.Controls.MetroTabPage(); - this.metroCheckBox10 = new MetroFramework.Controls.MetroCheckBox(); - this.metroCheckBox9 = new MetroFramework.Controls.MetroCheckBox(); this.metroLabel28 = new MetroFramework.Controls.MetroLabel(); this.combox_notifEffect = new MetroFramework.Controls.MetroComboBox(); this.richTextBox7 = new System.Windows.Forms.RichTextBox(); @@ -340,7 +338,6 @@ private void InitializeComponent() this.metroTab_Friends.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.FriendsList_Grid)).BeginInit(); this.metroTab_Tasks.SuspendLayout(); - this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.CDKeys_Grid)).BeginInit(); this.metroTab_Settings.SuspendLayout(); this.metroTab_Infos.SuspendLayout(); @@ -1001,27 +998,27 @@ private void InitializeComponent() this.GamesList_Grid.BorderStyle = System.Windows.Forms.BorderStyle.None; this.GamesList_Grid.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.GamesList_Grid.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold); - dataGridViewCellStyle1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.GamesList_Grid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle67.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle67.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle67.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold); + dataGridViewCellStyle67.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle67.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle67.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle67.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.GamesList_Grid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle67; this.GamesList_Grid.ColumnHeadersHeight = 17; this.GamesList_Grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.GamesList_Grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.HeaderAppName1, this.HeaderAppID1}); - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle2.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.GamesList_Grid.DefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle68.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle68.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle68.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle68.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + dataGridViewCellStyle68.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle68.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle68.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.GamesList_Grid.DefaultCellStyle = dataGridViewCellStyle68; this.GamesList_Grid.EnableHeadersVisualStyles = false; this.GamesList_Grid.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.GamesList_Grid.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); @@ -1030,14 +1027,14 @@ private void InitializeComponent() this.GamesList_Grid.Name = "GamesList_Grid"; this.GamesList_Grid.ReadOnly = true; this.GamesList_Grid.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.GamesList_Grid.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; + dataGridViewCellStyle69.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle69.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle69.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle69.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle69.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle69.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle69.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.GamesList_Grid.RowHeadersDefaultCellStyle = dataGridViewCellStyle69; this.GamesList_Grid.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.GamesList_Grid.ScrollBars = System.Windows.Forms.ScrollBars.None; this.GamesList_Grid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -1451,14 +1448,14 @@ private void InitializeComponent() this.AccountsList_Grid.BorderStyle = System.Windows.Forms.BorderStyle.None; this.AccountsList_Grid.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.AccountsList_Grid.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle4.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(185)))), ((int)(((byte)(232))))); - dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.AccountsList_Grid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; + dataGridViewCellStyle70.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle70.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle70.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle70.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle70.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(185)))), ((int)(((byte)(232))))); + dataGridViewCellStyle70.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle70.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.AccountsList_Grid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle70; this.AccountsList_Grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.AccountsList_Grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Headerusername, @@ -1467,14 +1464,14 @@ private void InitializeComponent() this.HeaderLoginKeyY, this.HeaderApiKey}); this.AccountsList_Grid.ContextMenuStrip = this.contextmenu_gridAccs; - dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle5.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(185)))), ((int)(((byte)(232))))); - dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.AccountsList_Grid.DefaultCellStyle = dataGridViewCellStyle5; + dataGridViewCellStyle71.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle71.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle71.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle71.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + dataGridViewCellStyle71.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(185)))), ((int)(((byte)(232))))); + dataGridViewCellStyle71.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle71.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.AccountsList_Grid.DefaultCellStyle = dataGridViewCellStyle71; this.AccountsList_Grid.EnableHeadersVisualStyles = false; this.AccountsList_Grid.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.AccountsList_Grid.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); @@ -1484,14 +1481,14 @@ private void InitializeComponent() this.AccountsList_Grid.Name = "AccountsList_Grid"; this.AccountsList_Grid.ReadOnly = true; this.AccountsList_Grid.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle6.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(185)))), ((int)(((byte)(232))))); - dataGridViewCellStyle6.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.AccountsList_Grid.RowHeadersDefaultCellStyle = dataGridViewCellStyle6; + dataGridViewCellStyle72.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle72.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle72.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle72.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle72.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(185)))), ((int)(((byte)(232))))); + dataGridViewCellStyle72.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle72.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.AccountsList_Grid.RowHeadersDefaultCellStyle = dataGridViewCellStyle72; this.AccountsList_Grid.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.AccountsList_Grid.ScrollBars = System.Windows.Forms.ScrollBars.None; this.AccountsList_Grid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -1670,7 +1667,7 @@ private void InitializeComponent() this.MercuryTabControl.Location = new System.Drawing.Point(17, 79); this.MercuryTabControl.Multiline = true; this.MercuryTabControl.Name = "MercuryTabControl"; - this.MercuryTabControl.SelectedIndex = 0; + this.MercuryTabControl.SelectedIndex = 4; this.MercuryTabControl.ShowToolTips = true; this.MercuryTabControl.Size = new System.Drawing.Size(777, 464); this.MercuryTabControl.TabIndex = 1; @@ -1818,27 +1815,27 @@ private void InitializeComponent() this.FriendsList_Grid.BorderStyle = System.Windows.Forms.BorderStyle.None; this.FriendsList_Grid.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.FriendsList_Grid.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle7.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold); - dataGridViewCellStyle7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle7.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.FriendsList_Grid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; + dataGridViewCellStyle73.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle73.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle73.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold); + dataGridViewCellStyle73.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle73.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle73.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle73.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.FriendsList_Grid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle73; this.FriendsList_Grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.FriendsList_Grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.HFriendID, this.HName, this.FLastLogoff}); - dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle8.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.FriendsList_Grid.DefaultCellStyle = dataGridViewCellStyle8; + dataGridViewCellStyle74.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle74.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle74.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle74.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + dataGridViewCellStyle74.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle74.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle74.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.FriendsList_Grid.DefaultCellStyle = dataGridViewCellStyle74; this.FriendsList_Grid.EnableHeadersVisualStyles = false; this.FriendsList_Grid.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.FriendsList_Grid.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); @@ -1846,14 +1843,14 @@ private void InitializeComponent() this.FriendsList_Grid.Name = "FriendsList_Grid"; this.FriendsList_Grid.ReadOnly = true; this.FriendsList_Grid.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle9.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle9.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle9.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.FriendsList_Grid.RowHeadersDefaultCellStyle = dataGridViewCellStyle9; + dataGridViewCellStyle75.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle75.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle75.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle75.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle75.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle75.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle75.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.FriendsList_Grid.RowHeadersDefaultCellStyle = dataGridViewCellStyle75; this.FriendsList_Grid.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.FriendsList_Grid.ScrollBars = System.Windows.Forms.ScrollBars.None; this.FriendsList_Grid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -1986,8 +1983,9 @@ private void InitializeComponent() // metroTab_Tasks // this.metroTab_Tasks.BackColor = System.Drawing.Color.Transparent; - this.metroTab_Tasks.Controls.Add(this.btn_steambrowsercache); this.metroTab_Tasks.Controls.Add(this.panel2); + this.metroTab_Tasks.Controls.Add(this.metroTextBox5); + this.metroTab_Tasks.Controls.Add(this.btn_steambrowsercache); this.metroTab_Tasks.Controls.Add(this.panel1); this.metroTab_Tasks.Controls.Add(this.btn_killsteamwebhelper); this.metroTab_Tasks.Controls.Add(this.btn_clearRecentapps); @@ -2037,8 +2035,7 @@ private void InitializeComponent() // // panel2 // - this.panel2.Controls.Add(this.metroTextBox5); - this.panel2.Location = new System.Drawing.Point(21, 15); + this.panel2.Location = new System.Drawing.Point(306, 37); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(10, 359); this.panel2.TabIndex = 75; @@ -2059,7 +2056,7 @@ private void InitializeComponent() this.metroTextBox5.CustomButton.UseSelectable = true; this.metroTextBox5.CustomButton.Visible = false; this.metroTextBox5.Lines = new string[0]; - this.metroTextBox5.Location = new System.Drawing.Point(3, 3); + this.metroTextBox5.Location = new System.Drawing.Point(304, 37); this.metroTextBox5.MaxLength = 29; this.metroTextBox5.Multiline = true; this.metroTextBox5.Name = "metroTextBox5"; @@ -2081,7 +2078,7 @@ private void InitializeComponent() // // panel1 // - this.panel1.Location = new System.Drawing.Point(8, 66); + this.panel1.Location = new System.Drawing.Point(8, 59); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(43, 286); this.panel1.TabIndex = 74; @@ -2124,9 +2121,9 @@ private void InitializeComponent() this.btn_commentsGather.Cursor = System.Windows.Forms.Cursors.Arrow; this.btn_commentsGather.Enabled = false; this.btn_commentsGather.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); - this.btn_commentsGather.Location = new System.Drawing.Point(320, 283); + this.btn_commentsGather.Location = new System.Drawing.Point(320, 351); this.btn_commentsGather.Name = "btn_commentsGather"; - this.btn_commentsGather.Size = new System.Drawing.Size(129, 37); + this.btn_commentsGather.Size = new System.Drawing.Size(129, 35); this.btn_commentsGather.TabIndex = 13; this.btn_commentsGather.Text = "FILTER \r\nCOMMENTS"; this.btn_commentsGather.Theme = MetroFramework.MetroThemeStyle.Dark; @@ -2141,9 +2138,9 @@ private void InitializeComponent() this.btn_changeprofSettings.Cursor = System.Windows.Forms.Cursors.Arrow; this.btn_changeprofSettings.Enabled = false; this.btn_changeprofSettings.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); - this.btn_changeprofSettings.Location = new System.Drawing.Point(320, 225); + this.btn_changeprofSettings.Location = new System.Drawing.Point(320, 315); this.btn_changeprofSettings.Name = "btn_changeprofSettings"; - this.btn_changeprofSettings.Size = new System.Drawing.Size(129, 46); + this.btn_changeprofSettings.Size = new System.Drawing.Size(129, 30); this.btn_changeprofSettings.TabIndex = 6; this.btn_changeprofSettings.Text = "PROFILE \r\nSETTINGS"; this.btn_changeprofSettings.Theme = MetroFramework.MetroThemeStyle.Dark; @@ -2267,25 +2264,25 @@ private void InitializeComponent() this.CDKeys_Grid.BorderStyle = System.Windows.Forms.BorderStyle.None; this.CDKeys_Grid.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.CDKeys_Grid.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle10.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold); - dataGridViewCellStyle10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle10.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle10.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.CDKeys_Grid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10; + dataGridViewCellStyle49.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle49.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle49.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold); + dataGridViewCellStyle49.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle49.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle49.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle49.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.CDKeys_Grid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle49; this.CDKeys_Grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.CDKeys_Grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn1}); - dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle11.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - dataGridViewCellStyle11.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle11.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.CDKeys_Grid.DefaultCellStyle = dataGridViewCellStyle11; + dataGridViewCellStyle50.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle50.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle50.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle50.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + dataGridViewCellStyle50.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle50.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle50.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.CDKeys_Grid.DefaultCellStyle = dataGridViewCellStyle50; this.CDKeys_Grid.EnableHeadersVisualStyles = false; this.CDKeys_Grid.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.CDKeys_Grid.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); @@ -2293,14 +2290,14 @@ private void InitializeComponent() this.CDKeys_Grid.Name = "CDKeys_Grid"; this.CDKeys_Grid.ReadOnly = true; this.CDKeys_Grid.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle12.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle12.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.CDKeys_Grid.RowHeadersDefaultCellStyle = dataGridViewCellStyle12; + dataGridViewCellStyle51.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle51.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle51.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle51.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle51.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle51.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle51.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.CDKeys_Grid.RowHeadersDefaultCellStyle = dataGridViewCellStyle51; this.CDKeys_Grid.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.CDKeys_Grid.ScrollBars = System.Windows.Forms.ScrollBars.None; this.CDKeys_Grid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -2372,8 +2369,6 @@ private void InitializeComponent() // metroTab_Settings // this.metroTab_Settings.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - this.metroTab_Settings.Controls.Add(this.metroCheckBox10); - this.metroTab_Settings.Controls.Add(this.metroCheckBox9); this.metroTab_Settings.Controls.Add(this.metroLabel28); this.metroTab_Settings.Controls.Add(this.combox_notifEffect); this.metroTab_Settings.Controls.Add(this.richTextBox7); @@ -2406,30 +2401,6 @@ private void InitializeComponent() this.metroTab_Settings.VerticalScrollbarHighlightOnWheel = false; this.metroTab_Settings.VerticalScrollbarSize = 10; // - // metroCheckBox10 - // - this.metroCheckBox10.AutoSize = true; - this.metroCheckBox10.Location = new System.Drawing.Point(195, 246); - this.metroCheckBox10.Name = "metroCheckBox10"; - this.metroCheckBox10.Size = new System.Drawing.Size(97, 15); - this.metroCheckBox10.TabIndex = 74; - this.metroCheckBox10.Text = "Startup sound"; - this.metroCheckBox10.Theme = MetroFramework.MetroThemeStyle.Dark; - this.metroCheckBox10.UseSelectable = true; - this.metroCheckBox10.UseStyleColors = true; - // - // metroCheckBox9 - // - this.metroCheckBox9.AutoSize = true; - this.metroCheckBox9.Location = new System.Drawing.Point(204, 214); - this.metroCheckBox9.Name = "metroCheckBox9"; - this.metroCheckBox9.Size = new System.Drawing.Size(102, 15); - this.metroCheckBox9.TabIndex = 73; - this.metroCheckBox9.Text = "Hide in taskbar"; - this.metroCheckBox9.Theme = MetroFramework.MetroThemeStyle.Dark; - this.metroCheckBox9.UseSelectable = true; - this.metroCheckBox9.UseStyleColors = true; - // // metroLabel28 // this.metroLabel28.AutoSize = true; @@ -3527,28 +3498,28 @@ private void InitializeComponent() this.metroGrid1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.metroGrid1.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.metroGrid1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle13.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle13.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(185)))), ((int)(((byte)(232))))); - dataGridViewCellStyle13.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.metroGrid1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13; + dataGridViewCellStyle76.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle76.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle76.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle76.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle76.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(185)))), ((int)(((byte)(232))))); + dataGridViewCellStyle76.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle76.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.metroGrid1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle76; this.metroGrid1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.metroGrid1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn2, this.dataGridViewTextBoxColumn3, this.dataGridViewTextBoxColumn4, this.dataGridViewTextBoxColumn5}); - dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle14.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - dataGridViewCellStyle14.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(185)))), ((int)(((byte)(232))))); - dataGridViewCellStyle14.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.metroGrid1.DefaultCellStyle = dataGridViewCellStyle14; + dataGridViewCellStyle77.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle77.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle77.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle77.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + dataGridViewCellStyle77.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(185)))), ((int)(((byte)(232))))); + dataGridViewCellStyle77.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle77.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.metroGrid1.DefaultCellStyle = dataGridViewCellStyle77; this.metroGrid1.EnableHeadersVisualStyles = false; this.metroGrid1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.metroGrid1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); @@ -3558,14 +3529,14 @@ private void InitializeComponent() this.metroGrid1.Name = "metroGrid1"; this.metroGrid1.ReadOnly = true; this.metroGrid1.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle15.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle15.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(185)))), ((int)(((byte)(232))))); - dataGridViewCellStyle15.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.metroGrid1.RowHeadersDefaultCellStyle = dataGridViewCellStyle15; + dataGridViewCellStyle78.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle78.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle78.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle78.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle78.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(185)))), ((int)(((byte)(232))))); + dataGridViewCellStyle78.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle78.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.metroGrid1.RowHeadersDefaultCellStyle = dataGridViewCellStyle78; this.metroGrid1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.metroGrid1.ScrollBars = System.Windows.Forms.ScrollBars.None; this.metroGrid1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -4528,27 +4499,27 @@ private void InitializeComponent() this.metroGrid2.BorderStyle = System.Windows.Forms.BorderStyle.None; this.metroGrid2.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.metroGrid2.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle16.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold); - dataGridViewCellStyle16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle16.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle16.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.metroGrid2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16; + dataGridViewCellStyle79.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle79.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle79.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold); + dataGridViewCellStyle79.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle79.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle79.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle79.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.metroGrid2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle79; this.metroGrid2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.metroGrid2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn6, this.dataGridViewTextBoxColumn7, this.dataGridViewTextBoxColumn8}); - dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle17.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - dataGridViewCellStyle17.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle17.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.metroGrid2.DefaultCellStyle = dataGridViewCellStyle17; + dataGridViewCellStyle80.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle80.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle80.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle80.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + dataGridViewCellStyle80.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle80.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle80.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.metroGrid2.DefaultCellStyle = dataGridViewCellStyle80; this.metroGrid2.EnableHeadersVisualStyles = false; this.metroGrid2.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.metroGrid2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); @@ -4556,14 +4527,14 @@ private void InitializeComponent() this.metroGrid2.Name = "metroGrid2"; this.metroGrid2.ReadOnly = true; this.metroGrid2.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle18.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle18.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle18.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.metroGrid2.RowHeadersDefaultCellStyle = dataGridViewCellStyle18; + dataGridViewCellStyle81.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle81.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle81.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle81.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle81.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle81.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle81.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.metroGrid2.RowHeadersDefaultCellStyle = dataGridViewCellStyle81; this.metroGrid2.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.metroGrid2.ScrollBars = System.Windows.Forms.ScrollBars.None; this.metroGrid2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -4954,27 +4925,27 @@ private void InitializeComponent() this.metroGrid3.BorderStyle = System.Windows.Forms.BorderStyle.None; this.metroGrid3.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.metroGrid3.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle19.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold); - dataGridViewCellStyle19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle19.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle19.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.metroGrid3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle19; + dataGridViewCellStyle82.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle82.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle82.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold); + dataGridViewCellStyle82.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle82.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle82.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle82.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.metroGrid3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle82; this.metroGrid3.ColumnHeadersHeight = 17; this.metroGrid3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.metroGrid3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn9, this.dataGridViewTextBoxColumn10}); - dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle20.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle20.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.metroGrid3.DefaultCellStyle = dataGridViewCellStyle20; + dataGridViewCellStyle83.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle83.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle83.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle83.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + dataGridViewCellStyle83.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle83.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle83.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.metroGrid3.DefaultCellStyle = dataGridViewCellStyle83; this.metroGrid3.EnableHeadersVisualStyles = false; this.metroGrid3.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.metroGrid3.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); @@ -4983,14 +4954,14 @@ private void InitializeComponent() this.metroGrid3.Name = "metroGrid3"; this.metroGrid3.ReadOnly = true; this.metroGrid3.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle21.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle21.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle21.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.metroGrid3.RowHeadersDefaultCellStyle = dataGridViewCellStyle21; + dataGridViewCellStyle84.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle84.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle84.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle84.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle84.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle84.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle84.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.metroGrid3.RowHeadersDefaultCellStyle = dataGridViewCellStyle84; this.metroGrid3.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.metroGrid3.ScrollBars = System.Windows.Forms.ScrollBars.None; this.metroGrid3.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -5388,25 +5359,25 @@ private void InitializeComponent() this.metroGrid4.BorderStyle = System.Windows.Forms.BorderStyle.None; this.metroGrid4.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.metroGrid4.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle22.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold); - dataGridViewCellStyle22.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle22.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle22.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.metroGrid4.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle22; + dataGridViewCellStyle85.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle85.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle85.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold); + dataGridViewCellStyle85.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle85.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle85.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle85.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.metroGrid4.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle85; this.metroGrid4.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.metroGrid4.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn11}); - dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle23.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - dataGridViewCellStyle23.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle23.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.metroGrid4.DefaultCellStyle = dataGridViewCellStyle23; + dataGridViewCellStyle86.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle86.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle86.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle86.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); + dataGridViewCellStyle86.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle86.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle86.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.metroGrid4.DefaultCellStyle = dataGridViewCellStyle86; this.metroGrid4.EnableHeadersVisualStyles = false; this.metroGrid4.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.metroGrid4.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); @@ -5414,14 +5385,14 @@ private void InitializeComponent() this.metroGrid4.Name = "metroGrid4"; this.metroGrid4.ReadOnly = true; this.metroGrid4.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle24.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle24.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle24.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); - dataGridViewCellStyle24.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.metroGrid4.RowHeadersDefaultCellStyle = dataGridViewCellStyle24; + dataGridViewCellStyle87.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle87.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); + dataGridViewCellStyle87.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle87.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle87.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247))))); + dataGridViewCellStyle87.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); + dataGridViewCellStyle87.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.metroGrid4.RowHeadersDefaultCellStyle = dataGridViewCellStyle87; this.metroGrid4.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.metroGrid4.ScrollBars = System.Windows.Forms.ScrollBars.None; this.metroGrid4.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -5492,7 +5463,6 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.FriendsList_Grid)).EndInit(); this.metroTab_Tasks.ResumeLayout(false); this.metroTab_Tasks.PerformLayout(); - this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.CDKeys_Grid)).EndInit(); this.metroTab_Settings.ResumeLayout(false); this.metroTab_Settings.PerformLayout(); @@ -5804,8 +5774,6 @@ private void InitializeComponent() private System.Windows.Forms.DataGridViewTextBoxColumn LASTLOGIN; private System.Windows.Forms.DataGridViewTextBoxColumn HeaderLoginKeyY; private System.Windows.Forms.DataGridViewTextBoxColumn HeaderApiKey; - private MetroFramework.Controls.MetroCheckBox metroCheckBox10; - private MetroFramework.Controls.MetroCheckBox metroCheckBox9; } } diff --git a/MercuryBOT/Main.cs b/MercuryBOT/Main.cs index 1f2cbce..b11c41a 100644 --- a/MercuryBOT/Main.cs +++ b/MercuryBOT/Main.cs @@ -38,6 +38,9 @@ using Microsoft.Win32; using Mercury; using Mercury.MetroMessageBox; +using Gameloop.Vdf; +using AngleSharp.Io.Dom; +using System.Diagnostics.CodeAnalysis; namespace MercuryBOT { @@ -401,7 +404,7 @@ private void btn_admincmds_Click(object sender, EventArgs e) ".pchiber - Puts pc on hibernate mode\n" + ".pcrr - Restart PC.\n" + ".pcoff - Shutdown PC.\n" + - ".close - Closes MercuryBOT process.\n" + + ".close - Closes Mercury process.\n" + ".logoff - Logoff from current account.\n" + ".non customname - Play a non - steam game(change customname to anything)\n" + ".play customname - Play a non steam game and appids.", "Mercury - Admin Commands", MessageBoxButtons.OK, MessageBoxIcon.Question, 270); @@ -616,7 +619,7 @@ private void btn_sendMsg2Friends_Click(object sender, EventArgs e) // activate l string msg = txtBox_msg2Friends.Text; var friends = steamfriends013.GetFriendCount((int)EFriendFlags.k_EFriendFlagImmediate); - //var ad = HandleLogin.isInMercuryGroup ? "" : "\n MercuryBOT"; + //var ad = HandleLogin.isInMercuryGroup ? "" : "\n Mercury"; byte[] msgBytes = Encoding.UTF8.GetBytes(msg); for (int i = 0; i < friends; i++) @@ -799,7 +802,7 @@ public void playNormal() gameuints.Add(a.Games[i].app_id); // tentar obter lista do json, para nao criar outra??? } - //var ad = HandleLogin.isInMercuryGroup ? "" : " ❤ MercuryBOT"; + //var ad = HandleLogin.isInMercuryGroup ? "" : " ❤ Mercury"; if (chck_nonsteamNgames.Checked) { if (txtBox_gameNonSteam.Text.Length != 0) @@ -813,7 +816,7 @@ public void playNormal() } else { - handleLogin.PlayGames(gameuints, "Idling ⌛ MercuryBOT"); + handleLogin.PlayGames(gameuints, "Idling ⌛ Mercury: Steam Tool"); Thread.Sleep(2000); handleLogin.PlayGames(gameuints, "disable"); } @@ -1239,10 +1242,6 @@ private void _MouseUp(object sender, MouseEventArgs e) #endregion #region Links - private void Link_steamgroup_Click(object sender, EventArgs e) - { - Process.Start("https://steamcommunity.com/groups/MercuryBOT"); - } private void pictureBox_Discord_Click(object sender, EventArgs e) { @@ -1303,19 +1302,6 @@ private void link_reportBugFeature_Click(object sender, EventArgs e) { Process.Start("https://github.com/sp0ok3r/Mercury/issues"); } - - private void pictureBox_Steam_Click(object sender, EventArgs e) - { - string MercuryGroup = "https://steamcommunity.com/groups/MercuryBOT"; - if (Program.CurrentProcesses.FirstOrDefault(x => x.ProcessName == "Steam") != null) - { - Process.Start("steam://openurl/" + MercuryGroup); - } - else - { - Process.Start(MercuryGroup); - } - } #endregion private void toolStrip_Logout_Click(object sender, EventArgs e) { @@ -1415,14 +1401,14 @@ private void toggle_startWindows_CheckedChanged(object sender, EventArgs e) SettingsList.startup = true; Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true); - key.SetValue("MercuryBOT", Program.ExecutablePath + @"\MercuryBOT.exe"); + key.SetValue("Mercury", Program.ExecutablePath + @"\Mercury.exe"); } else { SettingsList.startup = false; Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true); - key.DeleteValue("MercuryBOT", false); + key.DeleteValue("Mercury", false); } File.WriteAllText(Program.SettingsJsonFile, JsonConvert.SerializeObject(SettingsList, Formatting.Indented)); } @@ -2048,58 +2034,55 @@ public static bool LoginAccountInClient(string user) { ClearAutoLoginUserKeyValues(); - var AutoLoginUser_Key = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Valve\\Steam", true); + var steampath = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Valve\\Steam", true); - /* - if (AutoLoginUser_Key != null) - { - AutoLoginUser_Key.SetValue("AutoLoginUser", user); - AutoLoginUser_Key.SetValue("RememberPassword", 1); - AutoLoginUser_Key.Close(); + //if (steampath != null) + //{ + // steampath.SetValue("AutoLoginUser", user); + // steampath.SetValue("RememberPassword", 1); + // steampath.Close(); - string loginusersPath = steamPath + "config/loginusers.vdf"; + // string loginusersPath = steampath + "config/loginusers.vdf"; - dynamic loginusers = VdfConvert.Deserialize(File.ReadAllText(loginusersPath)); + // dynamic loginusers = VdfConvert.Deserialize(File.ReadAllText(loginusersPath)); - dynamic usersObject = loginusers.Value; - dynamic userObject = usersObject[account.SteamId]; + // dynamic usersObject = loginusers.Value; + // dynamic userObject = usersObject[account.SteamId]; - userObject.RememberPassword = 1; - userObject.AllowAutoLogin = 1; - //userObject.MostRecent = value; + // userObject.RememberPassword = 1; + // userObject.AllowAutoLogin = 1; + // //userObject.MostRecent = value; - usersObject[account.SteamId] = userObject; - loginusers.Value = usersObject; + // usersObject[account.SteamId] = userObject; + // loginusers.Value = usersObject; - string serialized = VdfConvert.Serialize(loginusers); + // string serialized = VdfConvert.Serialize(loginusers); - File.WriteAllText(loginusersPath, serialized); + // File.WriteAllText(loginusersPath, serialized); - var process = new Process - { - StartInfo = new ProcessStartInfo - { - FileName = Extensions.SteamLocation + "/steam.exe" - // Arguments = "-silent" - } - }; - process.Start(); + // var process = new Process + // { + // StartInfo = new ProcessStartInfo + // { + // FileName = Extensions.SteamLocation + "/steam.exe" + // // Arguments = "-silent" + // } + // }; + // process.Start(); - return true; + // return true; - } - else + // } + // else { return false; } -*/ - return false; } } diff --git a/MercuryBOT/Main.resx b/MercuryBOT/Main.resx index de40843..88c1825 100644 --- a/MercuryBOT/Main.resx +++ b/MercuryBOT/Main.resx @@ -120,6 +120,9 @@ 226, 17 + + 226, 17 + True @@ -144,6 +147,9 @@ 642, 17 + + True + True @@ -153,9 +159,6 @@ True - - True - 335, 17 diff --git a/MercuryBOT/Mercury.csproj b/MercuryBOT/MercuryProject.csproj similarity index 84% rename from MercuryBOT/Mercury.csproj rename to MercuryBOT/MercuryProject.csproj index c959988..a10e161 100644 --- a/MercuryBOT/Mercury.csproj +++ b/MercuryBOT/MercuryProject.csproj @@ -42,6 +42,7 @@ bin\Debug\ true false + Off AnyCPU @@ -52,22 +53,12 @@ false - - x86 - bin\x86\Debug\ - - - x86 - bin\x86\Release\ - - - ..\packages\AngleSharp.1.0.0\lib\net461\AngleSharp.dll - False + + ..\packages\AngleSharp.1.1.2\lib\net461\AngleSharp.dll ..\packages\AutoMapper.10.1.1\lib\net461\AutoMapper.dll - False ..\packages\Gameloop.Vdf.0.6.2\lib\net45\Gameloop.Vdf.dll @@ -75,7 +66,7 @@ ..\packages\HtmlAgilityPack.1.11.71\lib\Net45\HtmlAgilityPack.dll - False + True ..\packages\MetroModernUI.1.4.0.0\lib\net\MetroFramework.dll @@ -96,9 +87,11 @@ ..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.9.0.0\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll - - ..\packages\Microsoft.Extensions.Options.7.0.1\lib\netstandard2.0\Microsoft.Extensions.Options.dll - False + + ..\packages\Microsoft.Extensions.Options.9.0.0\lib\net462\Microsoft.Extensions.Options.dll + + + ..\packages\Microsoft.Extensions.Primitives.9.0.0\lib\net462\Microsoft.Extensions.Primitives.dll @@ -113,7 +106,7 @@ ..\packages\SteamWebAPI2.4.4.1\lib\netstandard2.0\Steam.Models.dll - False + True D:\PROJECTS\CSharp\Steam4NET-master\Steam4NET\bin\Debug\Steam4NET.dll @@ -125,64 +118,58 @@ ..\packages\SteamWebAPI2.4.4.1\lib\netstandard2.0\SteamWebAPI2.dll - False + True - - ..\packages\System.Collections.Immutable.8.0.0\lib\netstandard2.0\System.Collections.Immutable.dll - True + + ..\packages\System.Buffers.4.6.0\lib\net462\System.Buffers.dll - - ..\packages\System.Diagnostics.DiagnosticSource.7.0.2\lib\netstandard2.0\System.Diagnostics.DiagnosticSource.dll - False + + ..\packages\System.Collections.Immutable.9.0.0\lib\net462\System.Collections.Immutable.dll + + + + ..\packages\System.Diagnostics.DiagnosticSource.9.0.0\lib\net462\System.Diagnostics.DiagnosticSource.dll ..\packages\System.IO.Pipelines.9.0.0\lib\net462\System.IO.Pipelines.dll False + + ..\packages\System.Memory.4.6.0\lib\net462\System.Memory.dll + - ..\packages\System.Numerics.Vectors.4.6.0-preview5.19224.8\lib\net46\System.Numerics.Vectors.dll - False + ..\packages\System.Numerics.Vectors.4.6.0\lib\net462\System.Numerics.Vectors.dll - - ..\packages\System.Reflection.Metadata.7.0.2\lib\netstandard2.0\System.Reflection.Metadata.dll - False + + ..\packages\System.Reflection.Metadata.9.0.0\lib\net462\System.Reflection.Metadata.dll - - ..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll - True + + ..\packages\System.Runtime.CompilerServices.Unsafe.6.1.0\lib\net462\System.Runtime.CompilerServices.Unsafe.dll - - ..\packages\System.Security.AccessControl.6.0.0\lib\net461\System.Security.AccessControl.dll - False + + ..\packages\System.Security.AccessControl.6.0.1\lib\net461\System.Security.AccessControl.dll ..\packages\System.Security.Principal.Windows.5.0.0\lib\net461\System.Security.Principal.Windows.dll False - - ..\packages\System.ServiceModel.Primitives.4.10.0\lib\net461\System.ServiceModel.Primitives.dll - False - - - ..\packages\System.Text.Encoding.CodePages.7.0.0\lib\netstandard2.0\System.Text.Encoding.CodePages.dll - False + + ..\packages\System.Text.Encoding.CodePages.9.0.0\lib\net462\System.Text.Encoding.CodePages.dll ..\packages\System.Text.Encodings.Web.9.0.0\lib\net462\System.Text.Encodings.Web.dll False - - ..\packages\System.Text.Json.9.0.0\lib\net462\System.Text.Json.dll - False + + ..\packages\System.Threading.Tasks.Extensions.4.6.0\lib\net462\System.Threading.Tasks.Extensions.dll - - ..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll - False + + ..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll @@ -213,10 +200,10 @@ ProfilePrivacy.cs - + Form - + AddAcc.cs @@ -234,10 +221,10 @@ - + Form - + EditAcc.cs @@ -288,12 +275,13 @@ - Form True + Form GatherSteamGroups.cs + Form @@ -307,8 +295,8 @@ SteamRepCheck.cs - Form True + Form Main.cs @@ -364,7 +352,7 @@ ProfilePrivacy.cs Designer - + AddAcc.cs @@ -373,7 +361,7 @@ CustomAFKMessages.cs - + EditAcc.cs @@ -500,11 +488,4 @@ - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - \ No newline at end of file diff --git a/MercuryBOT/Program.cs b/MercuryBOT/Program.cs index 4a0db90..0529e7a 100644 --- a/MercuryBOT/Program.cs +++ b/MercuryBOT/Program.cs @@ -20,10 +20,9 @@ namespace MercuryBOT static class Program { public static readonly WebClient Web = new WebClient(); - //public static readonly Process MercuryProcess = Process.GetCurrentProcess(); public static readonly Process[] CurrentProcesses = Process.GetProcesses(); - public static readonly string TOOLNAME = "Mercury: Ultimate Steam Tool"; + public static readonly string TOOLNAME = "Mercury: Ultimate Steam Tool"; public static readonly string Version = "5.0.0"; public static readonly string spkDomain = "http://sp0ok3r.duckdns.org/Mercury/"; diff --git a/MercuryBOT/SteamLocally/LocalSteamConnect.cs b/MercuryBOT/SteamLocally/LocalSteamConnect.cs new file mode 100644 index 0000000..d425b7e --- /dev/null +++ b/MercuryBOT/SteamLocally/LocalSteamConnect.cs @@ -0,0 +1,58 @@ +using Mercury.MetroMessageBox; +using MercuryBOT; +using Steam4NET; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; + +namespace Mercury.SteamLocally +{ + public class LocalSteamConnect + { + + private static ISteamClient012 _steamClient012; + private static ISteamApps001 _steamApps001; + + private static bool ConnectToSteam() + { + if (!Steamworks.Load(true)) + { + CustomMetroMessageBox.Show(Main.ActiveForm,"Steamworks failed to load."); + return false; + } + + _steamClient012 = Steamworks.CreateInterface(); + if (_steamClient012 == null) + { + CustomMetroMessageBox.Show(Main.ActiveForm, "Failed to create Steam Client inferface."); + return false; + } + + int pipe = _steamClient012.CreateSteamPipe(); + if (pipe == 0) + { + CustomMetroMessageBox.Show(Main.ActiveForm, "Failed to create Steam pipe."); + return false; + } + + int user = _steamClient012.ConnectToGlobalUser(pipe); + if (user == 0) + { + CustomMetroMessageBox.Show(Main.ActiveForm, "Failed to connect to Steam user. (No game in this Account!)"); + return false; + } + + _steamApps001 = _steamClient012.GetISteamApps(user, pipe); + if (_steamApps001 == null) + { + CustomMetroMessageBox.Show(Main.ActiveForm, "Failed to create Steam Apps inferface."); + return false; + } + + return true; + } + } +} \ No newline at end of file diff --git a/MercuryBOT/app.config b/MercuryBOT/app.config index c1aaa1c..b637f7b 100644 --- a/MercuryBOT/app.config +++ b/MercuryBOT/app.config @@ -33,7 +33,7 @@ - + @@ -42,15 +42,15 @@ - + - + - + @@ -58,11 +58,11 @@ - + - + @@ -70,11 +70,11 @@ - + - + diff --git a/MercuryBOT/packages.config b/MercuryBOT/packages.config index bc85866..26f36e7 100644 --- a/MercuryBOT/packages.config +++ b/MercuryBOT/packages.config @@ -1,21 +1,17 @@  - - + + - - - - - + + - @@ -23,15 +19,10 @@ - - - - - + + - - - + @@ -44,46 +35,37 @@ - + - + - + - + - - + - - - + - - - - - - - - + + \ No newline at end of file