static void Main() { ProgramBase.Start(); FormMainTransTG formMain = null; try { formMain = new FormMainTransTG(); } catch (Exception e) { Logging.Logg().Exception(e, "!Ошибка! запуска приложения.", Logging.INDEX_MESSAGE.NOT_SET); } if (!(formMain == null)) { Application.Run(formMain); } else { ; } ProgramBase.Exit(); }
static void Main() { ASUTP.Helper.ProgramBase.Start(ASUTP.Logging.LOG_MODE.FILE_EXE, true); FormMainTransTG formMain = null; try { formMain = new FormMainTransTG(); } catch (Exception e) { ASUTP.Logging.Logg().Exception(e, "!Ошибка! запуска приложения." , ASUTP.Logging.INDEX_MESSAGE.NOT_SET); } if (!(formMain == null)) { Application.Run(formMain); } else { ; } ASUTP.Helper.ProgramBase.Exit(); }