private void btnBack_Click(object sender, EventArgs e) { ViewMessages viewMessages = new ViewMessages(); viewMessages.Show(); Close(); }
private void btnViewMessages_Click(object sender, EventArgs e) { ViewMessages viewMessages = new ViewMessages(); viewMessages.Show(); Hide(); }
/* * * Opens view message window and passes it List of Messages * */ private void btn_viewMessage_Click(object sender, RoutedEventArgs e) { ViewMessages view = new ViewMessages(msgList); view.Show(); }