Beispiel #1
0
 /// <summary>
 /// 폼종료 이벤트
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void FrmSale_FormClosed(object sender, FormClosedEventArgs e)
 {
     try
     {
         ClsDB.CloseDataBase();
     }
     catch (Exception ex)
     {
         ClsLog.WriteLog(ClsLog.LOG_EXCEPTION, System.Reflection.MethodBase.GetCurrentMethod().Name, ex.Message);
     }
 }
Beispiel #2
0
 /// <summary>
 /// 폼시작 이벤트
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void FrmLogin_Load(object sender, EventArgs e)
 {
     try
     {
         ClsDB.OpenDataBase();
     }
     catch (Exception ex)
     {
         ClsLog.WriteLog(ClsLog.LOG_EXCEPTION, System.Reflection.MethodBase.GetCurrentMethod().Name, ex.Message);
     }
 }