Private
Public Access
Added a new error detail window constructor
This commit is contained in:
1 parent
b7143172f3
commit
ef9b2ec9c5
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -48,7 +48,7 @@
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "ErrorDetailWindow";
|
||||
this.Text = "ErrorDetailWindow";
|
||||
this.Text = "Error Details";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
|
||||
@@ -13,5 +13,10 @@ namespace Advanced_Software_Engineering {
|
||||
public ErrorDetailWindow() {
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public ErrorDetailWindow(string errorText) {
|
||||
InitializeComponent();
|
||||
textBox1.Text = errorText;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user