Esempio n. 1
0
 /// <summary>
 /// Clean up any resources being used.
 /// </summary>
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         ConnectionMgr.closeConnection();
         if (components != null)
         {
             components.Dispose();
         }
     }
     base.Dispose(disposing);
 }
Esempio n. 2
0
 /*************************************************************************
 * The purpose of this method is to close the Oracle connection and exit
 * the application.
 * ***********************************************************************/
 private void btnExit_Click(object sender, System.EventArgs e)
 {
     ConnectionMgr.closeConnection();
     Application.Exit();
 }