Chain ExceptionBox ctors
This commit is contained in:
parent
15c5cd516c
commit
10ac846256
|
@ -6,13 +6,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
public partial class ExceptionBox : Form
|
||||
{
|
||||
public ExceptionBox(Exception ex)
|
||||
{
|
||||
InitializeComponent();
|
||||
txtException.Text = ex.ToString();
|
||||
timer1.Start();
|
||||
}
|
||||
|
||||
public ExceptionBox(string str)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
@ -20,6 +13,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
timer1.Start();
|
||||
}
|
||||
|
||||
public ExceptionBox(Exception ex): this(ex.ToString()) {}
|
||||
|
||||
private void btnCopy_Click(object sender, EventArgs e)
|
||||
{
|
||||
DoCopy();
|
||||
|
|
Loading…
Reference in New Issue