﻿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 WinCR {
    public partial class NotifyBox : Form {

        private static NotifyBox box = null;

        public NotifyBox() {
            InitializeComponent();
        }

        public static NotifyBox get() {
            if (box == null)
                box = new NotifyBox();
            return box;
        }

        public void ShowDialog(string message) {
            lblMessage.Text = message;
            base.ShowDialog();
        }

        private void btnOK_Click(object sender, EventArgs e) {
            this.Close();
        }
    }
}
