private void btnRefresh_Click(object sender, RoutedEventArgs e) //Действие происходит при клике по кнопке Refresh { secondWindow sW = new secondWindow(); sW.Show(); this.Close(); }
private void btnFirst_Click(object sender, RoutedEventArgs e) { secondWindow sW = new secondWindow(); sW.Show(); this.Close(); }