public SendEmailForm(ReadEmailForm re, string from) { mode = 1; InitializeComponent(); this.re = re; toTextBox.Text = from; toTextBox.Enabled = false; }
private void readEmailButton_Click(object sender, EventArgs e) { if (re == null) { re = new ReadEmailForm(this); } re.Show(); this.Hide(); }