Updated a couple of variables for better memory use. Added Support for ignoring specific streamers Moved to using a SingletonFactory for Singlton Classes No Longer Using MessageBox for disconnected message Added better detection for disconnected to stop it poping with other problems Added Window and menu option to open window to manage ignored streamers
31 lines
738 B
C#
31 lines
738 B
C#
using System.Windows;
|
|
using System.Windows.Forms;
|
|
using TwitchDesktopNotifications.Core;
|
|
|
|
namespace TwitchDesktopNotifications
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for ManageIgnores.xaml
|
|
/// </summary>
|
|
public partial class ManageIgnores : Window
|
|
{
|
|
private bool updated = false;
|
|
public ManageIgnores()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
List<UIStreamer> StreamersToIgnore = DataStore.GetInstance().Store.SteamersToIgnore.Streamers;
|
|
|
|
private void CloseBtn_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
this.Close();
|
|
}
|
|
|
|
private void OnChecked(object sender, RoutedEventArgs e)
|
|
{
|
|
updated= true;
|
|
}
|
|
}
|
|
}
|