Ejemplo n.º 1
0
 private void Compose_Message(object sender, RoutedEventArgs e)
 {
     currentwindow = this;
     currentwindow.Hide();
     composemessage = new ComposeMessage(email, password, currentwindow);
     composemessage.Show();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// When Open are Delete button is clicked for each mail.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Open_Message(object sender, RoutedEventArgs e)
 {
     currentwindow = this;
     currentwindow.Hide();
     openmessage = new OpenMessage(email, password, username, currentwindow, ((Button)sender).Tag.ToString());
     openmessage.Show();
 }