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 DatabaseComparison { public partial class Form2 : Form { public Form2() { InitializeComponent(); } public void ShowDialog(string errorText) { richTextBox1.Text = errorText; this.ShowDialog(); } private void Form2_Load(object sender, EventArgs e) { } } }