Scope: managed applications, mobile applications, and ordinary applications.
endIf, ENDIF, endif, Endif.
SelectionDialog.FullFileName = FileName;
SelectionDialog.Directory = PathName;
SelectionDialog.Title = NStr("en = 'Select a query list file'");
SelectionDialog.Filter = NStr("en = 'Query files (*.sel)|*.sel|All files (*.*)|*.*'");
SelectionDialog.Extension = "sel";
Do not try to align all expressions at the same level throughout the module. It is enough to keep aligned only code that belongs to the same logic block.
3. For compound logical expressions like If…EndIf, format the code in accordance with the Line wrapping guidelines.
If IsNew() Then
If IsNew() = True Then
Response = DoQueryBox(NStr("en = 'The changes are not saved. Do you want save them?'"), QuestionDialogMode.YesNo,, DialogReturnCode.Yes);
If Response = DialogReturnCode.Yes Then
If DoQueryBox(NStr("en = 'The changes are not saved. Do you want to save them?'"), QuestionDialogMode.YesNo,, DialogRetunCode.Yes) = DialogRetunCode.Yes Then