From 498db1e7cd9bf5e05fa75ecb3d0d2cd28dfed5bc Mon Sep 17 00:00:00 2001 From: Anders Forsgren Date: Fri, 8 Jan 2021 22:51:45 +0100 Subject: [PATCH] Initial commit --- .gitignore | 362 +++++++++++++++++++++++++++++++ App.config | 6 + ComboBoxItem.cs | 42 ++++ GitInfo.txt | 1 + Hook.cs | 66 ++++++ KeyMute.csproj | 36 +++ KeyMute.sln | 25 +++ MuteForm.Designer.cs | 78 +++++++ MuteForm.cs | 70 ++++++ MuteForm.resx | 120 ++++++++++ Muter.cs | 118 ++++++++++ Program.cs | 62 ++++++ Properties/AssemblyInfo.cs | 24 ++ Properties/Resources.Designer.cs | 73 +++++++ Properties/Resources.resx | 124 +++++++++++ Properties/Settings.Designer.cs | 29 +++ Properties/Settings.settings | 7 + Resources/AppIcon.ico | Bin 0 -> 45451 bytes 18 files changed, 1243 insertions(+) create mode 100644 .gitignore create mode 100644 App.config create mode 100644 ComboBoxItem.cs create mode 100644 GitInfo.txt create mode 100644 Hook.cs create mode 100644 KeyMute.csproj create mode 100644 KeyMute.sln create mode 100644 MuteForm.Designer.cs create mode 100644 MuteForm.cs create mode 100644 MuteForm.resx create mode 100644 Muter.cs create mode 100644 Program.cs create mode 100644 Properties/AssemblyInfo.cs create mode 100644 Properties/Resources.Designer.cs create mode 100644 Properties/Resources.resx create mode 100644 Properties/Settings.Designer.cs create mode 100644 Properties/Settings.settings create mode 100644 Resources/AppIcon.ico diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ee5385 --- /dev/null +++ b/.gitignore @@ -0,0 +1,362 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd diff --git a/App.config b/App.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/ComboBoxItem.cs b/ComboBoxItem.cs new file mode 100644 index 0000000..9d5cbbf --- /dev/null +++ b/ComboBoxItem.cs @@ -0,0 +1,42 @@ +using System; + +namespace KeyMute +{ + public sealed class ComboBoxItem : IEquatable + { + public string Text { get; } + public object Value { get; } + + public ComboBoxItem(object value, string text) + { + this.Value = value; + this.Text = text; + } + + public bool Equals(ComboBoxItem other) + { + if (other == null) + return false; + return Equals(Value, other.Value); + } + + public override bool Equals(object obj) + { + return Equals(obj as ComboBoxItem); + } + + public override int GetHashCode() + { + if (Value == null) + return 0; + return Value.GetHashCode(); + } + + public override string ToString() + { + return Text; + } + + + } +} diff --git a/GitInfo.txt b/GitInfo.txt new file mode 100644 index 0000000..6e8bf73 --- /dev/null +++ b/GitInfo.txt @@ -0,0 +1 @@ +0.1.0 diff --git a/Hook.cs b/Hook.cs new file mode 100644 index 0000000..5a2fc2c --- /dev/null +++ b/Hook.cs @@ -0,0 +1,66 @@ +using System; +using System.Diagnostics; +using System.Runtime.InteropServices; + +namespace KeyMute +{ + public sealed class GlobalKeyHook : IDisposable + { + private delegate IntPtr LowLevelKeyboardProc(int nCode, IntPtr wParam, IntPtr lParam); + + private const int WH_KEYBOARD_LL = 13; + private const int WM_KEYDOWN = 0x0100; + private readonly LowLevelKeyboardProc proc; + private IntPtr hook = IntPtr.Zero; + private readonly Action userCallback; + + public GlobalKeyHook(Action callback) + { + this.userCallback = callback; + proc = HookCallback; + this.hook = SetHook(proc); + } + + public void Dispose() + { + var p = hook; + if (p != IntPtr.Zero) + UnhookWindowsHookEx(p); + hook = IntPtr.Zero; + } + + private IntPtr SetHook(LowLevelKeyboardProc proc) + { + using (Process process = Process.GetCurrentProcess()) + { + using (ProcessModule mainModule = process.MainModule) + { + return SetWindowsHookEx(WH_KEYBOARD_LL, proc, GetModuleHandle(mainModule.ModuleName), 0); + } + } + } + + private IntPtr HookCallback(int nCode, IntPtr wParam, IntPtr lParam) + { + if (nCode >= 0 && wParam == (IntPtr)WM_KEYDOWN) + { + int vkCode = Marshal.ReadInt32(lParam); + userCallback?.Invoke(vkCode); + } + return CallNextHookEx(hook, nCode, wParam, lParam); + } + + [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] + private static extern IntPtr SetWindowsHookEx(int idHook, LowLevelKeyboardProc lpfn, IntPtr hMod, uint dwThreadId); + + [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] + [return: MarshalAs(UnmanagedType.Bool)] + private static extern bool UnhookWindowsHookEx(IntPtr hhk); + + [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] + private static extern IntPtr CallNextHookEx(IntPtr hhk, int nCode, IntPtr wParam, IntPtr lParam); + + [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] + private static extern IntPtr GetModuleHandle(string lpModuleName); + } +} diff --git a/KeyMute.csproj b/KeyMute.csproj new file mode 100644 index 0000000..0631d16 --- /dev/null +++ b/KeyMute.csproj @@ -0,0 +1,36 @@ + + + Debug + bin\$(Configuration)\ + AnyCPU + WinExe + KeyMute + KeyMute + net461 + true + 4 + AnyCPU + false + + + true + full + false + DEBUG;TRACE + prompt + + + pdbonly + true + TRACE + prompt + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + \ No newline at end of file diff --git a/KeyMute.sln b/KeyMute.sln new file mode 100644 index 0000000..6c27dda --- /dev/null +++ b/KeyMute.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30804.86 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "KeyMute", "KeyMute.csproj", "{A73771CC-3624-4424-8D9F-00191CA9F89D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A73771CC-3624-4424-8D9F-00191CA9F89D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A73771CC-3624-4424-8D9F-00191CA9F89D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A73771CC-3624-4424-8D9F-00191CA9F89D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A73771CC-3624-4424-8D9F-00191CA9F89D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {E6FC7219-EA21-4AEA-8E0A-8F4AABBBB062} + EndGlobalSection +EndGlobal diff --git a/MuteForm.Designer.cs b/MuteForm.Designer.cs new file mode 100644 index 0000000..90a4330 --- /dev/null +++ b/MuteForm.Designer.cs @@ -0,0 +1,78 @@ + +namespace KeyMute +{ + partial class MuteForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.deviceCombo = new System.Windows.Forms.ComboBox(); + this.label1 = new System.Windows.Forms.Label(); + this.pausedCheckbox = new System.Windows.Forms.CheckBox(); + this.SuspendLayout(); + // + // deviceCombo + // + this.deviceCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.deviceCombo.FormattingEnabled = true; + this.deviceCombo.Location = new System.Drawing.Point(94, 12); + this.deviceCombo.Name = "deviceCombo"; + this.deviceCombo.Size = new System.Drawing.Size(319, 21); + this.deviceCombo.TabIndex = 0; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(12, 15); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(41, 13); + this.label1.TabIndex = 1; + this.label1.Text = "Device"; + // + // pausedCheckbox + // + this.pausedCheckbox.AutoSize = true; + this.pausedCheckbox.Location = new System.Drawing.Point(94, 39); + this.pausedCheckbox.Name = "pausedCheckbox"; + this.pausedCheckbox.Size = new System.Drawing.Size(62, 17); + this.pausedCheckbox.TabIndex = 5; + this.pausedCheckbox.Text = "Paused"; + this.pausedCheckbox.UseVisualStyleBackColor = true; + // + // MuteForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(421, 92); + this.Controls.Add(this.pausedCheckbox); + this.Controls.Add(this.label1); + this.Controls.Add(this.deviceCombo); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "MuteForm"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.ComboBox deviceCombo; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.CheckBox pausedCheckbox; + } +} + diff --git a/MuteForm.cs b/MuteForm.cs new file mode 100644 index 0000000..96ab131 --- /dev/null +++ b/MuteForm.cs @@ -0,0 +1,70 @@ +using AudioSwitcher.AudioApi.CoreAudio; +using System; +using System.ComponentModel; +using System.Linq; +using System.Windows.Forms; + +namespace KeyMute +{ + + public partial class MuteForm : Form + { + private readonly GlobalKeyHook keyHook; + private readonly CoreAudioController audioController; + private readonly CoreAudioDevice[] captureDevices; + + private readonly Muter muter; + + public MuteForm() + { + InitializeComponent(); + this.keyHook = new GlobalKeyHook(k => GlobalKeyPress(k)); + this.audioController = new CoreAudioController(); + this.captureDevices = audioController.GetCaptureDevices().ToArray(); + CoreAudioDevice initialMuteDevice = captureDevices.FirstOrDefault(d => d.IsDefaultCommunicationsDevice) ?? captureDevices.FirstOrDefault(d => !d.IsMuted) ?? captureDevices.FirstOrDefault(); + if (initialMuteDevice == null) + { + MessageBox.Show("No capture device found"); + Application.Exit(); + return; + } + Text = ProgramInfo.NameAndVersion; + deviceCombo.Items.AddRange(captureDevices.Select(x => new ComboBoxItem(x, x.FullName)).ToArray()); + pausedCheckbox.CheckedChanged += (s, e) => muter.Pause(pausedCheckbox.Checked); + deviceCombo.SelectedIndexChanged += (s, e) => muter.SetDevice(((ComboBoxItem)deviceCombo.SelectedItem).Value as CoreAudioDevice); + this.muter = new Muter(); + this.muter.MutedChanged += (s, e) => InvokeIfRequired(() => Text = muter.DeviceMuted ? $"{ProgramInfo.NameAndVersion}*" : $"{ProgramInfo.NameAndVersion}"); + deviceCombo.SelectedItem = new ComboBoxItem(initialMuteDevice, initialMuteDevice.FullName); + } + + protected override void OnClosing(CancelEventArgs e) + { + Hide(); + e.Cancel = true; + } + + private void InvokeIfRequired(Action a) + { + if (this.InvokeRequired) + BeginInvoke(a); + else + a(); + } + + public void GlobalKeyPress(int k) + { + muter.MuteEvent(); + } + + protected override void Dispose(bool disposing) + { + if (disposing) + { + muter.Stop(); + components?.Dispose(); + keyHook?.Dispose(); + } + base.Dispose(disposing); + } + } +} diff --git a/MuteForm.resx b/MuteForm.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/MuteForm.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/Muter.cs b/Muter.cs new file mode 100644 index 0000000..c7de6e2 --- /dev/null +++ b/Muter.cs @@ -0,0 +1,118 @@ +using AudioSwitcher.AudioApi.CoreAudio; +using System; +using System.Diagnostics; +using System.Threading; + +namespace KeyMute +{ + public class Muter + { + private const int IntervalMs = 50; + private const float UnmuteTimeMs = 500.0f; + + private bool initiallyMuted; + private Timer timer; + private CoreAudioDevice muteDevice; + private DateTime muteTime; + + public event EventHandler MutedChanged; + + public Muter() + { + } + + public void SetDevice(CoreAudioDevice newMuteDevice) + { + if (newMuteDevice != muteDevice) + { + Stop(); + if (newMuteDevice != null) + { + this.muteDevice = newMuteDevice; + Start(); + } + } + } + + public void MuteEvent() + { + if (muteDevice == null || IsPaused) + return; + + muteTime = DateTime.Now; + if (!muteDevice.IsMuted) + { + Debug.WriteLine($"Muting device at {DateTime.Now}"); + Mute(true); + } + } + + public bool DeviceMuted => this.muteDevice != null && muteDevice.IsMuted; + + public bool IsPaused { get; private set; } + + public void Pause(bool pause) + { + if (this.IsPaused == pause) + return; + IsPaused = pause; + if (!pause) + { + Mute(false); + } + } + + private void Start() + { + if (muteDevice == null) + return; + + this.initiallyMuted = muteDevice.IsMuted; + this.timer = new Timer(new TimerCallback(TimerElapsed), null, 0, IntervalMs); + } + + public void Stop() + { + muteTime = default; + if (muteDevice == null) + return; + + timer?.Dispose(); + muteDevice.Mute(initiallyMuted); + muteDevice = null; + } + + private void TimerElapsed(object state) + { + if (IsPaused) + { + return; + } + if (muteTime.Ticks == 0L) + { + return; + } + else if ((DateTime.Now - muteTime).TotalMilliseconds < UnmuteTimeMs) + { + return; + } + else + { + Debug.WriteLine($"Unmuting at dt={(DateTime.Now - muteTime).TotalMilliseconds:F1}ms)"); + muteTime = default; + Mute(false); + } + } + + private bool Mute(bool mute) + { + if (muteDevice == null) + return false; + + bool result = muteDevice.Mute(mute); + + MutedChanged?.Invoke(this, EventArgs.Empty); + return result; + } + } +} diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..c7d749c --- /dev/null +++ b/Program.cs @@ -0,0 +1,62 @@ +using AudioSwitcher.AudioApi.CoreAudio; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace KeyMute +{ + public static class ProgramInfo + { + public static string Name => System.Reflection.Assembly.GetEntryAssembly().GetName().Name; + public static string Version => $"{ThisAssembly.Git.SemVer.Major}.{ThisAssembly.Git.SemVer.Minor}.{ThisAssembly.Git.SemVer.Patch}.{ThisAssembly.Git.Commits}"; + public static string NameAndVersion => $"{Name} v{Version}"; + } + + static class Program + { + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new MuteAppContext()); + } + + private sealed class MuteAppContext : ApplicationContext + { + private readonly NotifyIcon trayIcon; + private readonly MuteForm muteForm; + + public MuteAppContext() + { + muteForm = new MuteForm(); + trayIcon = new NotifyIcon() + { + Icon = Properties.Resources.AppIcon, + ContextMenu = new ContextMenu(new MenuItem[] { + new MenuItem("Preferences", (s, e) => Preferences()), + new MenuItem("Exit", (s, e) => Exit()) + }), + Visible = true, + }; + trayIcon.DoubleClick += (s, e) => Preferences(); + trayIcon.Text = ProgramInfo.NameAndVersion; + muteForm.Show(); + } + + private void Preferences() + { + muteForm.Show(); + } + + private void Exit() + { + trayIcon.Visible = false; + muteForm.Close(); + Application.Exit(); + } + } + } +} diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..cba1709 --- /dev/null +++ b/Properties/AssemblyInfo.cs @@ -0,0 +1,24 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("KeyMute")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("KeyMute")] +[assembly: AssemblyCopyright("Copyright © 2021")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +[assembly: AssemblyVersion(ThisAssembly.Git.BaseVersion.Major + "." + ThisAssembly.Git.BaseVersion.Minor + "." + ThisAssembly.Git.BaseVersion.Patch)] +[assembly: AssemblyFileVersion(ThisAssembly.Git.SemVer.Major + "." + ThisAssembly.Git.SemVer.Minor + "." + ThisAssembly.Git.SemVer.Patch)] +[assembly: AssemblyInformationalVersion(ThisAssembly.Git.SemVer.Major + "." + ThisAssembly.Git.SemVer.Minor + "." + ThisAssembly.Git.Commits + "-" + ThisAssembly.Git.Branch + "+" + ThisAssembly.Git.Commit)] \ No newline at end of file diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs new file mode 100644 index 0000000..2d05449 --- /dev/null +++ b/Properties/Resources.Designer.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// 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 KeyMute.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.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() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("KeyMute.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// + internal static System.Drawing.Icon AppIcon { + get { + object obj = ResourceManager.GetObject("AppIcon", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } + } +} diff --git a/Properties/Resources.resx b/Properties/Resources.resx new file mode 100644 index 0000000..a07f796 --- /dev/null +++ b/Properties/Resources.resx @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + ..\Resources\AppIcon.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs new file mode 100644 index 0000000..4f55549 --- /dev/null +++ b/Properties/Settings.Designer.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// 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 KeyMute.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/Properties/Settings.settings b/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Resources/AppIcon.ico b/Resources/AppIcon.ico new file mode 100644 index 0000000000000000000000000000000000000000..8aa98e515dae1fd85d0df9997de54ed10730c400 GIT binary patch literal 45451 zcmeHQ2V4`$_n!>`f)En0Ar=BEVg=8F6(V3ok@NICJOuPq^ps+k6Ubu2j+|I13Z8mm z#S6)ap(yR{&wQA?nR##C`@Xkrc6Vk000U}( z$pk1d+p7bx9~MkZP?Z6~H32vY+c=!6Is<@jbpc?rE9;Au0Vp$o9jp3J(Ewnc5dd5+ z;&XtJ1pudq68bnGyf*-k))4w&9qL&hLg?dw#dH9Ao&{i=t<6McJKc6r33Ku!s~G^I zM46!iiT#T3MX0uN#zYHn?m@TLutIkpH*FjMfB30a%!8PKn)@WXl>lhQp^V*e3ts?0 zyYR_Y<7TdNc>COXarfjdg7=xOn_u;GdOWvZOyu0ZJ9N93MBhk1+ui+;s!IOCNf&-i z-@x3mXrApg|JjqzU*A9cZ2Oqy>JKgYPrf_o$B{Z@GZdq%tW`Zpz4SjgdK?9i(g1~ zw6mLB^6q(NT*RhsuFs=Zo>-~#z3KzCox)ilE6%uUYJB_zZ{;~`?9fbl*eTQL!_Qy8 zemzFTWh-vxIsveHjLC>|16oP9#{-9$b^eFPc>J0i)?F(pZajGU^l72?84hjK#UA(t zw}3a|k*}TGYb_2f(-IUHuW{Hg-YRVFOQiyFi8Rsr{C390JD%XMxkzYzekbE%oF_Q= zHb+%!@!>Kc=xmTQ;1RZ`KPd2J3_bDDO=-W!kOl9gAM=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