BatchGuy.App.CreateX264BatchFileForm.IsScreenValidForMkvMerge C# (CSharp) Méthode

IsScreenValidForMkvMerge() private méthode

private IsScreenValidForMkvMerge ( ) : bool
Résultat bool
        private bool IsScreenValidForMkvMerge()
        {
            if (IsMkvMergePathSetInSettings() != true)
            {
                MessageBox.Show("Please go to settings and set the mkvmerge.exe path", "Error occurred", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return false;
            }

            if (_batchGuyEAC3ToSettings.EAC3ToSettings.MKVMergeBatchFilePath == null || _batchGuyEAC3ToSettings.EAC3ToSettings.MKVMergeBatchFilePath == string.Empty)
            {
                MessageBox.Show("Please go to the Create eac3to Batch File Screen and choose an mkvmerge batch file!", "Error occurred", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return false;
            }

            if (_batchGuyEAC3ToSettings.EAC3ToSettings.MKVMergeOutputPath == null || _batchGuyEAC3ToSettings.EAC3ToSettings.MKVMergeOutputPath == string.Empty)
            {
                MessageBox.Show("Please Please go to the Create eac3to Batch File Screen and choose an mkvmerge output path!", "Error occurred", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return false;
            }

            return true;
        }
CreateX264BatchFileForm