Пример #1
0
        private void composeEmailButton_Click(object sender, EventArgs e)
        {
            if (se == null)
            {
                se = new SendEmailForm(this);
            }

            se.Show();
            this.Hide();
        }
Пример #2
0
 //-----------------------------------------------------------------------------------
 private void replyButton_Click(object sender, EventArgs e)
 {
     //foreach (DataGridViewRow row in dataGridView.Rows)
     //  {
     if (this.dataGridView.SelectedRows.Count == 1)
     {
         string from = this.dataGridView.SelectedRows[0].Cells[1].Value.ToString();
         this.Hide();
         SendEmailForm se = new SendEmailForm(this, from);
         se.Show();
     }
     // }
 }