예제 #1
0
        public void ShowErrorDialog(string strFile)
        {
            int countTotal = countSuccess + countErrors;

            errorDialog.Message = "The following " + (countErrors == 1 ? "error" : "errors")
                                  + " occured during the batch rename.\n" + countSuccess + " of " + countTotal + " " + strFile
                                  + (countTotal == 1 ? " was" : "s were") + " renamed successfully.";
            errorDialog.AutoSizeColumns();
            errorDialog.ShowDialog();
        }
예제 #2
0
        public void ShowErrorDialog(string strFile)
        {
            int countTotal = countSuccess + countErrors;

            errorDialog.Message = (countErrors == 1 ? "Der folgende Fehler" : "Die folgenden Fehler")
                                  + " traten während der Stapel-Umbenennung auf.\n" + countSuccess + " von " + countTotal + " " + strFile
                                  + (countTotal == 1 ? " wurde" : " wurden") + " erfolgreich umbenannt.";
            errorDialog.AutoSizeColumns();
            errorDialog.ShowDialog();
        }