forked from extern/BloatyNosy
Push 0.70x-0.80
This commit is contained in:
parent
b747ed9459
commit
5116dd015a
@ -79,6 +79,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="FeatureBase.cs" />
|
||||
<Compile Include="FeatureNode.cs" />
|
||||
<Compile Include="Features\Apps\StoreAppsPrivate.cs" />
|
||||
<Compile Include="Features\Apps\StoreHallOfShame.cs" />
|
||||
<Compile Include="Features\Browser\GoogleChrome.cs" />
|
||||
<Compile Include="Features\Browser\MicrosoftEdge.cs" />
|
||||
@ -90,7 +91,6 @@
|
||||
<Compile Include="Features\Desktop\Widgets.cs" />
|
||||
<Compile Include="Features\Desktop\WidgetsR.cs" />
|
||||
<Compile Include="Features\Desktop\WindowsTheme.cs" />
|
||||
<Compile Include="Features\Explorer\FileExplorer.cs" />
|
||||
<Compile Include="Features\Explorer\HiddenFileExt.cs" />
|
||||
<Compile Include="Features\Explorer\HiddenFileFolder.cs" />
|
||||
<Compile Include="Features\Privacy\BackgroundApps.cs" />
|
||||
@ -136,12 +136,6 @@
|
||||
<Compile Include="Modules\Setup\Pages.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Views\AboutPageView.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Views\AboutPageView.Designer.cs">
|
||||
<DependentUpon>AboutPageView.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Views\AppsPageView.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
@ -189,9 +183,6 @@
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Views\AboutPageView.resx">
|
||||
<DependentUpon>AboutPageView.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Views\AppsPageView.resx">
|
||||
<DependentUpon>AppsPageView.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
@ -12,12 +12,12 @@ namespace Features.Feature.Apps
|
||||
|
||||
public override string ID()
|
||||
{
|
||||
return "*[HIGH] Search and remove pre-installed bloatware apps automatically (Right-click to remove bloatware manually)";
|
||||
return "*[HIGH] Search and remove pre-installed bloatware apps automatically (Configure with a right-click)";
|
||||
}
|
||||
|
||||
public override string Info()
|
||||
{
|
||||
return "To remove specific apps use the AppyTrash app in the \"More Apps\" section or right click on this feature";
|
||||
return "To remove specific apps use the BloatPilot app in the \"More Apps\" section or right click on this feature";
|
||||
}
|
||||
|
||||
private void RemoveApps(string str)
|
||||
@ -58,7 +58,7 @@ namespace Features.Feature.Apps
|
||||
string current = result.ToString();
|
||||
|
||||
if (!apps.Contains(Regex.Replace(current, "(@{Name=)|(})", ""))) continue;
|
||||
logger.Log("- " + (Regex.Replace(current, "(@{Name=)|(})", "")));
|
||||
logger.Log("[-] " + (Regex.Replace(current, "(@{Name=)|(})", "")));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@ -70,7 +70,7 @@ namespace Features.Feature.Apps
|
||||
logger.Log("Searching bloatware database...");
|
||||
foreach (var str in apps)
|
||||
{
|
||||
logger.Log("- Uninstalling " + str.ToString());
|
||||
logger.Log("[-] Uninstalling " + str.ToString());
|
||||
RemoveApps(str);
|
||||
}
|
||||
|
||||
@ -79,7 +79,7 @@ namespace Features.Feature.Apps
|
||||
|
||||
public override bool UndoFeature()
|
||||
{
|
||||
logger.Log("-[RemoveStoreApps] This feature does not provide a restore mode.");
|
||||
logger.Log("-[Remove Store Apps] This feature does not provide a restore mode.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
104
src/BloatyNosy/Features/Apps/StoreAppsPrivate.cs
Normal file
104
src/BloatyNosy/Features/Apps/StoreAppsPrivate.cs
Normal file
@ -0,0 +1,104 @@
|
||||
using BloatyNosy;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Management.Automation;
|
||||
|
||||
namespace Features.Feature.Apps
|
||||
{
|
||||
internal class StoreAppsPrivate : FeatureBase
|
||||
{
|
||||
private static readonly ErrorHelper logger = ErrorHelper.Instance;
|
||||
private readonly PowerShell powerShell = PowerShell.Create();
|
||||
|
||||
public override string ID()
|
||||
{
|
||||
return "*[LOW] Remove bloatware based on private signature (Configure with a right-click)";
|
||||
}
|
||||
|
||||
public override string Info()
|
||||
{
|
||||
return "Open the bloaty.txt file in the app directory of BloatyNosy to edit your signature or right click on this feature";
|
||||
}
|
||||
|
||||
private void RemoveApps(string str)
|
||||
{
|
||||
Process process = new Process();
|
||||
ProcessStartInfo startInfo = new ProcessStartInfo();
|
||||
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
|
||||
startInfo.FileName = "powershell.exe";
|
||||
startInfo.Arguments = str;
|
||||
process.StartInfo = startInfo;
|
||||
process.Start();
|
||||
process.WaitForExit();
|
||||
}
|
||||
|
||||
public override bool CheckFeature()
|
||||
{
|
||||
logger.Log("The following apps would be removed based on your private signature:");
|
||||
powerShell.Commands.Clear();
|
||||
powerShell.AddCommand("get-appxpackage");
|
||||
powerShell.AddCommand("Select").AddParameter("property", "name");
|
||||
|
||||
try
|
||||
{
|
||||
string[] num = File.ReadAllLines(HelperTool.Utils.Data.DataRootDir + "/bloaty.txt");
|
||||
|
||||
foreach (PSObject result in powerShell.Invoke())
|
||||
{
|
||||
string current = result.ToString(); // Get the current app
|
||||
|
||||
for (int i = 0; i < num.Length; i++)
|
||||
{
|
||||
string[] package = num[i].Split(':');
|
||||
string appx = package[0];
|
||||
|
||||
if (current.Contains(appx))
|
||||
logger.Log("[-] App would be removed: " + appx);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ logger.Log("[!] Could not find private signature file \"bloaty.txt\" in " + HelperTool.Utils.Data.DataRootDir); }
|
||||
return true;
|
||||
}
|
||||
|
||||
public override bool DoFeature()
|
||||
{
|
||||
string[] num = File.ReadAllLines(HelperTool.Utils.Data.DataRootDir + "/bloaty.txt");
|
||||
powerShell.Commands.Clear();
|
||||
powerShell.AddCommand("get-appxpackage");
|
||||
powerShell.AddCommand("Select").AddParameter("property", "name");
|
||||
|
||||
foreach (PSObject result in powerShell.Invoke())
|
||||
{
|
||||
string current = result.ToString(); // Get the current app
|
||||
|
||||
for (int i = 0; i < num.Length; i++)
|
||||
{
|
||||
string[] package = num[i].Split(':');
|
||||
string appx = package[0];
|
||||
string command = package[1];
|
||||
try
|
||||
{
|
||||
if (current.Contains(appx))
|
||||
{
|
||||
logger.Log("[?] Removing: " + appx + " (Wait...)");
|
||||
RemoveApps(command);
|
||||
logger.Log("[-] Removed: " + appx);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{ logger.Log("Error removing " + ex); }
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public override bool UndoFeature()
|
||||
{
|
||||
logger.Log("- [Remove Store Apps] This feature does not provide a restore mode.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
@ -21,9 +21,7 @@ namespace BloatyNosy
|
||||
{
|
||||
if (target.InvokeRequired)
|
||||
{
|
||||
target.Invoke(new Action(() =>
|
||||
target.AppendText(string.Format(format, args))
|
||||
));
|
||||
target.Invoke(new Action(() => target.AppendText(string.Format(format, args))));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2,6 +2,7 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Windows.Forms;
|
||||
|
||||
@ -80,6 +81,47 @@ namespace HelperTool
|
||||
(url.ToLower().StartsWith("http")));
|
||||
}
|
||||
|
||||
public static void CheckForUpdates()
|
||||
{
|
||||
if (IsInet() == true)
|
||||
{
|
||||
try
|
||||
{
|
||||
string assemblyInfo = new WebClient().DownloadString(Utils.Uri.URL_ASSEMBLY);
|
||||
|
||||
var readVersion = assemblyInfo.Split('\n');
|
||||
var infoVersion = readVersion.Where(t => t.Contains("[assembly: AssemblyFileVersion"));
|
||||
var latestVersion = "";
|
||||
foreach (var item in infoVersion)
|
||||
{
|
||||
latestVersion = item.Substring(item.IndexOf('(') + 2, item.LastIndexOf(')') - item.IndexOf('(') - 3);
|
||||
}
|
||||
|
||||
if (latestVersion ==
|
||||
Program.GetCurrentVersionTostring()) // Up-to-date
|
||||
{
|
||||
MessageBox.Show($"No new updates available.");
|
||||
}
|
||||
|
||||
if (latestVersion != // Update available
|
||||
Program.GetCurrentVersionTostring())
|
||||
|
||||
{
|
||||
if (MessageBox.Show($"App version {latestVersion} available.\nDo you want to open the Download page?", "App update available", MessageBoxButtons.YesNo, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1) == DialogResult.Yes)
|
||||
Process.Start(HelperTool.Utils.Uri.URL_GITLATEST);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show($"Checking for App updates failed.\n{ex.Message}");
|
||||
}
|
||||
}
|
||||
else if (IsInet() == false)
|
||||
{
|
||||
MessageBox.Show ( $"Problem on Internet connection: Checking for App updates failed");
|
||||
}
|
||||
}
|
||||
|
||||
// Check Inet
|
||||
public static bool IsInet()
|
||||
{
|
||||
|
@ -15,7 +15,6 @@ namespace BloatyNosy
|
||||
ProcStart(HelperTool.Utils.Paths.ShellCommandPrompt, args);
|
||||
}
|
||||
|
||||
// Windows Terminal will be the default command line experience in TIW11 in 2022
|
||||
public static void RunWT(string args)
|
||||
{
|
||||
ProcStart(HelperTool.Utils.Paths.ShellWT, args);
|
||||
|
463
src/BloatyNosy/MainForm.Designer.cs
generated
463
src/BloatyNosy/MainForm.Designer.cs
generated
@ -31,25 +31,32 @@
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.pnlForm = new System.Windows.Forms.Panel();
|
||||
this.pnlMain = new System.Windows.Forms.Panel();
|
||||
this.lblOS = new System.Windows.Forms.Label();
|
||||
this.lblAppOptionsFix = new System.Windows.Forms.Label();
|
||||
this.lnkUpdateCheck = new System.Windows.Forms.LinkLabel();
|
||||
this._lblAssembly = new System.Windows.Forms.Label();
|
||||
this.lnkAppMediaHelp = new System.Windows.Forms.LinkLabel();
|
||||
this.lnkAppMediaDonate = new System.Windows.Forms.LinkLabel();
|
||||
this.lnkAppMediaGitHub = new System.Windows.Forms.LinkLabel();
|
||||
this.lnkAppMediaTwitter = new System.Windows.Forms.LinkLabel();
|
||||
this._lblAboutInfo = new System.Windows.Forms.Label();
|
||||
this.lnkStatus = new System.Windows.Forms.LinkLabel();
|
||||
this.lnkRunSetup = new System.Windows.Forms.LinkLabel();
|
||||
this.btnAppOptions = new System.Windows.Forms.Button();
|
||||
this.btnSettings = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.lblHeader = new System.Windows.Forms.Label();
|
||||
this.btnKebapMenu = new System.Windows.Forms.Button();
|
||||
this.btnAnalyze = new System.Windows.Forms.Button();
|
||||
this.lnkSubHeader = new System.Windows.Forms.LinkLabel();
|
||||
this.progress = new System.Windows.Forms.ProgressBar();
|
||||
this.lblTools = new System.Windows.Forms.Label();
|
||||
this.cmbTools = new System.Windows.Forms.ComboBox();
|
||||
this.lblHeader = new System.Windows.Forms.Label();
|
||||
this.rtbLog = new System.Windows.Forms.RichTextBox();
|
||||
this.tvwFeatures = new System.Windows.Forms.TreeView();
|
||||
this.border = new System.Windows.Forms.Button();
|
||||
this.lblInetCheck = new System.Windows.Forms.Label();
|
||||
this.pbBackground = new System.Windows.Forms.PictureBox();
|
||||
this.contextKebapMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.textHeader = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.menuAdvanced = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.textHeaderAppInfo = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.menuIgnoreLowLevelI = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.textHeaderExperience = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.cbProfiles = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.menuLoadProfile = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.menuExportProfile = new System.Windows.Forms.ToolStripMenuItem();
|
||||
@ -66,6 +73,7 @@
|
||||
this.menuAppConfigure = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.pnlForm.SuspendLayout();
|
||||
this.pnlMain.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbBackground)).BeginInit();
|
||||
this.contextKebapMenu.SuspendLayout();
|
||||
this.contextAppMenu.SuspendLayout();
|
||||
this.contextAppMenuOptions.SuspendLayout();
|
||||
@ -78,115 +86,218 @@
|
||||
this.pnlForm.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pnlForm.Location = new System.Drawing.Point(0, 0);
|
||||
this.pnlForm.Name = "pnlForm";
|
||||
this.pnlForm.Size = new System.Drawing.Size(430, 616);
|
||||
this.pnlForm.Size = new System.Drawing.Size(1014, 663);
|
||||
this.pnlForm.TabIndex = 0;
|
||||
//
|
||||
// pnlMain
|
||||
//
|
||||
this.pnlMain.AutoScroll = true;
|
||||
this.pnlMain.Controls.Add(this.lblOS);
|
||||
this.pnlMain.Controls.Add(this.lblAppOptionsFix);
|
||||
this.pnlMain.AutoSize = true;
|
||||
this.pnlMain.Controls.Add(this.lnkUpdateCheck);
|
||||
this.pnlMain.Controls.Add(this._lblAssembly);
|
||||
this.pnlMain.Controls.Add(this.lnkAppMediaHelp);
|
||||
this.pnlMain.Controls.Add(this.lnkAppMediaDonate);
|
||||
this.pnlMain.Controls.Add(this.lnkAppMediaGitHub);
|
||||
this.pnlMain.Controls.Add(this.lnkAppMediaTwitter);
|
||||
this.pnlMain.Controls.Add(this._lblAboutInfo);
|
||||
this.pnlMain.Controls.Add(this.lnkStatus);
|
||||
this.pnlMain.Controls.Add(this.lnkRunSetup);
|
||||
this.pnlMain.Controls.Add(this.btnAppOptions);
|
||||
this.pnlMain.Controls.Add(this.btnSettings);
|
||||
this.pnlMain.Controls.Add(this.label1);
|
||||
this.pnlMain.Controls.Add(this.lblHeader);
|
||||
this.pnlMain.Controls.Add(this.btnKebapMenu);
|
||||
this.pnlMain.Controls.Add(this.btnAnalyze);
|
||||
this.pnlMain.Controls.Add(this.lnkSubHeader);
|
||||
this.pnlMain.Controls.Add(this.progress);
|
||||
this.pnlMain.Controls.Add(this.lblTools);
|
||||
this.pnlMain.Controls.Add(this.cmbTools);
|
||||
this.pnlMain.Controls.Add(this.lblHeader);
|
||||
this.pnlMain.Controls.Add(this.rtbLog);
|
||||
this.pnlMain.Controls.Add(this.tvwFeatures);
|
||||
this.pnlMain.Controls.Add(this.border);
|
||||
this.pnlMain.Controls.Add(this.lblInetCheck);
|
||||
this.pnlMain.Controls.Add(this.pbBackground);
|
||||
this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pnlMain.Location = new System.Drawing.Point(0, 0);
|
||||
this.pnlMain.Name = "pnlMain";
|
||||
this.pnlMain.Size = new System.Drawing.Size(430, 616);
|
||||
this.pnlMain.Size = new System.Drawing.Size(1014, 663);
|
||||
this.pnlMain.TabIndex = 0;
|
||||
//
|
||||
// lblOS
|
||||
// lnkUpdateCheck
|
||||
//
|
||||
this.lblOS.AutoEllipsis = true;
|
||||
this.lblOS.BackColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lblOS.Font = new System.Drawing.Font("Segoe UI Variable Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblOS.ForeColor = System.Drawing.Color.White;
|
||||
this.lblOS.Location = new System.Drawing.Point(119, 220);
|
||||
this.lblOS.Name = "lblOS";
|
||||
this.lblOS.Size = new System.Drawing.Size(177, 16);
|
||||
this.lblOS.TabIndex = 181;
|
||||
this.lblOS.Text = "Windows 11 ";
|
||||
this.lblOS.Click += new System.EventHandler(this.lblOS_Click);
|
||||
this.lnkUpdateCheck.ActiveLinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkUpdateCheck.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.lnkUpdateCheck.AutoEllipsis = true;
|
||||
this.lnkUpdateCheck.AutoSize = true;
|
||||
this.lnkUpdateCheck.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lnkUpdateCheck.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
|
||||
this.lnkUpdateCheck.LinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkUpdateCheck.Location = new System.Drawing.Point(287, 553);
|
||||
this.lnkUpdateCheck.Name = "lnkUpdateCheck";
|
||||
this.lnkUpdateCheck.Size = new System.Drawing.Size(92, 15);
|
||||
this.lnkUpdateCheck.TabIndex = 203;
|
||||
this.lnkUpdateCheck.TabStop = true;
|
||||
this.lnkUpdateCheck.Text = "Check for updates";
|
||||
this.lnkUpdateCheck.VisitedLinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkUpdateCheck.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkUpdateCheck_LinkClicked);
|
||||
//
|
||||
// lblAppOptionsFix
|
||||
// _lblAssembly
|
||||
//
|
||||
this.lblAppOptionsFix.AutoSize = true;
|
||||
this.lblAppOptionsFix.BackColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lblAppOptionsFix.Font = new System.Drawing.Font("Segoe UI Variable Text Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblAppOptionsFix.ForeColor = System.Drawing.Color.White;
|
||||
this.lblAppOptionsFix.Location = new System.Drawing.Point(312, 219);
|
||||
this.lblAppOptionsFix.Name = "lblAppOptionsFix";
|
||||
this.lblAppOptionsFix.Size = new System.Drawing.Size(25, 17);
|
||||
this.lblAppOptionsFix.TabIndex = 180;
|
||||
this.lblAppOptionsFix.Text = "Fix";
|
||||
this.lblAppOptionsFix.Click += new System.EventHandler(this.lblAppOptionsFix_Click);
|
||||
this._lblAssembly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this._lblAssembly.AutoEllipsis = true;
|
||||
this._lblAssembly.AutoSize = true;
|
||||
this._lblAssembly.BackColor = System.Drawing.Color.Transparent;
|
||||
this._lblAssembly.Font = new System.Drawing.Font("Segoe UI Variable Text", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this._lblAssembly.ForeColor = System.Drawing.Color.Gray;
|
||||
this._lblAssembly.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this._lblAssembly.Location = new System.Drawing.Point(287, 568);
|
||||
this._lblAssembly.Name = "_lblAssembly";
|
||||
this._lblAssembly.Size = new System.Drawing.Size(43, 15);
|
||||
this._lblAssembly.TabIndex = 202;
|
||||
this._lblAssembly.Text = "Version";
|
||||
//
|
||||
// lnkAppMediaHelp
|
||||
//
|
||||
this.lnkAppMediaHelp.ActiveLinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkAppMediaHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.lnkAppMediaHelp.AutoEllipsis = true;
|
||||
this.lnkAppMediaHelp.AutoSize = true;
|
||||
this.lnkAppMediaHelp.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lnkAppMediaHelp.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
|
||||
this.lnkAppMediaHelp.LinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkAppMediaHelp.Location = new System.Drawing.Point(24, 587);
|
||||
this.lnkAppMediaHelp.Name = "lnkAppMediaHelp";
|
||||
this.lnkAppMediaHelp.Size = new System.Drawing.Size(46, 15);
|
||||
this.lnkAppMediaHelp.TabIndex = 201;
|
||||
this.lnkAppMediaHelp.TabStop = true;
|
||||
this.lnkAppMediaHelp.Text = "Get help";
|
||||
this.lnkAppMediaHelp.VisitedLinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkAppMediaHelp.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkAppMediaHelp_LinkClicked);
|
||||
//
|
||||
// lnkAppMediaDonate
|
||||
//
|
||||
this.lnkAppMediaDonate.ActiveLinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkAppMediaDonate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.lnkAppMediaDonate.AutoEllipsis = true;
|
||||
this.lnkAppMediaDonate.AutoSize = true;
|
||||
this.lnkAppMediaDonate.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lnkAppMediaDonate.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
|
||||
this.lnkAppMediaDonate.LinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkAppMediaDonate.Location = new System.Drawing.Point(24, 572);
|
||||
this.lnkAppMediaDonate.Name = "lnkAppMediaDonate";
|
||||
this.lnkAppMediaDonate.Size = new System.Drawing.Size(42, 15);
|
||||
this.lnkAppMediaDonate.TabIndex = 200;
|
||||
this.lnkAppMediaDonate.TabStop = true;
|
||||
this.lnkAppMediaDonate.Text = "Donate";
|
||||
this.lnkAppMediaDonate.VisitedLinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkAppMediaDonate.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkAppMediaDonate_LinkClicked);
|
||||
//
|
||||
// lnkAppMediaGitHub
|
||||
//
|
||||
this.lnkAppMediaGitHub.ActiveLinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkAppMediaGitHub.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.lnkAppMediaGitHub.AutoEllipsis = true;
|
||||
this.lnkAppMediaGitHub.AutoSize = true;
|
||||
this.lnkAppMediaGitHub.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lnkAppMediaGitHub.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
|
||||
this.lnkAppMediaGitHub.LinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkAppMediaGitHub.Location = new System.Drawing.Point(23, 541);
|
||||
this.lnkAppMediaGitHub.Name = "lnkAppMediaGitHub";
|
||||
this.lnkAppMediaGitHub.Size = new System.Drawing.Size(86, 15);
|
||||
this.lnkAppMediaGitHub.TabIndex = 198;
|
||||
this.lnkAppMediaGitHub.TabStop = true;
|
||||
this.lnkAppMediaGitHub.Text = "Follow on GitHub";
|
||||
this.lnkAppMediaGitHub.VisitedLinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkAppMediaGitHub.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkAppMediaGitHub_LinkClicked);
|
||||
//
|
||||
// lnkAppMediaTwitter
|
||||
//
|
||||
this.lnkAppMediaTwitter.ActiveLinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkAppMediaTwitter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.lnkAppMediaTwitter.AutoEllipsis = true;
|
||||
this.lnkAppMediaTwitter.AutoSize = true;
|
||||
this.lnkAppMediaTwitter.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lnkAppMediaTwitter.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
|
||||
this.lnkAppMediaTwitter.LinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkAppMediaTwitter.Location = new System.Drawing.Point(23, 557);
|
||||
this.lnkAppMediaTwitter.Name = "lnkAppMediaTwitter";
|
||||
this.lnkAppMediaTwitter.Size = new System.Drawing.Size(105, 15);
|
||||
this.lnkAppMediaTwitter.TabIndex = 199;
|
||||
this.lnkAppMediaTwitter.TabStop = true;
|
||||
this.lnkAppMediaTwitter.Text = "Follow dev on Twitter";
|
||||
this.lnkAppMediaTwitter.VisitedLinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkAppMediaTwitter.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkAppMediaTwitter_LinkClicked);
|
||||
//
|
||||
// _lblAboutInfo
|
||||
//
|
||||
this._lblAboutInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this._lblAboutInfo.AutoEllipsis = true;
|
||||
this._lblAboutInfo.AutoSize = true;
|
||||
this._lblAboutInfo.Font = new System.Drawing.Font("Segoe UI Variable Text Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this._lblAboutInfo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this._lblAboutInfo.Location = new System.Drawing.Point(23, 520);
|
||||
this._lblAboutInfo.Name = "_lblAboutInfo";
|
||||
this._lblAboutInfo.Size = new System.Drawing.Size(101, 17);
|
||||
this._lblAboutInfo.TabIndex = 197;
|
||||
this._lblAboutInfo.Text = "About this App";
|
||||
//
|
||||
// lnkStatus
|
||||
//
|
||||
this.lnkStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lnkStatus.AutoEllipsis = true;
|
||||
this.lnkStatus.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 9.75F);
|
||||
this.lnkStatus.LinkBehavior = System.Windows.Forms.LinkBehavior.AlwaysUnderline;
|
||||
this.lnkStatus.LinkColor = System.Drawing.Color.MediumBlue;
|
||||
this.lnkStatus.Location = new System.Drawing.Point(593, 117);
|
||||
this.lnkStatus.Name = "lnkStatus";
|
||||
this.lnkStatus.Size = new System.Drawing.Size(409, 23);
|
||||
this.lnkStatus.TabIndex = 196;
|
||||
this.lnkStatus.TabStop = true;
|
||||
this.lnkStatus.Text = "Learn more";
|
||||
this.lnkStatus.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkStatus_LinkClicked);
|
||||
//
|
||||
// lnkRunSetup
|
||||
//
|
||||
this.lnkRunSetup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lnkRunSetup.AutoSize = true;
|
||||
this.lnkRunSetup.Font = new System.Drawing.Font("Segoe UI Variable Text", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lnkRunSetup.Location = new System.Drawing.Point(70, 597);
|
||||
this.lnkRunSetup.Font = new System.Drawing.Font("Segoe UI Variable Text", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lnkRunSetup.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
|
||||
this.lnkRunSetup.LinkColor = System.Drawing.Color.MediumBlue;
|
||||
this.lnkRunSetup.Location = new System.Drawing.Point(646, 605);
|
||||
this.lnkRunSetup.Name = "lnkRunSetup";
|
||||
this.lnkRunSetup.Size = new System.Drawing.Size(229, 15);
|
||||
this.lnkRunSetup.Size = new System.Drawing.Size(85, 17);
|
||||
this.lnkRunSetup.TabIndex = 179;
|
||||
this.lnkRunSetup.TabStop = true;
|
||||
this.lnkRunSetup.Text = "I want to set up Windows 11 for the first time...";
|
||||
this.lnkRunSetup.Text = "Use Assistant";
|
||||
this.lnkRunSetup.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkRunSetup_LinkClicked);
|
||||
//
|
||||
// btnAppOptions
|
||||
//
|
||||
this.btnAppOptions.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnAppOptions.AutoEllipsis = true;
|
||||
this.btnAppOptions.BackColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.btnAppOptions.BackColor = System.Drawing.Color.Transparent;
|
||||
this.btnAppOptions.FlatAppearance.BorderSize = 0;
|
||||
this.btnAppOptions.Font = new System.Drawing.Font("Segoe Fluent Icons", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnAppOptions.ForeColor = System.Drawing.Color.White;
|
||||
this.btnAppOptions.Location = new System.Drawing.Point(302, 207);
|
||||
this.btnAppOptions.Font = new System.Drawing.Font("Segoe UI Variable Text", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnAppOptions.ForeColor = System.Drawing.Color.Black;
|
||||
this.btnAppOptions.Location = new System.Drawing.Point(784, 595);
|
||||
this.btnAppOptions.Name = "btnAppOptions";
|
||||
this.btnAppOptions.Padding = new System.Windows.Forms.Padding(0, 0, 5, 0);
|
||||
this.btnAppOptions.Size = new System.Drawing.Size(62, 42);
|
||||
this.btnAppOptions.Size = new System.Drawing.Size(62, 35);
|
||||
this.btnAppOptions.TabIndex = 178;
|
||||
this.btnAppOptions.Text = "...";
|
||||
this.btnAppOptions.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.btnAppOptions.Text = "Fix";
|
||||
this.btnAppOptions.UseVisualStyleBackColor = false;
|
||||
this.btnAppOptions.Click += new System.EventHandler(this.btnAppOptions_Click);
|
||||
//
|
||||
// btnSettings
|
||||
// lblHeader
|
||||
//
|
||||
this.btnSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSettings.FlatAppearance.BorderSize = 0;
|
||||
this.btnSettings.FlatAppearance.MouseOverBackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnSettings.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnSettings.Font = new System.Drawing.Font("Segoe Fluent Icons", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnSettings.ForeColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.btnSettings.Location = new System.Drawing.Point(376, 554);
|
||||
this.btnSettings.Name = "btnSettings";
|
||||
this.btnSettings.Size = new System.Drawing.Size(42, 38);
|
||||
this.btnSettings.TabIndex = 177;
|
||||
this.btnSettings.Text = "...";
|
||||
this.btnSettings.UseVisualStyleBackColor = true;
|
||||
this.btnSettings.Click += new System.EventHandler(this.btnSettings_Click);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("Segoe UI Variable Text Semibold", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label1.Location = new System.Drawing.Point(13, 50);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(370, 36);
|
||||
this.label1.TabIndex = 176;
|
||||
this.label1.Text = "Boost your PC\'s performance";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lblHeader.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblHeader.AutoEllipsis = true;
|
||||
this.lblHeader.AutoSize = true;
|
||||
this.lblHeader.Font = new System.Drawing.Font("Segoe UI Variable Text Semibold", 18.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblHeader.Location = new System.Drawing.Point(472, 36);
|
||||
this.lblHeader.Name = "lblHeader";
|
||||
this.lblHeader.Size = new System.Drawing.Size(378, 33);
|
||||
this.lblHeader.TabIndex = 176;
|
||||
this.lblHeader.Text = "Let\'s customize your experience";
|
||||
this.lblHeader.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// btnKebapMenu
|
||||
//
|
||||
@ -196,7 +307,7 @@
|
||||
this.btnKebapMenu.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnKebapMenu.Font = new System.Drawing.Font("Segoe Fluent Icons", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnKebapMenu.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.btnKebapMenu.Location = new System.Drawing.Point(381, 0);
|
||||
this.btnKebapMenu.Location = new System.Drawing.Point(960, 3);
|
||||
this.btnKebapMenu.Name = "btnKebapMenu";
|
||||
this.btnKebapMenu.Size = new System.Drawing.Size(42, 47);
|
||||
this.btnKebapMenu.TabIndex = 175;
|
||||
@ -207,44 +318,45 @@
|
||||
//
|
||||
// btnAnalyze
|
||||
//
|
||||
this.btnAnalyze.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnAnalyze.AutoEllipsis = true;
|
||||
this.btnAnalyze.BackColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.btnAnalyze.BackColor = System.Drawing.Color.Transparent;
|
||||
this.btnAnalyze.FlatAppearance.BorderSize = 0;
|
||||
this.btnAnalyze.Font = new System.Drawing.Font("Segoe UI Variable Text Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnAnalyze.ForeColor = System.Drawing.Color.White;
|
||||
this.btnAnalyze.Location = new System.Drawing.Point(23, 207);
|
||||
this.btnAnalyze.Font = new System.Drawing.Font("Segoe UI Variable Text", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnAnalyze.ForeColor = System.Drawing.Color.Black;
|
||||
this.btnAnalyze.Location = new System.Drawing.Point(852, 595);
|
||||
this.btnAnalyze.Name = "btnAnalyze";
|
||||
this.btnAnalyze.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
|
||||
this.btnAnalyze.Size = new System.Drawing.Size(286, 42);
|
||||
this.btnAnalyze.Size = new System.Drawing.Size(120, 35);
|
||||
this.btnAnalyze.TabIndex = 27;
|
||||
this.btnAnalyze.Text = "Analyze ";
|
||||
this.btnAnalyze.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnAnalyze.UseVisualStyleBackColor = false;
|
||||
this.btnAnalyze.Click += new System.EventHandler(this.btnAnalyze_Click);
|
||||
//
|
||||
// lnkSubHeader
|
||||
//
|
||||
this.lnkSubHeader.ActiveLinkColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.lnkSubHeader.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lnkSubHeader.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lnkSubHeader.AutoEllipsis = true;
|
||||
this.lnkSubHeader.Font = new System.Drawing.Font("Segoe UI Variable Text Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lnkSubHeader.ForeColor = System.Drawing.Color.Black;
|
||||
this.lnkSubHeader.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.lnkSubHeader.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
|
||||
this.lnkSubHeader.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lnkSubHeader.Location = new System.Drawing.Point(12, 494);
|
||||
this.lnkSubHeader.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
|
||||
this.lnkSubHeader.LinkColor = System.Drawing.Color.Gray;
|
||||
this.lnkSubHeader.Location = new System.Drawing.Point(475, 84);
|
||||
this.lnkSubHeader.Name = "lnkSubHeader";
|
||||
this.lnkSubHeader.Size = new System.Drawing.Size(400, 38);
|
||||
this.lnkSubHeader.Size = new System.Drawing.Size(517, 56);
|
||||
this.lnkSubHeader.TabIndex = 171;
|
||||
this.lnkSubHeader.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkSubHeader_LinkClicked);
|
||||
this.lnkSubHeader.TabStop = true;
|
||||
this.lnkSubHeader.Text = "Select all the ways you don\'t plan to use your device to get personalized tip, ad" +
|
||||
"s, recommendation within Microsoft expericences. You can always revert these Set" +
|
||||
"tings to default.";
|
||||
//
|
||||
// progress
|
||||
//
|
||||
this.progress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.progress.Location = new System.Drawing.Point(9, 285);
|
||||
this.progress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.progress.Location = new System.Drawing.Point(478, 161);
|
||||
this.progress.Name = "progress";
|
||||
this.progress.Size = new System.Drawing.Size(409, 5);
|
||||
this.progress.Size = new System.Drawing.Size(481, 5);
|
||||
this.progress.TabIndex = 166;
|
||||
this.progress.Visible = false;
|
||||
//
|
||||
@ -254,7 +366,7 @@
|
||||
this.lblTools.AutoSize = true;
|
||||
this.lblTools.Font = new System.Drawing.Font("Segoe UI Variable Text Semibold", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblTools.ForeColor = System.Drawing.Color.DeepPink;
|
||||
this.lblTools.Location = new System.Drawing.Point(32, 561);
|
||||
this.lblTools.Location = new System.Drawing.Point(33, 627);
|
||||
this.lblTools.Name = "lblTools";
|
||||
this.lblTools.Size = new System.Drawing.Size(35, 15);
|
||||
this.lblTools.TabIndex = 25;
|
||||
@ -271,31 +383,15 @@
|
||||
this.cmbTools.FormattingEnabled = true;
|
||||
this.cmbTools.IntegralHeight = false;
|
||||
this.cmbTools.ItemHeight = 21;
|
||||
this.cmbTools.Location = new System.Drawing.Point(75, 553);
|
||||
this.cmbTools.Location = new System.Drawing.Point(76, 619);
|
||||
this.cmbTools.Name = "cmbTools";
|
||||
this.cmbTools.Size = new System.Drawing.Size(150, 29);
|
||||
this.cmbTools.TabIndex = 19;
|
||||
this.cmbTools.SelectedIndexChanged += new System.EventHandler(this.cmbTools_SelectedIndexChanged);
|
||||
//
|
||||
// lblHeader
|
||||
//
|
||||
this.lblHeader.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblHeader.AutoEllipsis = true;
|
||||
this.lblHeader.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblHeader.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lblHeader.Location = new System.Drawing.Point(18, 112);
|
||||
this.lblHeader.Name = "lblHeader";
|
||||
this.lblHeader.Size = new System.Drawing.Size(346, 70);
|
||||
this.lblHeader.TabIndex = 16;
|
||||
this.lblHeader.Text = "Windows 11 is too bloaty && nosy and has some annoying features that just need to" +
|
||||
" go. This app will scan your system and inform you which features it likes or di" +
|
||||
"slikes in your configuration.";
|
||||
//
|
||||
// rtbLog
|
||||
//
|
||||
this.rtbLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
this.rtbLog.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.rtbLog.BackColor = System.Drawing.Color.White;
|
||||
this.rtbLog.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
@ -303,10 +399,10 @@
|
||||
this.rtbLog.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rtbLog.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.rtbLog.HideSelection = false;
|
||||
this.rtbLog.Location = new System.Drawing.Point(9, 296);
|
||||
this.rtbLog.Location = new System.Drawing.Point(489, 192);
|
||||
this.rtbLog.Name = "rtbLog";
|
||||
this.rtbLog.ReadOnly = true;
|
||||
this.rtbLog.Size = new System.Drawing.Size(414, 175);
|
||||
this.rtbLog.Size = new System.Drawing.Size(461, 376);
|
||||
this.rtbLog.TabIndex = 138;
|
||||
this.rtbLog.Text = "";
|
||||
this.rtbLog.Visible = false;
|
||||
@ -314,36 +410,78 @@
|
||||
//
|
||||
// tvwFeatures
|
||||
//
|
||||
this.tvwFeatures.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
this.tvwFeatures.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tvwFeatures.BackColor = System.Drawing.Color.White;
|
||||
this.tvwFeatures.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.tvwFeatures.CheckBoxes = true;
|
||||
this.tvwFeatures.Font = new System.Drawing.Font("Segoe UI Variable Text", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tvwFeatures.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tvwFeatures.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.tvwFeatures.FullRowSelect = true;
|
||||
this.tvwFeatures.ItemHeight = 30;
|
||||
this.tvwFeatures.ItemHeight = 37;
|
||||
this.tvwFeatures.LineColor = System.Drawing.Color.HotPink;
|
||||
this.tvwFeatures.Location = new System.Drawing.Point(9, 296);
|
||||
this.tvwFeatures.Location = new System.Drawing.Point(489, 192);
|
||||
this.tvwFeatures.Name = "tvwFeatures";
|
||||
this.tvwFeatures.ShowLines = false;
|
||||
this.tvwFeatures.ShowNodeToolTips = true;
|
||||
this.tvwFeatures.ShowRootLines = false;
|
||||
this.tvwFeatures.Size = new System.Drawing.Size(414, 175);
|
||||
this.tvwFeatures.Size = new System.Drawing.Size(461, 376);
|
||||
this.tvwFeatures.TabIndex = 168;
|
||||
this.tvwFeatures.Visible = false;
|
||||
this.tvwFeatures.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.treeFeatures_AfterCheck);
|
||||
this.tvwFeatures.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tvwFeatures_MouseUp);
|
||||
//
|
||||
// border
|
||||
//
|
||||
this.border.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.border.FlatAppearance.BorderColor = System.Drawing.Color.Black;
|
||||
this.border.FlatAppearance.BorderSize = 2;
|
||||
this.border.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.border.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.border.Location = new System.Drawing.Point(478, 177);
|
||||
this.border.Name = "border";
|
||||
this.border.Size = new System.Drawing.Size(481, 403);
|
||||
this.border.TabIndex = 192;
|
||||
this.border.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.border.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblInetCheck
|
||||
//
|
||||
this.lblInetCheck.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblInetCheck.AutoEllipsis = true;
|
||||
this.lblInetCheck.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblInetCheck.Location = new System.Drawing.Point(33, 177);
|
||||
this.lblInetCheck.Name = "lblInetCheck";
|
||||
this.lblInetCheck.Size = new System.Drawing.Size(357, 42);
|
||||
this.lblInetCheck.TabIndex = 195;
|
||||
this.lblInetCheck.Text = "We cannot connect to the Internet. \r\nSome functions of BloatyNosy are not availab" +
|
||||
"le.";
|
||||
this.lblInetCheck.Visible = false;
|
||||
//
|
||||
// pbBackground
|
||||
//
|
||||
this.pbBackground.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.pbBackground.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||||
this.pbBackground.ErrorImage = null;
|
||||
this.pbBackground.InitialImage = null;
|
||||
this.pbBackground.Location = new System.Drawing.Point(3, -49);
|
||||
this.pbBackground.Name = "pbBackground";
|
||||
this.pbBackground.Size = new System.Drawing.Size(445, 662);
|
||||
this.pbBackground.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.pbBackground.TabIndex = 182;
|
||||
this.pbBackground.TabStop = false;
|
||||
//
|
||||
// contextKebapMenu
|
||||
//
|
||||
this.contextKebapMenu.BackColor = System.Drawing.Color.White;
|
||||
this.contextKebapMenu.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.contextKebapMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.textHeader,
|
||||
this.menuAdvanced,
|
||||
this.textHeaderAppInfo,
|
||||
this.menuIgnoreLowLevelI,
|
||||
this.textHeaderExperience,
|
||||
this.cbProfiles,
|
||||
this.menuLoadProfile,
|
||||
this.menuExportProfile,
|
||||
@ -353,26 +491,19 @@
|
||||
this.textExplanationOK});
|
||||
this.contextKebapMenu.Name = "menuMain";
|
||||
this.contextKebapMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
||||
this.contextKebapMenu.Size = new System.Drawing.Size(261, 251);
|
||||
this.contextKebapMenu.Size = new System.Drawing.Size(261, 242);
|
||||
//
|
||||
// textHeader
|
||||
// textHeaderAppInfo
|
||||
//
|
||||
this.textHeader.BackColor = System.Drawing.Color.White;
|
||||
this.textHeader.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.textHeader.Font = new System.Drawing.Font("Segoe UI Variable Text Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textHeader.ForeColor = System.Drawing.Color.Gray;
|
||||
this.textHeader.Margin = new System.Windows.Forms.Padding(5, 5, 0, 10);
|
||||
this.textHeader.Name = "textHeader";
|
||||
this.textHeader.ReadOnly = true;
|
||||
this.textHeader.Size = new System.Drawing.Size(100, 18);
|
||||
this.textHeader.Text = "App-Info";
|
||||
//
|
||||
// menuAdvanced
|
||||
//
|
||||
this.menuAdvanced.Name = "menuAdvanced";
|
||||
this.menuAdvanced.Size = new System.Drawing.Size(260, 26);
|
||||
this.menuAdvanced.Text = "Advanced mode";
|
||||
this.menuAdvanced.Click += new System.EventHandler(this.menuAdvanced_Click);
|
||||
this.textHeaderAppInfo.BackColor = System.Drawing.Color.White;
|
||||
this.textHeaderAppInfo.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.textHeaderAppInfo.Font = new System.Drawing.Font("Segoe UI Variable Text Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textHeaderAppInfo.ForeColor = System.Drawing.Color.Gray;
|
||||
this.textHeaderAppInfo.Margin = new System.Windows.Forms.Padding(5, 5, 0, 10);
|
||||
this.textHeaderAppInfo.Name = "textHeaderAppInfo";
|
||||
this.textHeaderAppInfo.ReadOnly = true;
|
||||
this.textHeaderAppInfo.Size = new System.Drawing.Size(200, 18);
|
||||
this.textHeaderAppInfo.Text = "App-Settings";
|
||||
//
|
||||
// menuIgnoreLowLevelI
|
||||
//
|
||||
@ -382,6 +513,16 @@
|
||||
this.menuIgnoreLowLevelI.TextDirection = System.Windows.Forms.ToolStripTextDirection.Horizontal;
|
||||
this.menuIgnoreLowLevelI.Click += new System.EventHandler(this.menuIgnoreLowLevelP_Click);
|
||||
//
|
||||
// textHeaderExperience
|
||||
//
|
||||
this.textHeaderExperience.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.textHeaderExperience.Font = new System.Drawing.Font("Segoe UI Variable Text Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textHeaderExperience.ForeColor = System.Drawing.Color.Gray;
|
||||
this.textHeaderExperience.Margin = new System.Windows.Forms.Padding(5, 5, 0, 0);
|
||||
this.textHeaderExperience.Name = "textHeaderExperience";
|
||||
this.textHeaderExperience.Size = new System.Drawing.Size(200, 16);
|
||||
this.textHeaderExperience.Text = "Choose Experience profile";
|
||||
//
|
||||
// cbProfiles
|
||||
//
|
||||
this.cbProfiles.AutoToolTip = true;
|
||||
@ -415,34 +556,34 @@
|
||||
//
|
||||
this.textExplanation.BackColor = System.Drawing.Color.White;
|
||||
this.textExplanation.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.textExplanation.Font = new System.Drawing.Font("Segoe UI Variable Text Semibold", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textExplanation.Font = new System.Drawing.Font("Segoe UI Variable Text Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textExplanation.Margin = new System.Windows.Forms.Padding(5, 5, 1, 1);
|
||||
this.textExplanation.Name = "textExplanation";
|
||||
this.textExplanation.ReadOnly = true;
|
||||
this.textExplanation.Size = new System.Drawing.Size(100, 26);
|
||||
this.textExplanation.Size = new System.Drawing.Size(100, 22);
|
||||
this.textExplanation.Text = "Explanation";
|
||||
//
|
||||
// textExplanationIssue
|
||||
//
|
||||
this.textExplanationIssue.BackColor = System.Drawing.Color.MediumVioletRed;
|
||||
this.textExplanationIssue.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.textExplanationIssue.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textExplanationIssue.Font = new System.Drawing.Font("Segoe UI Variable Text", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textExplanationIssue.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.textExplanationIssue.Margin = new System.Windows.Forms.Padding(5, 1, 1, 1);
|
||||
this.textExplanationIssue.Name = "textExplanationIssue";
|
||||
this.textExplanationIssue.ReadOnly = true;
|
||||
this.textExplanationIssue.Size = new System.Drawing.Size(190, 15);
|
||||
this.textExplanationIssue.Size = new System.Drawing.Size(200, 15);
|
||||
this.textExplanationIssue.Text = "Color indicates a issue";
|
||||
//
|
||||
// textExplanationOK
|
||||
//
|
||||
this.textExplanationOK.BackColor = System.Drawing.Color.DarkGray;
|
||||
this.textExplanationOK.BackColor = System.Drawing.Color.Silver;
|
||||
this.textExplanationOK.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.textExplanationOK.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textExplanationOK.Font = new System.Drawing.Font("Segoe UI Variable Text", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.textExplanationOK.Margin = new System.Windows.Forms.Padding(5, 1, 1, 10);
|
||||
this.textExplanationOK.Name = "textExplanationOK";
|
||||
this.textExplanationOK.ReadOnly = true;
|
||||
this.textExplanationOK.Size = new System.Drawing.Size(190, 15);
|
||||
this.textExplanationOK.Size = new System.Drawing.Size(200, 15);
|
||||
this.textExplanationOK.Text = "Color indicates that no action is needed";
|
||||
//
|
||||
// contextAppMenu
|
||||
@ -497,7 +638,7 @@
|
||||
//
|
||||
// contextAppMenuOptions
|
||||
//
|
||||
this.contextAppMenuOptions.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.contextAppMenuOptions.BackColor = System.Drawing.Color.White;
|
||||
this.contextAppMenuOptions.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.contextAppMenuOptions.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.menuAppConfigure});
|
||||
@ -516,18 +657,21 @@
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.AutoScroll = true;
|
||||
this.BackColor = System.Drawing.Color.White;
|
||||
this.ClientSize = new System.Drawing.Size(430, 616);
|
||||
this.ClientSize = new System.Drawing.Size(1014, 663);
|
||||
this.Controls.Add(this.pnlForm);
|
||||
this.MinimumSize = new System.Drawing.Size(446, 655);
|
||||
this.MinimumSize = new System.Drawing.Size(942, 523);
|
||||
this.Name = "MainForm";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "BloatyNosy";
|
||||
this.Shown += new System.EventHandler(this.MainForm_Shown);
|
||||
this.pnlForm.ResumeLayout(false);
|
||||
this.pnlForm.PerformLayout();
|
||||
this.pnlMain.ResumeLayout(false);
|
||||
this.pnlMain.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbBackground)).EndInit();
|
||||
this.contextKebapMenu.ResumeLayout(false);
|
||||
this.contextKebapMenu.PerformLayout();
|
||||
this.contextAppMenu.ResumeLayout(false);
|
||||
@ -542,7 +686,6 @@
|
||||
private System.Windows.Forms.Panel pnlMain;
|
||||
private System.Windows.Forms.Label lblTools;
|
||||
private System.Windows.Forms.ComboBox cmbTools;
|
||||
private System.Windows.Forms.Label lblHeader;
|
||||
private System.Windows.Forms.Button btnAnalyze;
|
||||
private System.Windows.Forms.RichTextBox rtbLog;
|
||||
private System.Windows.Forms.ProgressBar progress;
|
||||
@ -550,9 +693,7 @@
|
||||
private System.Windows.Forms.TreeView tvwFeatures;
|
||||
private System.Windows.Forms.Button btnKebapMenu;
|
||||
private System.Windows.Forms.ContextMenuStrip contextKebapMenu;
|
||||
private System.Windows.Forms.ToolStripMenuItem menuAdvanced;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Button btnSettings;
|
||||
private System.Windows.Forms.Label lblHeader;
|
||||
private System.Windows.Forms.ToolStripMenuItem menuIgnoreLowLevelI;
|
||||
private System.Windows.Forms.Button btnAppOptions;
|
||||
private System.Windows.Forms.ContextMenuStrip contextAppMenu;
|
||||
@ -565,14 +706,24 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem menuExportProfile;
|
||||
private System.Windows.Forms.ContextMenuStrip contextAppMenuOptions;
|
||||
private System.Windows.Forms.ToolStripMenuItem menuAppConfigure;
|
||||
private System.Windows.Forms.Label lblAppOptionsFix;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ToolStripTextBox textExplanationIssue;
|
||||
private System.Windows.Forms.ToolStripTextBox textExplanationOK;
|
||||
private System.Windows.Forms.ToolStripComboBox cbProfiles;
|
||||
private System.Windows.Forms.ToolStripTextBox textHeader;
|
||||
private System.Windows.Forms.ToolStripTextBox textExplanation;
|
||||
private System.Windows.Forms.Label lblOS;
|
||||
private System.Windows.Forms.PictureBox pbBackground;
|
||||
private System.Windows.Forms.Button border;
|
||||
private System.Windows.Forms.Label lblInetCheck;
|
||||
private System.Windows.Forms.LinkLabel lnkStatus;
|
||||
private System.Windows.Forms.Label _lblAboutInfo;
|
||||
private System.Windows.Forms.LinkLabel lnkAppMediaGitHub;
|
||||
private System.Windows.Forms.LinkLabel lnkAppMediaTwitter;
|
||||
private System.Windows.Forms.LinkLabel lnkAppMediaHelp;
|
||||
private System.Windows.Forms.LinkLabel lnkAppMediaDonate;
|
||||
private System.Windows.Forms.Label _lblAssembly;
|
||||
private System.Windows.Forms.LinkLabel lnkUpdateCheck;
|
||||
private System.Windows.Forms.ToolStripTextBox textHeaderAppInfo;
|
||||
private System.Windows.Forms.ToolStripTextBox textHeaderExperience;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,6 +3,7 @@ using Features.Feature;
|
||||
using HelperTool;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
@ -19,12 +20,14 @@ namespace BloatyNosy
|
||||
private int progression = 0;
|
||||
private int progressionIncrease = 0;
|
||||
private static readonly ErrorHelper logger = ErrorHelper.Instance;
|
||||
private bool switchMode = true;
|
||||
|
||||
public MainForm()
|
||||
=> InitializeComponent();
|
||||
|
||||
private void MainForm_Shown(object sender, EventArgs e)
|
||||
{
|
||||
_lblAssembly.Text = "Version " + Program.GetCurrentVersionTostring();
|
||||
this.AddDefaultFeatures();
|
||||
this.AddMoreApps();
|
||||
this.Piglet1();
|
||||
@ -34,20 +37,26 @@ namespace BloatyNosy
|
||||
|
||||
private void SetStyle()
|
||||
{
|
||||
btnAppOptions.Text = "\uE70D";
|
||||
btnKebapMenu.Text = "\u22ee";
|
||||
btnSettings.Text = "\uE713";
|
||||
lblOS.Text += OsHelper.GetVersion();
|
||||
|
||||
BackColor =
|
||||
tvwFeatures.BackColor =
|
||||
rtbLog.BackColor =
|
||||
Color.FromArgb(244, 241, 249);
|
||||
Color.FromArgb(239, 239, 247);
|
||||
logger.SetTarget(rtbLog); // Log messages to target richLog
|
||||
INavPage = pnlForm.Controls[0]; // Set default NavPage
|
||||
|
||||
this.Location = new Point((Screen.PrimaryScreen.WorkingArea.Width - this.Width) / 2,
|
||||
(Screen.PrimaryScreen.WorkingArea.Height - this.Height));
|
||||
// Border
|
||||
border.FlatAppearance.MouseOverBackColor = border.BackColor;
|
||||
border.BackColorChanged += (s, e) =>
|
||||
{
|
||||
border.FlatAppearance.MouseOverBackColor = border.BackColor;
|
||||
};
|
||||
|
||||
// Background Tile
|
||||
if (!HelperTool.Utils.IsInet())
|
||||
{ lblInetCheck.Visible = true; }
|
||||
else
|
||||
pbBackground.ImageLocation = "https://github.com/builtbybel/BloatyNosy/blob/main/assets/BackgroundImage.png?raw=true";
|
||||
}
|
||||
|
||||
public void SetView(Control View)
|
||||
@ -65,19 +74,11 @@ namespace BloatyNosy
|
||||
|
||||
private void AddMoreApps()
|
||||
{
|
||||
cmbTools.Items.Add("AppyTrash");
|
||||
cmbTools.Items.Add("BloatPilot");
|
||||
cmbTools.Items.Add("WinModder");
|
||||
cmbTools.Items.Insert(0, "More Apps");
|
||||
cmbTools.SelectedIndex = 0;
|
||||
if (File.Exists(HelperTool.Utils.Paths.ProgramFiles + @"\Builtbybel\BloatyNosy\BloatyNosy.exe"))
|
||||
{
|
||||
/* if (MessageBox.Show("InstaPackage app is not available in the Microsoft Store version of the app because, " +
|
||||
"according to Microsoft, it triggers conflicts with the store policies.\n\n" +
|
||||
"Do you want to download the open source version hosted on GitHub?", "Not available in Store", MessageBoxButtons.YesNo, MessageBoxIcon.Information, MessageBoxDefaultButton.Button2) == DialogResult.Yes)
|
||||
Process.Start(HelperTool.Utils.Uri.URL_GITREPO);*/
|
||||
}
|
||||
else
|
||||
cmbTools.Items.Add("InstaPackage");
|
||||
cmbTools.Items.Insert(0, "Find more apps");
|
||||
cmbTools.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
private void Piglet1()
|
||||
@ -102,7 +103,7 @@ namespace BloatyNosy
|
||||
private void cmbTools_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
string message = Convert.ToString(cmbTools.SelectedItem);
|
||||
string[] keys = new string[] { "Package", "Trash", "Mod" };
|
||||
string[] keys = new string[] { "Package", "Bloat", "Mod" };
|
||||
|
||||
string sKeyResult = keys.FirstOrDefault<string>(s => message.Contains(s));
|
||||
|
||||
@ -112,8 +113,10 @@ namespace BloatyNosy
|
||||
this.SetView(new PackagesPageView()); // Packages > InstaPackages view
|
||||
break;
|
||||
|
||||
case "Trash":
|
||||
this.SetView(new AppsPageView()); // In-box apps > AppyTrash view
|
||||
case "Bloat":
|
||||
try
|
||||
{ this.SetView(new AppsPageView()); } // In-box apps > BloatPilot view
|
||||
catch { MessageBox.Show("To use this feature, the application needs to be extracted from the archive.", this.Text, MessageBoxButtons.OK, MessageBoxIcon.Exclamation); }
|
||||
break;
|
||||
|
||||
case "Mod":
|
||||
@ -128,16 +131,13 @@ namespace BloatyNosy
|
||||
private void lnkRunSetup_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
=> this.SetView(new SetupPageView(this)); // Mods > Setup view
|
||||
|
||||
private void btnSettings_Click(object sender, EventArgs e)
|
||||
=> this.SetView(new AboutPageView()); // Settings view
|
||||
|
||||
public void AddDefaultFeatures()
|
||||
{
|
||||
tvwFeatures.Nodes.Clear();
|
||||
tvwFeatures.BeginUpdate();
|
||||
|
||||
// Root node
|
||||
TreeNode root = new TreeNode("Potential issues ")
|
||||
TreeNode root = new TreeNode("Potential issues on Windows 11 " + OsHelper.GetVersion())
|
||||
{
|
||||
Checked = true,
|
||||
};
|
||||
@ -152,7 +152,6 @@ namespace BloatyNosy
|
||||
};
|
||||
|
||||
TreeNode explorer = new TreeNode("Explorer", new TreeNode[] {
|
||||
new FeatureNode(new Features.Feature.Explorer.FileExplorer()),
|
||||
new FeatureNode(new Features.Feature.Explorer.HiddenFileFolder()),
|
||||
new FeatureNode(new Features.Feature.Explorer.HiddenFileExt()),
|
||||
})
|
||||
@ -232,6 +231,7 @@ namespace BloatyNosy
|
||||
|
||||
TreeNode apps = new TreeNode("Bloatware (from Microsoft, ASUS, Adobe, HP, Meta etc.)", new TreeNode[] {
|
||||
new FeatureNode(new Features.Feature.Apps.StoreApps()),
|
||||
new FeatureNode(new Features.Feature.Apps.StoreAppsPrivate()),
|
||||
})
|
||||
{
|
||||
Checked = true,
|
||||
@ -273,7 +273,7 @@ namespace BloatyNosy
|
||||
// logger.Log("Check {0}", node.Text);
|
||||
|
||||
bool shouldPerform = await analyzeTask;
|
||||
lnkSubHeader.Text = "Check " + feature.ID();
|
||||
lnkStatus.Text = "Check " + feature.ID();
|
||||
|
||||
if (menuIgnoreLowLevelI.Checked == true)
|
||||
if (shouldPerform & !node.Text.Contains("LOW"))
|
||||
@ -312,9 +312,10 @@ namespace BloatyNosy
|
||||
sum.Append("======= Summary =======\n");
|
||||
sum.Append($"We've checked {selectedFeatures.Count} features of your Windows 11 installation.\r\n");
|
||||
sum.Append($"We like {selectedFeatures.Count - performFeaturesCount} of these features (no need for action).\r\n");
|
||||
sum.Append($"We recommend to disable {performFeaturesCount} of these features (click above link to view details).\r\n");
|
||||
|
||||
logger.Log(sum.ToString(), ""); btnAnalyze.Enabled = true;
|
||||
lnkSubHeader.Text = $"There are {performFeaturesCount} features we don't like and which should be fixed (click for details).\r\n";
|
||||
logger.Log(sum.ToString(), ""); btnAnalyze.Enabled = true; switchMode = false;
|
||||
lnkStatus.Text = $"There are {performFeaturesCount} features which require your attention (click for details).\r\n";
|
||||
}
|
||||
|
||||
private void SelectFeatureNodes(TreeNodeCollection trNodeCollection, bool isCheck)
|
||||
@ -386,14 +387,14 @@ namespace BloatyNosy
|
||||
var assessment = node.Feature;
|
||||
ConfiguredTaskAwaitable<bool> performTask = Task<bool>.Factory.StartNew(() => assessment.DoFeature()).ConfigureAwait(true);
|
||||
|
||||
lnkSubHeader.Text = "Fixing " + node.Text;
|
||||
lnkStatus.Text = "Fixing " + node.Text;
|
||||
|
||||
var result = await performTask;
|
||||
IncrementProgress();
|
||||
}
|
||||
|
||||
DoProgress(100);
|
||||
lnkSubHeader.Text = "Fixing complete (click for details).";
|
||||
lnkStatus.Text = "Fixing complete (click for details).";
|
||||
|
||||
tvwFeatures.Enabled = true;
|
||||
}
|
||||
@ -407,25 +408,20 @@ namespace BloatyNosy
|
||||
var assessment = node.Feature;
|
||||
ConfiguredTaskAwaitable<bool> performTask = Task<bool>.Factory.StartNew(() => assessment.UndoFeature()).ConfigureAwait(true);
|
||||
|
||||
lnkSubHeader.Text = "Restore " + node.Text;
|
||||
lnkStatus.Text = "Restore " + node.Text;
|
||||
|
||||
var result = await performTask;
|
||||
IncrementProgress();
|
||||
}
|
||||
|
||||
DoProgress(100);
|
||||
lnkSubHeader.Text = "Undo complete (click for details).";
|
||||
lnkStatus.Text = "Undo complete (click for details).";
|
||||
|
||||
tvwFeatures.Enabled = true;
|
||||
}
|
||||
|
||||
private void menuFix_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(rtbLog.Text))
|
||||
{
|
||||
btnAnalyze.Text = "Click here to analyze first";
|
||||
}
|
||||
|
||||
if (MessageBox.Show("Do you want to apply selected fixes?", this.Text, MessageBoxButtons.YesNo, MessageBoxIcon.Information, MessageBoxDefaultButton.Button2) == DialogResult.Yes)
|
||||
{
|
||||
Reset();
|
||||
@ -458,20 +454,6 @@ namespace BloatyNosy
|
||||
tvwFeatures.EndUpdate();
|
||||
}
|
||||
|
||||
private void menuAdvanced_Click(object sender, EventArgs e)
|
||||
{
|
||||
menuAdvanced.Checked = !(menuAdvanced.Checked);
|
||||
|
||||
if (menuAdvanced.Checked == true)
|
||||
{
|
||||
tvwFeatures.Visible = true;
|
||||
tvwFeatures.BringToFront();
|
||||
}
|
||||
else if (menuAdvanced.Checked == false)
|
||||
tvwFeatures.Visible = false;
|
||||
rtbLog.Visible = true;
|
||||
}
|
||||
|
||||
private void menuIgnoreLowLevelP_Click(object sender, EventArgs e)
|
||||
{
|
||||
menuIgnoreLowLevelI.Checked = !(menuIgnoreLowLevelI.Checked);
|
||||
@ -487,15 +469,6 @@ namespace BloatyNosy
|
||||
private void btnMenu_Click(object sender, EventArgs e)
|
||||
=> this.contextKebapMenu.Show(Cursor.Position.X, Cursor.Position.Y);
|
||||
|
||||
private void lnkSubHeader_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
=> menuAdvanced.PerformClick();
|
||||
|
||||
private void lblAppOptionsFix_Click(object sender, EventArgs e)
|
||||
=> btnAppOptions.PerformClick();
|
||||
|
||||
private void lblOS_Click(object sender, EventArgs e)
|
||||
=> btnAnalyze.PerformClick();
|
||||
|
||||
private void menuLoadProfile_Click(object sender, EventArgs e)
|
||||
{
|
||||
string filePath = HelperTool.Utils.Data.DataRootDir + "\\" + cbProfiles.Text + ".bloos";
|
||||
@ -575,13 +548,55 @@ namespace BloatyNosy
|
||||
|
||||
switch (tn.Text)
|
||||
{
|
||||
case "*[HIGH] Search and remove pre-installed bloatware apps automatically (Right-click to remove bloatware manually)":
|
||||
this.SetView(new AppsPageView()); // In-box apps > AppyTrash view
|
||||
case "*[HIGH] Search and remove pre-installed bloatware apps automatically (Configure with a right-click)":
|
||||
this.SetView(new AppsPageView()); // In-box apps > BloatPilot view
|
||||
break;
|
||||
|
||||
case "*[LOW] Remove bloatware based on private signature (Configure with a right-click)":
|
||||
Process.Start("notepad.exe", HelperTool.Utils.Data.DataRootDir + "bloaty.txt");
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void lnkStatus_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
if (rtbLog.Text == "")
|
||||
rtbLog.Text = "Windows 11 is too bloaty & nosy and has some annoying features that just need to go. " +
|
||||
"This app will scan your system and inform you which features it likes or dislikes in your configuration.\n\n" +
|
||||
"Click on \"Analyze\" to scan your Windows 11 system for undesired configurations and features and make adjustments in one go.\n\n" +
|
||||
"If you have any questions or need assistance, please visit the open-source repository of the app at ." + HelperTool.Utils.Uri.URL_GITREPO;
|
||||
|
||||
if (switchMode)
|
||||
{
|
||||
tvwFeatures.Visible = false;
|
||||
rtbLog.Visible = true;
|
||||
switchMode = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
tvwFeatures.Visible = true;
|
||||
tvwFeatures.BringToFront();
|
||||
|
||||
switchMode = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void lnkAppMediaGitHub_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
=> Process.Start(HelperTool.Utils.Uri.URL_GITREPO);
|
||||
|
||||
private void lnkAppMediaTwitter_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
=> Process.Start(HelperTool.Utils.Uri.URL_TWITTER);
|
||||
|
||||
private void lnkAppMediaHelp_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
=> Process.Start(HelperTool.Utils.Uri.URL_HELP);
|
||||
|
||||
private void lnkUpdateCheck_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
=> HelperTool.Utils.CheckForUpdates();
|
||||
|
||||
private void lnkAppMediaDonate_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
=> Process.Start(HelperTool.Utils.Uri.URL_DONATE);
|
||||
}
|
||||
}
|
@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
|
||||
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||
// die einer Assembly zugeordnet sind.
|
||||
[assembly: AssemblyTitle("BloatyNosy")]
|
||||
[assembly: AssemblyDescription("Debloat your OS")]
|
||||
[assembly: AssemblyDescription("The Powertoy")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Builtbybel")]
|
||||
[assembly: AssemblyProduct("BloatyNosy")]
|
||||
@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
||||
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||
// indem Sie "*" wie unten gezeigt eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.51.0")]
|
||||
[assembly: AssemblyFileVersion("0.51.0")]
|
||||
[assembly: AssemblyVersion("0.80.0")]
|
||||
[assembly: AssemblyFileVersion("0.80.0")]
|
2
src/BloatyNosy/Views/AppsPageView.Designer.cs
generated
2
src/BloatyNosy/Views/AppsPageView.Designer.cs
generated
@ -214,7 +214,7 @@
|
||||
this.lblHeader.Name = "lblHeader";
|
||||
this.lblHeader.Size = new System.Drawing.Size(960, 32);
|
||||
this.lblHeader.TabIndex = 177;
|
||||
this.lblHeader.Text = "AppyTrash";
|
||||
this.lblHeader.Text = "BloatPilot";
|
||||
//
|
||||
// listApps
|
||||
//
|
||||
|
@ -35,7 +35,7 @@ namespace BloatyNosy
|
||||
listApps.BackColor =
|
||||
listRemove.BackColor =
|
||||
rtbStatus.BackColor =
|
||||
Color.FromArgb(245, 241, 249);
|
||||
Color.FromArgb(239, 239, 247);
|
||||
|
||||
btnHMenu.Text = "\uE700";
|
||||
btnBack.Text = "\uE72B";
|
||||
@ -134,13 +134,11 @@ namespace BloatyNosy
|
||||
|
||||
if (listRemove.Items.Count == 0)
|
||||
{
|
||||
|
||||
lblAppsBinOptions.Visible = true;
|
||||
picAppsPoster.Visible = true;
|
||||
|
||||
rtbStatus.Visible = true;
|
||||
listRemove.Visible = false;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -27,7 +27,7 @@ namespace BloatyNosy
|
||||
|
||||
private void SetStyle()
|
||||
{
|
||||
lvMods.BackColor = Color.FromArgb(245, 241, 249);
|
||||
lvMods.BackColor = Color.FromArgb(239, 239, 247);
|
||||
btnBack.Text = "\uE72B";
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ namespace BloatyNosy
|
||||
tabCode.BackColor =
|
||||
rtbDesc.BackColor =
|
||||
rtbCode.BackColor =
|
||||
Color.FromArgb(245, 241, 249);
|
||||
Color.FromArgb(239, 239, 247);
|
||||
|
||||
btnHMenu.Text = "\uE700";
|
||||
btnBack.Text = "\uE72B";
|
||||
|
@ -37,7 +37,7 @@ namespace BloatyNosy
|
||||
listRemote.BackColor =
|
||||
listLocal.BackColor =
|
||||
richStatus.BackColor =
|
||||
Color.FromArgb(245, 241, 249);
|
||||
Color.FromArgb(239, 239, 247);
|
||||
btnBack.Text = "\uE72B";
|
||||
}
|
||||
|
||||
|
4
src/BloatyNosy/Views/SetupPageView.Designer.cs
generated
4
src/BloatyNosy/Views/SetupPageView.Designer.cs
generated
@ -154,8 +154,8 @@
|
||||
//
|
||||
this.btnAssist.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnAssist.FlatAppearance.BorderColor = System.Drawing.Color.HotPink;
|
||||
this.btnAssist.FlatAppearance.BorderSize = 8;
|
||||
this.btnAssist.FlatAppearance.BorderColor = System.Drawing.Color.Black;
|
||||
this.btnAssist.FlatAppearance.BorderSize = 2;
|
||||
this.btnAssist.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnAssist.Font = new System.Drawing.Font("Segoe UI Variable Text Semiligh", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnAssist.Location = new System.Drawing.Point(546, 131);
|
||||
|
@ -31,7 +31,7 @@ namespace BloatyNosy
|
||||
private void SetStyle()
|
||||
{
|
||||
BackColor =
|
||||
Color.FromArgb(245, 241, 249);
|
||||
Color.FromArgb(239, 239, 247);
|
||||
btnBack.Text = "\uE72B";
|
||||
|
||||
btnAssist.FlatAppearance.MouseOverBackColor = btnAssist.BackColor;
|
||||
|
@ -16,7 +16,7 @@
|
||||
Entfernen Sie dieses Element, wenn diese Virtualisierung aus Gründen der Abwärtskompatibilität
|
||||
für die Anwendung erforderlich ist.
|
||||
-->
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
|
Loading…
Reference in New Issue
Block a user