예제 #1
0
 /// <summary>
 ///
 /// </summary>
 public void UnLoad()
 {
     mHelper.Logout();
     CurrentDatabase = string.Empty;
     Databases       = new List <string>();
     IsConnected     = false;
     OnPropertyChanged("ConnectString");
     CommandManager.InvalidateRequerySuggested();
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 protected override void ClosedProcess()
 {
     try
     {
         if (mHelper != null)
         {
             mHelper.Logout();
         }
     }
     catch
     {
     }
     base.ClosedProcess();
 }