Exemplo n.º 1
0
 /// <summary>
 /// Initialize instance of <see cref="CredentialsDialog"/> using the editor dialog service <paramref name="service"/>.
 /// </summary>
 /// <param name="service">Editor dialog service to use to display various dialogs.</param>
 public CredentialsDialog(IEditorDialogService service) : this()
 {
     // Setup our dialogs using saved settings.
     Service           = service;
     Host.Text         = StrideEditorSettings.Host.GetValue();
     Port.Value        = StrideEditorSettings.Port.GetValue();
     Username.Text     = StrideEditorSettings.Username.GetValue();
     Password.Password = RemoteFacilities.Decrypt(StrideEditorSettings.Password.GetValue());
     Location.Text     = StrideEditorSettings.Location.GetValue();
 }
Exemplo n.º 2
0
 public AboutPage(IEditorDialogService service)
     : this()
 {
     Service = service;
 }