Example #1
0
 private void frmMain_FormClosing(object sender, FormClosingEventArgs e)
 {
     // cleanup resources on exit
     applogger.Dispose();
     sdklogger.Dispose();
 }
Example #2
0
 private void GraphAPI_FormClosing(object sender, FormClosingEventArgs e)
 {
     // cleanup
     logger.Dispose();
     httpClient.Dispose();
 }