-
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.
Complete initial commit all updated to build v2.6.1
- Loading branch information
1 parent
6355a7d
commit 307dff9
Showing
156 changed files
with
44,851 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.30011.22 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MiToolz", "MiToolz\MiToolz.csproj", "{3F694233-1AD2-47C5-9F9A-44D5A3B37178}" | ||
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 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {E4D2769B-7641-403B-B274-795E0D63DE62} | ||
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> | ||
</startup> | ||
</configuration> |
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,8 @@ | ||
<Application x:Class="MiToolz.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
StartupUri="MainWindow.xaml"> | ||
<Application.Resources> | ||
|
||
</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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.Windows; | ||
|
||
namespace MiToolz | ||
{ | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : 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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
using System.IO; | ||
using System.Reflection; | ||
using System.Runtime.InteropServices; | ||
using System.Text; | ||
|
||
namespace MiToolz | ||
{ | ||
class IniFile | ||
{ | ||
readonly string Path; | ||
readonly string EXE = Assembly.GetExecutingAssembly().GetName().Name; | ||
|
||
[DllImport("kernel32", CharSet = CharSet.Unicode)] | ||
static extern long WritePrivateProfileString(string Section, string Key, string Value, string FilePath); | ||
|
||
[DllImport("kernel32", CharSet = CharSet.Unicode)] | ||
static extern int GetPrivateProfileString(string Section, string Key, string Default, StringBuilder RetVal, int Size, string FilePath); | ||
|
||
public IniFile(string IniPath = null) | ||
{ | ||
Path = new FileInfo(IniPath ?? EXE + ".ini").FullName; | ||
} | ||
|
||
public string Read(string Key, string Section = null) | ||
{ | ||
var RetVal = new StringBuilder(255); | ||
GetPrivateProfileString(Section ?? EXE, Key, "", RetVal, 255, Path); | ||
return RetVal.ToString(); | ||
} | ||
|
||
public void Write(string Key, string Value, string Section = null) | ||
{ | ||
WritePrivateProfileString(Section ?? EXE, Key, Value, Path); | ||
} | ||
|
||
public void DeleteKey(string Key, string Section = null) | ||
{ | ||
Write(Key, null, Section ?? EXE); | ||
} | ||
|
||
public void DeleteSection(string Section = null) | ||
{ | ||
Write(null, null, Section ?? EXE); | ||
} | ||
|
||
public bool KeyExists(string Key, string Section = null) | ||
{ | ||
return Read(Key, Section).Length > 0; | ||
} | ||
} | ||
} |
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,90 @@ | ||
<Window x:Class="MiToolz.MainWindow" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d" | ||
Title="MiToolz" Height="260" Width="394" ResizeMode="NoResize" WindowStartupLocation="CenterScreen"> | ||
<Grid Background="Gray"> | ||
<Button x:Name="Button_Stock" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Width="94" Height="95" Margin="29,29,0,0" Click="Button_SetStock_Click"> | ||
<Button.Background> | ||
<ImageBrush ImageSource="pack://siteoforigin:,,,/Resources/Image_GPU.png" Opacity="0.9"/> | ||
</Button.Background> | ||
</Button> | ||
<Button x:Name="Button_Overclock" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Width="94" Height="95" Margin="139,29,0,0" Click="Button_SetOC_Click"> | ||
<Button.Background> | ||
<ImageBrush ImageSource="pack://siteoforigin:,,,/Resources/Image_GPU.png" Opacity="0.9"/> | ||
</Button.Background> | ||
</Button> | ||
<Button x:Name="Button_Sound" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Width="94" Height="95" Margin="254,29,0,0" Click="Button_OpenSB_Click"> | ||
<Button.Background> | ||
<ImageBrush ImageSource="pack://siteoforigin:,,,/Resources/Image_Audio.png"/> | ||
</Button.Background> | ||
</Button> | ||
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="107" VerticalAlignment="Top" Width="216" Margin="23,23,0,0"/> | ||
<Border CornerRadius="2" BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="14" VerticalAlignment="Top" Width="331" Margin="23,135,0,0"> | ||
<TextBox x:Name="Indicator" HorizontalAlignment="Left" TextWrapping="Wrap" Width="329" IsEnabled="False"/> | ||
</Border> | ||
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="107" VerticalAlignment="Top" Width="106" Margin="248,23,0,0"> | ||
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="95" VerticalAlignment="Top" Width="94" Margin="5,5,0,0"/> | ||
</Border> | ||
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="95" VerticalAlignment="Top" Width="94" Margin="139,29,0,0"/> | ||
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="84" VerticalAlignment="Top" Width="1" Margin="131,35,0,0"/> | ||
<TextBlock x:Name="TextBlock_Stock" HorizontalAlignment="Left" TextWrapping="Wrap" Text="Stock Profile" VerticalAlignment="Top" Margin="29,32,0,0" Width="94" TextAlignment="Center"/> | ||
<TextBlock x:Name="TextBlock_OC" HorizontalAlignment="Left" TextWrapping="Wrap" Text="OC Profile" VerticalAlignment="Top" Margin="139,32,0,0" Width="94" TextAlignment="Center"/> | ||
<TextBlock x:Name="TextBlock_Sound" HorizontalAlignment="Left" TextWrapping="Wrap" Text="SoundBlaster" VerticalAlignment="Top" Margin="254,32,0,0" Width="94" TextAlignment="Center"/> | ||
<Button x:Name="Button_Expand" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Width="18" Height="19" Margin="357,2,0,0" Click="Button_Expand_Click"> | ||
<Button.Background> | ||
<ImageBrush ImageSource="pack://siteoforigin:,,,/Resources/Image_MenuExpand.png"> | ||
</ImageBrush> | ||
</Button.Background> | ||
</Button> | ||
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="151" VerticalAlignment="Top" Width="189" Margin="380,23,0,0"> | ||
<Grid HorizontalAlignment="Left" Height="151" VerticalAlignment="Top" Width="189" Margin="-1"> | ||
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Settings" VerticalAlignment="Top" Margin="30,9,0,0" Width="129" TextAlignment="Center"/> | ||
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Stock Profile" VerticalAlignment="Top" Margin="24,53,0,0" FontSize="11"/> | ||
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="OC Profile" VerticalAlignment="Top" Margin="114,53,0,0" FontSize="11"/> | ||
<ComboBox x:Name="Combo_Stock" HorizontalContentAlignment="Center" HorizontalAlignment="Left" VerticalAlignment="Top" Width="48" Margin="30,73,0,0"> | ||
<ComboBoxItem Content="1"></ComboBoxItem> | ||
<ComboBoxItem Content="2"></ComboBoxItem> | ||
<ComboBoxItem Content="3"></ComboBoxItem> | ||
<ComboBoxItem Content="4"></ComboBoxItem> | ||
<ComboBoxItem Content="5"></ComboBoxItem> | ||
</ComboBox> | ||
<ComboBox x:Name="Combo_OC" HorizontalContentAlignment="Center" HorizontalAlignment="Left" VerticalAlignment="Top" Width="47" Margin="116,73,0,0"> | ||
<ComboBoxItem Content="1"></ComboBoxItem> | ||
<ComboBoxItem Content="2"></ComboBoxItem> | ||
<ComboBoxItem Content="3"></ComboBoxItem> | ||
<ComboBoxItem Content="4"></ComboBoxItem> | ||
<ComboBoxItem Content="5"></ComboBoxItem> | ||
</ComboBox> | ||
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="- MSIAfterburner Profiles -" VerticalAlignment="Top" Margin="0,31,0,0" Width="189" TextAlignment="Center" FontSize="11"/> | ||
<CheckBox x:Name="Checkbox_EnableMonitor" IsChecked="True" Content="Enable Frequency Monitoring" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="16,114,0,0" Width="163" FontSize="10" Height="18" Click="Checkbox_EnableMonitor_Clicked"/> | ||
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text=" ( Needs app restart to take effect ) " VerticalAlignment="Top" Margin="24,127,0,0" Width="155" TextAlignment="Center" FontSize="9" Height="14"/> | ||
</Grid> | ||
</Border> | ||
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="189" Margin="380,179,0,0"> | ||
<TextBlock ToolTip=" Build Date : 03-05-2020 " Text=" MiToolz v2.6.1 " HorizontalAlignment="Left" TextWrapping="Wrap" Width="189" TextAlignment="Center" Margin="-1,0,-1,2" Height="16" VerticalAlignment="Center"/> | ||
</Border> | ||
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="40" VerticalAlignment="Top" Width="1" Margin="477,84,0,0"/> | ||
<Button x:Name="Button_SaveProfiles" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Width="22" Height="22" Margin="541,28,0,0" Click="Button_SaveProfiles_Click"> | ||
<Button.Background> | ||
<ImageBrush ImageSource="pack://siteoforigin:,,,/Resources/Image_SaveIni.png" Opacity="0.75"/> | ||
</Button.Background> | ||
</Button> | ||
<Button x:Name="Button_OpenMSIAB" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Width="22" Height="22" Margin="386,28,0,0" Click="Button_OpenMSIAB_Click"> | ||
<Button.Background> | ||
<ImageBrush ImageSource="pack://siteoforigin:,,,/Resources/Image_MSIab.png" Opacity="0.45"/> | ||
</Button.Background> | ||
</Button> | ||
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="95" VerticalAlignment="Top" Width="94" Margin="29,29,0,0"/> | ||
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="45" VerticalAlignment="Top" Width="331" Margin="23,154,0,0"/> | ||
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="33" VerticalAlignment="Top" Width="319" Margin="29,160,0,0"> | ||
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="15" VerticalAlignment="Top" Width="1" Margin="148,9,0,0"/> | ||
</Border> | ||
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Core Clock:" VerticalAlignment="Top" Margin="49,168,0,0" Width="69" TextAlignment="Center" FontSize="11"/> | ||
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Memory Clock:" VerticalAlignment="Top" Margin="190,168,0,0" Width="74" TextAlignment="Center" FontSize="11"/> | ||
<TextBlock x:Name="ShowCoreMhz" HorizontalAlignment="Left" TextWrapping="Wrap" Text=" ---- " VerticalAlignment="Top" Margin="117,168,0,0" Width="50" TextAlignment="Center" Height="15" FontSize="11" Foreground="White"/> | ||
<TextBlock x:Name="ShowMemMhz" HorizontalAlignment="Left" TextWrapping="Wrap" Text=" ---- " VerticalAlignment="Top" Margin="270,168,0,0" Width="50" TextAlignment="Center" Height="15" FontSize="11" Foreground="White"/> | ||
</Grid> | ||
</Window> |
Oops, something went wrong.