private void replyButton_Click(object sender, EventArgs e) { write_mail wmf = new write_mail(email.reply, "Re:" + Text); wmf.Owner = this; wmf.MdiParent = MdiParent; wmf.Show(); }
private void writeMailToolStripMenuItem_Click(object sender, EventArgs e) { if (accForm.tmpUsername == "" || accForm.tmpUsername == "Guest") { return; } write_mail wmf = new write_mail(); wmf.Owner = (Form)this; wmf.MdiParent = this; wmf.Show(); }