-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7efafb
commit 5cbbfda
Showing
5 changed files
with
56 additions
and
1 deletion.
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,18 @@ | ||
<Window x:Class="MuteMyMic.About" | ||
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" | ||
xmlns:local="clr-namespace:MuteMyMic" | ||
mc:Ignorable="d" | ||
Title="About" Height="170" Width="300" Background="#2D2D30" ResizeMode="NoResize" | ||
WindowStyle="None"> | ||
<Grid> | ||
<Label Content="MuteMyMic" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Foreground="White"/> | ||
<Label Content="Author: ExtraConcentratedJuice" HorizontalAlignment="Left" Margin="10,36,0,0" VerticalAlignment="Top" Width="176" Foreground="White"/> | ||
<Label Content="Released under the MIT License." HorizontalAlignment="Left" Margin="10,62,0,0" VerticalAlignment="Top" Foreground="White"/> | ||
<Label Content="If you paid for this software, demand a refund." HorizontalAlignment="Left" Margin="10,88,0,0" VerticalAlignment="Top" Foreground="White" Width="259"/> | ||
<Button Content="Done" HorizontalAlignment="Left" Margin="237,128,0,0" VerticalAlignment="Top" Height="28" Width="53" Click="OnDoneButtonClicked"/> | ||
|
||
</Grid> | ||
</Window> |
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,31 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using System.Windows; | ||
using System.Windows.Controls; | ||
using System.Windows.Data; | ||
using System.Windows.Documents; | ||
using System.Windows.Input; | ||
using System.Windows.Media; | ||
using System.Windows.Media.Imaging; | ||
using System.Windows.Shapes; | ||
|
||
namespace MuteMyMic | ||
{ | ||
/// <summary> | ||
/// Interaction logic for About.xaml | ||
/// </summary> | ||
public partial class About : Window | ||
{ | ||
public About() | ||
{ | ||
InitializeComponent(); | ||
MouseDown += (_, e) => { if (e.ChangedButton == MouseButton.Left) DragMove(); }; | ||
} | ||
|
||
public void OnDoneButtonClicked(object _, EventArgs e) | ||
{ | ||
Close(); | ||
} | ||
} | ||
} |
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
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