diff --git a/Vichingo455 Settings.sln b/Vichingo455 Settings.sln new file mode 100644 index 0000000..211b4fc --- /dev/null +++ b/Vichingo455 Settings.sln @@ -0,0 +1,38 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35521.163 d17.12 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vichingo455 Settings", "Vichingo455 Settings\Vichingo455 Settings.csproj", "{12F40CD3-2A45-412F-B8F2-A999DDDC2604}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|ARM64 = Debug|ARM64 + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|ARM64 = Release|ARM64 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Debug|Any CPU.ActiveCfg = Debug|x64 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Debug|ARM64.Build.0 = Debug|ARM64 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Debug|x64.ActiveCfg = Debug|x64 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Debug|x64.Build.0 = Debug|x64 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Debug|x86.ActiveCfg = Debug|x86 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Debug|x86.Build.0 = Debug|x86 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Release|Any CPU.ActiveCfg = Release|x64 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Release|ARM64.ActiveCfg = Release|x64 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Release|ARM64.Build.0 = Release|x64 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Release|x64.ActiveCfg = Release|x64 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Release|x64.Build.0 = Release|x64 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Release|x86.ActiveCfg = Release|x86 + {12F40CD3-2A45-412F-B8F2-A999DDDC2604}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Vichingo455 Settings/About.Designer.cs b/Vichingo455 Settings/About.Designer.cs new file mode 100644 index 0000000..fdb6034 --- /dev/null +++ b/Vichingo455 Settings/About.Designer.cs @@ -0,0 +1,168 @@ +namespace Vichingo455_Settings +{ + partial class About + { + /// + /// Variabile di progettazione necessaria. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Pulire le risorse in uso. + /// + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Codice generato da Progettazione Windows Form + + /// + /// Metodo necessario per il supporto della finestra di progettazione. Non modificare + /// il contenuto del metodo con l'editor di codice. + /// + private void InitializeComponent() + { + this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel(); + this.labelProductName = new System.Windows.Forms.Label(); + this.labelVersion = new System.Windows.Forms.Label(); + this.labelCopyright = new System.Windows.Forms.Label(); + this.labelCompanyName = new System.Windows.Forms.Label(); + this.textBoxDescription = new System.Windows.Forms.TextBox(); + this.okButton = new System.Windows.Forms.Button(); + this.tableLayoutPanel.SuspendLayout(); + this.SuspendLayout(); + // + // tableLayoutPanel + // + this.tableLayoutPanel.ColumnCount = 1; + this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel.Controls.Add(this.labelProductName, 0, 0); + this.tableLayoutPanel.Controls.Add(this.labelVersion, 0, 1); + this.tableLayoutPanel.Controls.Add(this.labelCopyright, 0, 2); + this.tableLayoutPanel.Controls.Add(this.labelCompanyName, 0, 3); + this.tableLayoutPanel.Controls.Add(this.textBoxDescription, 0, 4); + this.tableLayoutPanel.Controls.Add(this.okButton, 0, 5); + this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel.Location = new System.Drawing.Point(9, 9); + this.tableLayoutPanel.Name = "tableLayoutPanel"; + this.tableLayoutPanel.RowCount = 6; + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.Size = new System.Drawing.Size(417, 265); + this.tableLayoutPanel.TabIndex = 0; + // + // labelProductName + // + this.labelProductName.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelProductName.Location = new System.Drawing.Point(6, 0); + this.labelProductName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0); + this.labelProductName.MaximumSize = new System.Drawing.Size(0, 17); + this.labelProductName.Name = "labelProductName"; + this.labelProductName.Size = new System.Drawing.Size(408, 17); + this.labelProductName.TabIndex = 19; + this.labelProductName.Text = "Nome prodotto"; + this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // labelVersion + // + this.labelVersion.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelVersion.Location = new System.Drawing.Point(6, 26); + this.labelVersion.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0); + this.labelVersion.MaximumSize = new System.Drawing.Size(0, 17); + this.labelVersion.Name = "labelVersion"; + this.labelVersion.Size = new System.Drawing.Size(408, 17); + this.labelVersion.TabIndex = 0; + this.labelVersion.Text = "Versione"; + this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // labelCopyright + // + this.labelCopyright.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelCopyright.Location = new System.Drawing.Point(6, 52); + this.labelCopyright.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0); + this.labelCopyright.MaximumSize = new System.Drawing.Size(0, 17); + this.labelCopyright.Name = "labelCopyright"; + this.labelCopyright.Size = new System.Drawing.Size(408, 17); + this.labelCopyright.TabIndex = 21; + this.labelCopyright.Text = "Copyright"; + this.labelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // labelCompanyName + // + this.labelCompanyName.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelCompanyName.Location = new System.Drawing.Point(6, 78); + this.labelCompanyName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0); + this.labelCompanyName.MaximumSize = new System.Drawing.Size(0, 17); + this.labelCompanyName.Name = "labelCompanyName"; + this.labelCompanyName.Size = new System.Drawing.Size(408, 17); + this.labelCompanyName.TabIndex = 22; + this.labelCompanyName.Text = "Nome società"; + this.labelCompanyName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // textBoxDescription + // + this.textBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxDescription.Location = new System.Drawing.Point(6, 107); + this.textBoxDescription.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3); + this.textBoxDescription.Multiline = true; + this.textBoxDescription.Name = "textBoxDescription"; + this.textBoxDescription.ReadOnly = true; + this.textBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.textBoxDescription.Size = new System.Drawing.Size(408, 126); + this.textBoxDescription.TabIndex = 23; + this.textBoxDescription.TabStop = false; + this.textBoxDescription.Text = "Descrizione"; + // + // okButton + // + this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.okButton.Location = new System.Drawing.Point(339, 239); + this.okButton.Name = "okButton"; + this.okButton.Size = new System.Drawing.Size(75, 23); + this.okButton.TabIndex = 24; + this.okButton.Text = "&OK"; + // + // About + // + this.AcceptButton = this.okButton; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(435, 283); + this.Controls.Add(this.tableLayoutPanel); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "About"; + this.Padding = new System.Windows.Forms.Padding(9); + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "About"; + this.tableLayoutPanel.ResumeLayout(false); + this.tableLayoutPanel.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel; + private System.Windows.Forms.Label labelProductName; + private System.Windows.Forms.Label labelVersion; + private System.Windows.Forms.Label labelCopyright; + private System.Windows.Forms.Label labelCompanyName; + private System.Windows.Forms.TextBox textBoxDescription; + private System.Windows.Forms.Button okButton; + } +} diff --git a/Vichingo455 Settings/About.cs b/Vichingo455 Settings/About.cs new file mode 100644 index 0000000..18a9067 --- /dev/null +++ b/Vichingo455 Settings/About.cs @@ -0,0 +1,105 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Linq; +using System.Reflection; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Vichingo455_Settings +{ + partial class About : Form + { + public About() + { + InitializeComponent(); + this.Text = String.Format("About {0}", AssemblyTitle); + this.labelProductName.Text = AssemblyProduct; + this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion); + this.labelCopyright.Text = AssemblyCopyright; + this.labelCompanyName.Text = AssemblyCompany; + this.textBoxDescription.Text = AssemblyDescription; + } + + #region Funzioni di accesso attributo assembly + + public string AssemblyTitle + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false); + if (attributes.Length > 0) + { + AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0]; + if (titleAttribute.Title != "") + { + return titleAttribute.Title; + } + } + return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase); + } + } + + public string AssemblyVersion + { + get + { + return Assembly.GetExecutingAssembly().GetName().Version.ToString(); + } + } + + public string AssemblyDescription + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false); + if (attributes.Length == 0) + { + return ""; + } + return ((AssemblyDescriptionAttribute)attributes[0]).Description; + } + } + + public string AssemblyProduct + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute), false); + if (attributes.Length == 0) + { + return ""; + } + return ((AssemblyProductAttribute)attributes[0]).Product; + } + } + + public string AssemblyCopyright + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); + if (attributes.Length == 0) + { + return ""; + } + return ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + } + } + + public string AssemblyCompany + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false); + if (attributes.Length == 0) + { + return ""; + } + return ((AssemblyCompanyAttribute)attributes[0]).Company; + } + } + #endregion + } +} diff --git a/Vichingo455 Settings/About.resx b/Vichingo455 Settings/About.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Vichingo455 Settings/About.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Vichingo455 Settings/App.config b/Vichingo455 Settings/App.config new file mode 100644 index 0000000..8324aa6 --- /dev/null +++ b/Vichingo455 Settings/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Vichingo455 Settings/Form1.Designer.cs b/Vichingo455 Settings/Form1.Designer.cs new file mode 100644 index 0000000..d7405fe --- /dev/null +++ b/Vichingo455 Settings/Form1.Designer.cs @@ -0,0 +1,197 @@ +namespace Vichingo455_Settings +{ + partial class Form1 + { + /// + /// Variabile di progettazione necessaria. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Pulire le risorse in uso. + /// + /// ha valore true se le risorse gestite devono essere eliminate, false in caso contrario. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Codice generato da Progettazione Windows Form + + /// + /// Metodo necessario per il supporto della finestra di progettazione. Non modificare + /// il contenuto del metodo con l'editor di codice. + /// + private void InitializeComponent() + { + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.registry = new System.Windows.Forms.CheckBox(); + this.checkBox1 = new System.Windows.Forms.CheckBox(); + this.runAsSystemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.runToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.fileExplorerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.registryEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.commandPromptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.commandPromptToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.menuStrip1.SuspendLayout(); + this.groupBox1.SuspendLayout(); + this.SuspendLayout(); + // + // menuStrip1 + // + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fileToolStripMenuItem, + this.toolStripMenuItem1}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Size = new System.Drawing.Size(800, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.runToolStripMenuItem, + this.runAsSystemToolStripMenuItem}); + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fileToolStripMenuItem.Text = "File"; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.checkBox1); + this.groupBox1.Controls.Add(this.registry); + this.groupBox1.Location = new System.Drawing.Point(12, 27); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(299, 180); + this.groupBox1.TabIndex = 1; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Common malware resolutions"; + // + // registry + // + this.registry.AutoSize = true; + this.registry.Location = new System.Drawing.Point(6, 19); + this.registry.Name = "registry"; + this.registry.Size = new System.Drawing.Size(130, 17); + this.registry.TabIndex = 0; + this.registry.Text = "Enable Registry Editor"; + this.registry.UseVisualStyleBackColor = true; + // + // checkBox1 + // + this.checkBox1.AutoSize = true; + this.checkBox1.Location = new System.Drawing.Point(6, 42); + this.checkBox1.Name = "checkBox1"; + this.checkBox1.Size = new System.Drawing.Size(145, 17); + this.checkBox1.TabIndex = 1; + this.checkBox1.Text = "Enable Command Prompt"; + this.checkBox1.UseVisualStyleBackColor = true; + // + // runAsSystemToolStripMenuItem + // + this.runAsSystemToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.commandPromptToolStripMenuItem1}); + this.runAsSystemToolStripMenuItem.Name = "runAsSystemToolStripMenuItem"; + this.runAsSystemToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.runAsSystemToolStripMenuItem.Text = "Run as System"; + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.aboutToolStripMenuItem}); + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(24, 20); + this.toolStripMenuItem1.Text = "?"; + // + // aboutToolStripMenuItem + // + this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; + this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.aboutToolStripMenuItem.Text = "About"; + this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click); + // + // runToolStripMenuItem + // + this.runToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fileExplorerToolStripMenuItem, + this.registryEditorToolStripMenuItem, + this.commandPromptToolStripMenuItem}); + this.runToolStripMenuItem.Name = "runToolStripMenuItem"; + this.runToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.runToolStripMenuItem.Text = "Run"; + this.runToolStripMenuItem.Click += new System.EventHandler(this.runToolStripMenuItem_Click); + // + // fileExplorerToolStripMenuItem + // + this.fileExplorerToolStripMenuItem.Name = "fileExplorerToolStripMenuItem"; + this.fileExplorerToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.fileExplorerToolStripMenuItem.Text = "File Explorer"; + this.fileExplorerToolStripMenuItem.Click += new System.EventHandler(this.fileExplorerToolStripMenuItem_Click); + // + // registryEditorToolStripMenuItem + // + this.registryEditorToolStripMenuItem.Name = "registryEditorToolStripMenuItem"; + this.registryEditorToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.registryEditorToolStripMenuItem.Text = "Registry Editor"; + this.registryEditorToolStripMenuItem.Click += new System.EventHandler(this.registryEditorToolStripMenuItem_Click); + // + // commandPromptToolStripMenuItem + // + this.commandPromptToolStripMenuItem.Name = "commandPromptToolStripMenuItem"; + this.commandPromptToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.commandPromptToolStripMenuItem.Text = "Command Prompt"; + // + // commandPromptToolStripMenuItem1 + // + this.commandPromptToolStripMenuItem1.Name = "commandPromptToolStripMenuItem1"; + this.commandPromptToolStripMenuItem1.Size = new System.Drawing.Size(180, 22); + this.commandPromptToolStripMenuItem1.Text = "Command Prompt"; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 672); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.menuStrip1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MainMenuStrip = this.menuStrip1; + this.MaximizeBox = false; + this.Name = "Form1"; + this.Text = "Vichingo455 Settings"; + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.CheckBox registry; + private System.Windows.Forms.ToolStripMenuItem runAsSystemToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; + private System.Windows.Forms.CheckBox checkBox1; + private System.Windows.Forms.ToolStripMenuItem runToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem fileExplorerToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem registryEditorToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem commandPromptToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem commandPromptToolStripMenuItem1; + } +} + diff --git a/Vichingo455 Settings/Form1.cs b/Vichingo455 Settings/Form1.cs new file mode 100644 index 0000000..13cdbd8 --- /dev/null +++ b/Vichingo455 Settings/Form1.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Diagnostics; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Vichingo455_Settings +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + + private void aboutToolStripMenuItem_Click(object sender, EventArgs e) + { + var dialog = new About(); + dialog.ShowDialog(); + } + + private void runToolStripMenuItem_Click(object sender, EventArgs e) + { + Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.Windows) + @"\explorer.exe", "shell:::{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}"); + } + + private void fileExplorerToolStripMenuItem_Click(object sender, EventArgs e) + { + Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.Windows) + @"\explorer.exe"); + } + + private void registryEditorToolStripMenuItem_Click(object sender, EventArgs e) + { + Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.Windows) + @"\regedit.exe"); + } + } +} diff --git a/Vichingo455 Settings/Form1.resx b/Vichingo455 Settings/Form1.resx new file mode 100644 index 0000000..d5494e3 --- /dev/null +++ b/Vichingo455 Settings/Form1.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/Vichingo455 Settings/Program.cs b/Vichingo455 Settings/Program.cs new file mode 100644 index 0000000..3828504 --- /dev/null +++ b/Vichingo455 Settings/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Vichingo455_Settings +{ + internal static class Program + { + /// + /// Punto di ingresso principale dell'applicazione. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/Vichingo455 Settings/Properties/AssemblyInfo.cs b/Vichingo455 Settings/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..24a9920 --- /dev/null +++ b/Vichingo455 Settings/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Le informazioni generali relative a un assembly sono controllate dal seguente +// set di attributi. Modificare i valori di questi attributi per modificare le informazioni +// associate a un assembly. +[assembly: AssemblyTitle("Vichingo455 Settings")] +[assembly: AssemblyDescription("Change hidden Windows Settings or just fix malware")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Vichingo455")] +[assembly: AssemblyProduct("Vichingo455 Settings")] +[assembly: AssemblyCopyright("Copyright © 2024 Vichingo455")] +[assembly: AssemblyTrademark("Vichingo455 Settings")] +[assembly: AssemblyCulture("")] + +// Se si imposta ComVisible su false, i tipi in questo assembly non saranno visibili +// ai componenti COM. Se è necessario accedere a un tipo in questo assembly da +// COM, impostare su true l'attributo ComVisible per tale tipo. +[assembly: ComVisible(false)] + +// Se il progetto viene esposto a COM, il GUID seguente verrà utilizzato come ID della libreria dei tipi +[assembly: Guid("12f40cd3-2a45-412f-b8f2-a999dddc2604")] + +// Le informazioni sulla versione di un assembly sono costituite dai seguenti quattro valori: +// +// Versione principale +// Versione secondaria +// Numero di build +// Revisione +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: NeutralResourcesLanguage("en")] diff --git a/Vichingo455 Settings/Properties/Resources.Designer.cs b/Vichingo455 Settings/Properties/Resources.Designer.cs new file mode 100644 index 0000000..08cc6cd --- /dev/null +++ b/Vichingo455 Settings/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// Versione runtime:4.0.30319.42000 +// +// Le modifiche apportate a questo file possono causare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace Vichingo455_Settings.Properties +{ + + + /// + /// Classe di risorse fortemente tipizzata per la ricerca di stringhe localizzate e così via. + /// + // Questa classe è stata generata automaticamente dalla classe StronglyTypedResourceBuilder + // tramite uno strumento quale ResGen o Visual Studio. + // Per aggiungere o rimuovere un membro, modificare il file .ResX, quindi eseguire di nuovo ResGen + // con l'opzione /str oppure ricompilare il progetto VS. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Restituisce l'istanza di ResourceManager memorizzata nella cache e usata da questa classe. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Vichingo455_Settings.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Esegue l'override della proprietà CurrentUICulture del thread corrente per tutte + /// le ricerche di risorse che utilizzano questa classe di risorse fortemente tipizzata. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/Vichingo455 Settings/Properties/Resources.resx b/Vichingo455 Settings/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/Vichingo455 Settings/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Vichingo455 Settings/Properties/Settings.Designer.cs b/Vichingo455 Settings/Properties/Settings.Designer.cs new file mode 100644 index 0000000..15154c4 --- /dev/null +++ b/Vichingo455 Settings/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Vichingo455_Settings.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Vichingo455 Settings/Properties/Settings.settings b/Vichingo455 Settings/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/Vichingo455 Settings/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Vichingo455 Settings/Vichingo455 Settings.csproj b/Vichingo455 Settings/Vichingo455 Settings.csproj new file mode 100644 index 0000000..b3efd3f --- /dev/null +++ b/Vichingo455 Settings/Vichingo455 Settings.csproj @@ -0,0 +1,127 @@ + + + + + Debug + AnyCPU + {12F40CD3-2A45-412F-B8F2-A999DDDC2604} + WinExe + Vichingo455_Settings + Vichingo455 Settings + v4.6 + 512 + true + true + + + true + bin\x64\Debug\ + DEBUG;TRACE + full + x64 + 7.3 + prompt + true + + + bin\x64\Release\ + TRACE + true + x64 + 7.3 + prompt + + + true + bin\x86\Debug\ + DEBUG;TRACE + full + x86 + 7.3 + prompt + true + + + bin\x86\Release\ + TRACE + true + x86 + 7.3 + prompt + + + true + bin\ARM64\Debug\ + DEBUG;TRACE + full + ARM64 + 7.3 + prompt + true + + + bin\ARM64\Release\ + TRACE + true + ARM64 + 7.3 + prompt + + + + + + + + + + + + + + + + + Form + + + About.cs + + + Form + + + Form1.cs + + + + + About.cs + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file