private void toolStripButtonEditServer_Click ( object sender, EventArgs e )
            {
               try
               {
                  EditServiceDialog dialog ;
                  
                  
                  dialog = new EditServiceDialog ( ) ;

                  dialog.Settings    = AddInUtils.Clone <ServerSettings> ( WorkstationService.Settings ) ;
                  dialog.ServiceName = ServiceManager.ServiceName ;
                  dialog.Mode        = EditServiceDialog.EditMode.EditServer ;
                  
                  if ( dialog.ShowDialog ( this ) == DialogResult.OK )
                  {
                     WorkstationService.Settings = dialog.Settings ;
                     
                     LEADStorageServiceAELabel.Text = WorkstationService.Settings.AETitle ;
                     IpAddressLabel.Text            = WorkstationService.Settings.IpAddress ;
                     ServerPortLabel.Text           = WorkstationService.Settings.Port.ToString ( ) ;
                     
                     OnWorkstationServiceChanged ( this, new WorkstationServiceEventArgs ( WorkstationService.ServiceName, WorkstationService ) ) ;
                  }
               }
               catch ( Exception exception )
               {
                  System.Diagnostics.Debug.Assert ( false, exception.Message ) ;
                                 
                  ThreadSafeMessager.ShowError (  exception.Message ) ;
               }
            }
            void AddServerToolStripButton_Click ( object sender, EventArgs e )
            {
               try
               {
                  EditServiceDialog dialog ;


                  dialog = new EditServiceDialog ( ) ;
                  
                  dialog.Settings    = GetSettings ( ) ;
                  dialog.ServiceName = ServiceManager.ServiceName ;
                  dialog.Mode        = EditServiceDialog.EditMode.AddServer ;
                  
                  if  ( dialog.ShowDialog(this) == DialogResult.OK )
                  {
                     try
                     {
                        WorkstationService = ServiceManager.InstallWorkstationService ( dialog.Settings, 
                                                                                        WorkstationAddInsDll.ToArray ( ) ) ;

                        if ( null != WorkstationService ) 
                        {
                           OnWorkstationServiceCreated ( this, new WorkstationServiceEventArgs ( ServiceManager.ServiceName, WorkstationService ) ) ;
                        }
                     }
                     catch (Exception ex)
                     {
                        ThreadSafeMessager.ShowError (  ex.Message );
                     }
                  }
               }
               catch ( Exception exception ) 
               {
                  System.Diagnostics.Debug.Assert ( false, exception.Message ) ;
                                 
                  ThreadSafeMessager.ShowError (  exception.Message ) ;
               }
            }