internal static void deleteFromDBResult(string msg, bool dbResult) { AppFuncs.WriteLogTraceMessage($" - {msg}: {(dbResult ? "SUCCESS" : "NOT success")}"); }
internal static void saveToDBResult(bool dbResult) { AppFuncs.WriteLogTraceMessage(" - save data to DB: " + (dbResult? "SUCCESS" : "NOT success")); }
internal static void closeEditForm(string formName, CloseReason reason) { AppFuncs.WriteLogTraceMessage($" - close edit form '{formName}': {reason.ToString()}"); }
internal static void dialogCloseResult(string formName, DialogResult result) { AppFuncs.WriteLogTraceMessage($" - dialog result '{formName}': {result.ToString()}"); }
internal static void openEditForm(string formName, bool isNew) { string modeName = (isNew) ? "NEW" : "EDIT"; AppFuncs.WriteLogTraceMessage($" - open edit form '{formName}', mode {modeName}"); }