2020-11-27 18:51:02 +08:00
|
|
|
using System;
|
2020-12-16 19:12:36 +08:00
|
|
|
using System.Runtime.Serialization;
|
2020-11-27 18:51:02 +08:00
|
|
|
using System.Windows;
|
|
|
|
|
|
|
|
namespace BililiveRecorder.WPF.Pages
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Interaction logic for AdvancedSettingsPage.xaml
|
|
|
|
/// </summary>
|
|
|
|
public partial class AdvancedSettingsPage
|
|
|
|
{
|
|
|
|
public AdvancedSettingsPage()
|
|
|
|
{
|
2021-01-01 14:46:27 +08:00
|
|
|
this.InitializeComponent();
|
2020-11-27 18:51:02 +08:00
|
|
|
}
|
2020-12-16 19:12:36 +08:00
|
|
|
|
|
|
|
private void Crash_Click(object sender, RoutedEventArgs e)
|
|
|
|
{
|
|
|
|
throw new TestException("test crash triggered");
|
|
|
|
}
|
|
|
|
|
|
|
|
public class TestException : Exception
|
|
|
|
{
|
|
|
|
public TestException() { }
|
|
|
|
public TestException(string message) : base(message) { }
|
|
|
|
public TestException(string message, Exception innerException) : base(message, innerException) { }
|
|
|
|
protected TestException(SerializationInfo info, StreamingContext context) : base(info, context) { }
|
|
|
|
}
|
2020-11-27 18:51:02 +08:00
|
|
|
}
|
|
|
|
}
|