public partial class Bacon : Form
{
public string userText { get; set; }
public string lorem { get; set; }
public Bacon()
{
InitializeComponent();
lorem = RemoveChar(readLorem.ReadToEnd()).Trim(new char[] { ',', '.', '!' });
userText = "";
}
private void btn_container_Click(object sender, EventArgs e)
{
Container contain_text = new Container();
contain_text.ShowDialog(); // <= смотреть сюда
lorem = contain_text.UserText;
lorem = RemoveChar(contain_text.UserText).Trim(new char[] { ',', '.', '!' });
}
}