Changeset 7557 for branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/ClientViews/ClientRegistrationDialog.cs
- Timestamp:
- 03/06/12 00:22:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/ClientViews/ClientRegistrationDialog.cs
r7555 r7557 21 21 22 22 using System; 23 using System.IO; 24 using System.Reflection; 23 25 using System.Threading.Tasks; 24 26 using System.Windows.Forms; 25 27 26 namespace HeuristicLab.Clients.Access {28 namespace HeuristicLab.Clients.Access.Views { 27 29 public partial class ClientRegistrationDialog : Form { 28 30 public ClientRegistrationDialog() { 29 31 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) { } 30 38 } 31 39 … … 99 107 } 100 108 } 109 110 private void richTextBox1_LinkClicked(object sender, LinkClickedEventArgs e) { 111 System.Diagnostics.Process.Start(e.LinkText); 112 } 101 113 } 102 114 }
Note: See TracChangeset
for help on using the changeset viewer.