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 Publisher { public partial class Logs : Form { public Logs() { InitializeComponent(); } public Logs(string logs) { InitializeComponent(); richTextBox1.Text = logs; } private void button1_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.OK; } } }