DIT_FileNameReader/ErrorFrm.cs
2020-03-17 01:58:05 +01:00

33 lines
898 B
C#

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 DIT_FileNameReader
{
public partial class ErrorFrm : Form
{
public ErrorFrm(string errormsg)
{
InitializeComponent();
ErrorBox.Text = errormsg;
this.Text = "DIT - Hibaüzenet";
}
private void ErrorFrm_Load(object sender, EventArgs e)
{
this.ControlBox = true;
this.MaximizeBox = false;
this.AutoSize = false;
this.AutoSizeMode = AutoSizeMode.GrowAndShrink;
this.MinimumSize = new System.Drawing.Size(this.Width, this.Height);
this.MaximumSize = new System.Drawing.Size(this.Width, this.Height);
}
}
}