5 Commits

Author SHA1 Message Date
Martin Barker
d8ca0f01ca Updated form design a little to make it cleaner and fix a bug for ignore not changing 2023-02-21 22:53:16 +00:00
Martin Barker (Keatran)
edddd01a21 Merge pull request #3 from barkermn01/SelectedStreamers
Updated Ignore form to be a little cleaner, and hyperlinks now work.
2023-02-21 22:35:20 +00:00
Martin Barker (Keatran)
a5ef763617 Merge pull request #2 from barkermn01/SelectedStreamers
Selected streamers
2023-02-21 21:27:27 +00:00
Martin Barker (Keatran)
ab758cd85f Update Readme.md 2023-01-30 14:49:18 +00:00
Martin Barker (Keatran)
ed3a2bb5b9 Update Readme.md 2023-01-30 14:48:28 +00:00
3 changed files with 20 additions and 6 deletions

View File

@@ -1,9 +1,23 @@
# Twitch Notify
## Not affiliated with Twitch or Amazon
Please note that currently this is a BETA as such it does not add it's self to windows start up if you wish to add this to start up for now you can just create a shortcut to the `Twitch Notify.exe` in the directory `C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup`,
This will be fixed when this project moves out of Beta only.
## Installation
Twitch Notify Requires [.NET 6 Desktop Runtime](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-6.0.13-windows-x64-installer).
## How to use
**How to Exit:**
To exit you will have a Notification Icon / Tray icon where you can quit the application.
![Showing windows Notification Icon Area also known as the Tray Area](https://user-images.githubusercontent.com/37368/215226270-52d596d5-7811-4389-a761-3aabad7da360.png)
**What it looks like:**
![Example of the Notification](https://user-images.githubusercontent.com/37368/215226419-0ec644f1-bd2b-498f-93ed-a48acd3c824c.png)
## Development

View File

@@ -29,7 +29,7 @@
Grid.Column="1"
Grid.RowSpan="1" Grid.Row="3"
CanUserResizeColumns="False"
x:Name="dgrdIgnore" ItemsSource="{Binding StreamersToIgnore}" SelectionChanged="dgrdIgnore_SelectionChanged" AutoGenerateColumns="False" CanUserAddRows="False">
x:Name="dgrdIgnore" ItemsSource="{Binding StreamersToIgnore}" AutoGenerateColumns="False" CanUserAddRows="False">
<DataGrid.Columns>
<DataGridCheckBoxColumn Header="Ignore" Binding="{Binding IsIgnored}" IsReadOnly="False" Width="50">
</DataGridCheckBoxColumn>
@@ -42,6 +42,11 @@
</DataGridHyperlinkColumn.ElementStyle>
</DataGridHyperlinkColumn>
</DataGrid.Columns>
<DataGrid.Resources>
<SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}"
Color="#FFF"/>
<SolidColorBrush Color="#000" x:Key="{x:Static SystemColors.HighlightTextBrushKey}" />
</DataGrid.Resources>
</DataGrid>
<Button Content="Close" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Right" Width="100" Grid.Row="5" Click="CloseBtn_Click" />
<TextBlock Grid.Column="1" Grid.Row="1" TextWrapping="Wrap" Text="Changes to the ignore list are automatically saved." VerticalAlignment="Top"/>

View File

@@ -25,11 +25,6 @@ namespace TwitchDesktopNotifications
this.Close();
}
private void dgrdIgnore_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
Dispatcher.BeginInvoke(DispatcherPriority.Render, new Action(() => dgrdIgnore.UnselectAll()));
}
private void HyperLink_Click(object sender, RoutedEventArgs e)
{
string link = ((Hyperlink)e.OriginalSource).NavigateUri.OriginalString;