Пример #1
0
 private void WindowLoaded(object sender, EventArgs eventArgs)
 {
     try
     {
         if (CheckSqlServer())
         {
             MainWindowHelper.Initialize();
         }
     }
     catch (Exception ex)
     {
         WindowHelper.HandleError("Failed to handle window loaded", true, ex);
     }
 }
 private void WindowLoaded(object sender, EventArgs eventArgs)
 {
     try
     {
         if (CheckSqlServer())
         {
             MainWindowHelper.Initialize();
         }
     }
     catch (Exception ex)
     {
         HandleError(ex);
     }
 }
Пример #3
0
        private void WindowLoaded(object sender, EventArgs eventArgs)
        {
            try
            {
                if (this.CheckSqlServer())
                {
                    MainWindowHelper.Initialize();
                }

                new Action(this.AnalyticsTracking).BeginInvoke(null, null);
            }
            catch (Exception ex)
            {
                this.HandleError(ex);
            }
        }