private void btMerge_Click(object sender, RoutedEventArgs e) { if (InputCheck.Mergable(tbMp3Path.Text, tbMp3Path2.Text, tbNewFileName.Text, tbDestinationPath.Text)) { string[] Mps3Paths = new string[] { tbMp3Path.Text, tbMp3Path2.Text }; string NewMp3 = tbDestinationPath.Text + "\\" + InputCheck.CreateMp3Format(tbNewFileName.Text); Mp3Editor.Mp3Concat(Mps3Paths, NewMp3); System.Windows.MessageBox.Show("The merging was successfull."); ResetWindow(); } else { System.Windows.MessageBox.Show("Please fill in everything."); } }