Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/06/12 00:22:49 (12 years ago)
Author:
ascheibe
Message:

#1648

  • improved client registration dialog
  • fixed namespaces
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/ClientViews/ClientRegistrationDialog.cs

    r7555 r7557  
    2121
    2222using System;
     23using System.IO;
     24using System.Reflection;
    2325using System.Threading.Tasks;
    2426using System.Windows.Forms;
    2527
    26 namespace HeuristicLab.Clients.Access {
     28namespace HeuristicLab.Clients.Access.Views {
    2729  public partial class ClientRegistrationDialog : Form {
    2830    public ClientRegistrationDialog() {
    2931      InitializeComponent();
     32
     33      try {
     34        using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(typeof(ClientRegistrationDialog), "Documents.ClientRegistrationInfo.rtf"))
     35          richTextBox1.LoadFile(stream, RichTextBoxStreamType.RichText);
     36      }
     37      catch (Exception) { }
    3038    }
    3139
     
    99107      }
    100108    }
     109
     110    private void richTextBox1_LinkClicked(object sender, LinkClickedEventArgs e) {
     111      System.Diagnostics.Process.Start(e.LinkText);
     112    }
    101113  }
    102114}
Note: See TracChangeset for help on using the changeset viewer.