diff options
| author | Jacob Palecki <[email protected]> | 2021-01-20 00:42:24 -0800 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2021-01-20 00:42:24 -0800 |
| commit | 77b4c7876918cac82494ec8fc15a22fdab5cf714 (patch) | |
| tree | 66b2c7d86cecf0846c3b5cdaa69c6991858ed931 /grapher/MessageDialog.cs | |
| parent | Remove debug statement (diff) | |
| parent | show custom dialog on bad input (#63) (diff) | |
| download | rawaccel-77b4c7876918cac82494ec8fc15a22fdab5cf714.tar.xz rawaccel-77b4c7876918cac82494ec8fc15a22fdab5cf714.zip | |
merge with master builds
Diffstat (limited to 'grapher/MessageDialog.cs')
| -rw-r--r-- | grapher/MessageDialog.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/grapher/MessageDialog.cs b/grapher/MessageDialog.cs new file mode 100644 index 0000000..0e153f8 --- /dev/null +++ b/grapher/MessageDialog.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace grapher +{ + public partial class MessageDialog : Form + { + public MessageDialog(string message, string title = "") + { + InitializeComponent(); + Icon = Icon.ExtractAssociatedIcon(Application.ExecutablePath); + Text = title; + messageLabel.Text = message; + } + + } +} |