private void inputTransBtn_Click(object sender, EventArgs e)
 {
     InputTranslationFileDialog       = new OpenFileDialog();
     InputTranslationFileDialog.Title = "Browse for input translation file";
     if (InputTranslationFileDialog.ShowDialog() == DialogResult.OK)
     {
         var fileName = InputTranslationFileDialog.FileName;
         InputTranslation.LoadFile(fileName);
         inputTransTextBox.Text        = fileName;
         InputTranslationFileDirectory = Path.GetDirectoryName(fileName);
     }
 }
        private void targetTransBtn_Click(object sender, EventArgs e)
        {
            TargetTranslationFileDialog       = new OpenFileDialog();
            TargetTranslationFileDialog.Title = "Browse for target translation file";

            if (!string.IsNullOrEmpty(TargetTranslationFileDirectory))
            {
                TargetTranslationFileDialog.InitialDirectory = TargetTranslationFileDirectory;
            }

            if (TargetTranslationFileDialog.ShowDialog() == DialogResult.OK)
            {
                var fileName = TargetTranslationFileDialog.FileName;
                TargetTranslation.LoadFile(fileName);
                targetTransTextBox.Text        = fileName;
                TargetTranslationFileDirectory = Path.GetDirectoryName(fileName);
            }
        }