summaryrefslogtreecommitdiff
path: root/grapher/MessageDialog.cs
blob: 0e153f8d26632dcaf18eea9b1c3214241756ff0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
        }

    }
}