Beispiel #1
0
 private void FormMain_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (useNetworkStorage)
     {
         networkShare.LogoutFromShare(share_server, share_folder);
     }
     AppConfig.Instance.EndUserGateOperation();
 }
Beispiel #2
0
 private void FormMain_FormClosing(object sender, FormClosingEventArgs e)
 {
     Cursor = Cursors.WaitCursor;
     StopIO();
     if (useNetworkShare)
     {
         networkShare.LogoutFromShare(share_server, share_folder);
     }
     timer.Stop();
     Cursor = Cursors.Default;
 }