-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI Changes (MahApps MetroUI) , Library Updates, Complete Overhaul
Migrated to MahApps MetroUI Framework Compiled and updated LibreHardwareMonitor library Moved methods and functions to their own classes Moved and added all default hardcoded resources to Resources.resx More small changes here and there etc ... Bumped to v3.0.0
- Loading branch information
1 parent
fb06967
commit d4bd13f
Showing
29 changed files
with
1,504 additions
and
633 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.30011.22 | ||
VisualStudioVersion = 16.0.30114.105 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MiToolz", "MiToolz\MiToolz.csproj", "{3F694233-1AD2-47C5-9F9A-44D5A3B37178}" | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MiToolz", "MiToolz\MiToolz.csproj", "{09405820-5162-4AFE-882B-7052CF1381F4}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{3F694233-1AD2-47C5-9F9A-44D5A3B37178}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{3F694233-1AD2-47C5-9F9A-44D5A3B37178}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{3F694233-1AD2-47C5-9F9A-44D5A3B37178}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{3F694233-1AD2-47C5-9F9A-44D5A3B37178}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{09405820-5162-4AFE-882B-7052CF1381F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{09405820-5162-4AFE-882B-7052CF1381F4}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{09405820-5162-4AFE-882B-7052CF1381F4}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{09405820-5162-4AFE-882B-7052CF1381F4}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {E4D2769B-7641-403B-B274-795E0D63DE62} | ||
SolutionGuid = {6DA30A5A-EFFE-4E16-9389-F4D062193CCF} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,24 @@ | ||
<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:System="clr-namespace:System;assembly=mscorlib" x:Class="MiToolz.App" | ||
xmlns:system="clr-namespace:System;assembly=mscorlib" | ||
x:Class="MiToolz.App" | ||
StartupUri="MainWindow.xaml"> | ||
<Application.Resources> | ||
<System:String x:Key="VersionNo" xml:space="preserve"> MiToolz v2.8.4 </System:String> | ||
<System:String x:Key="VersionDate" xml:space="preserve"> Build Date : 26-05-2020 </System:String> | ||
<System:Double x:Key="StandardWindowHeight">290</System:Double> | ||
<System:Double x:Key="StandardWindowWidth">394</System:Double> | ||
<System:Double x:Key="ExtendedWindowWidth">608</System:Double> | ||
<Style x:Key="MyButton" TargetType="Button"> | ||
<Setter Property="OverridesDefaultStyle" Value="True" /> | ||
<Setter Property="Cursor" Value="Hand" /> | ||
<Setter Property="Template"> | ||
<Setter.Value> | ||
<ControlTemplate TargetType="Button"> | ||
<Border Name="border" BorderThickness="0" BorderBrush="Black" Background="{TemplateBinding Background}"> | ||
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" /> | ||
</Border> | ||
<ControlTemplate.Triggers> | ||
<Trigger Property="IsMouseOver" Value="True"> | ||
<Setter Property="Opacity" Value="0.4" /> | ||
</Trigger> | ||
</ControlTemplate.Triggers> | ||
</ControlTemplate> | ||
</Setter.Value> | ||
</Setter> | ||
</Style> | ||
<ResourceDictionary> | ||
<ResourceDictionary.MergedDictionaries> | ||
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Themes/Dark.Blue.xaml" /> | ||
<ResourceDictionary> | ||
<ResourceDictionary.MergedDictionaries> | ||
<!-- MahApps.Metro resource dictionaries. Make sure that all file names are Case Sensitive! --> | ||
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" /> | ||
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" /> | ||
</ResourceDictionary.MergedDictionaries> | ||
</ResourceDictionary> | ||
</ResourceDictionary.MergedDictionaries> | ||
<system:String x:Key="VersionNo" | ||
xml:space="preserve"> MiToolz v3.0.0 </system:String> | ||
<system:String x:Key="VersionDate" | ||
xml:space="preserve"> Build Date : 03-06-2020 </system:String> | ||
</ResourceDictionary> | ||
</Application.Resources> | ||
</Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
using System.Windows; | ||
|
||
namespace MiToolz | ||
namespace MiToolz | ||
{ | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : Application | ||
public partial class App | ||
{ | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
using System.Windows.Forms; | ||
|
||
namespace MiToolz | ||
{ | ||
internal static class KeyManager | ||
{ | ||
private static string ControlKey() | ||
{ | ||
return "^"; | ||
} | ||
|
||
private static string ShiftKey() | ||
{ | ||
return "+"; | ||
} | ||
|
||
private static string AltKey() | ||
{ | ||
return "%"; | ||
} | ||
|
||
internal static void HotKeySender(string keyPressModifier, string keyPress) | ||
{ | ||
var keyPressCombo = ""; | ||
|
||
if (keyPress != "--") | ||
{ | ||
if (keyPressModifier == "--") | ||
{ | ||
keyPressCombo = "{" + keyPress + "}"; | ||
} | ||
if (keyPressModifier != "--") | ||
{ | ||
if (keyPressModifier == "Ctrl") | ||
{ | ||
keyPressModifier = ControlKey(); | ||
} | ||
if (keyPressModifier == "Shft") | ||
{ | ||
keyPressModifier = ShiftKey(); | ||
} | ||
if (keyPressModifier == "Alt") | ||
{ | ||
keyPressModifier = AltKey(); | ||
} | ||
keyPressCombo = "(" + keyPressModifier + "{" + keyPress + "}" + ")"; | ||
} | ||
} | ||
SendKeys.SendWait(keyPressCombo); | ||
} | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.