- Timestamp:
- 03/06/12 00:22:49 (13 years ago)
- Location:
- branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/ClientViews
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/ClientViews/AdminClientView.Designer.cs
r7555 r7557 1 namespace HeuristicLab.Clients.Access {1 namespace HeuristicLab.Clients.Access.Views { 2 2 partial class AdminClientView { 3 3 /// <summary> -
branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/ClientViews/AdminClientView.cs
r7555 r7557 22 22 using HeuristicLab.MainForm; 23 23 24 namespace HeuristicLab.Clients.Access {24 namespace HeuristicLab.Clients.Access.Views { 25 25 [View("Extended Client View")] 26 26 [Content(typeof(Client), false)] -
branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/ClientViews/ClientInformationDialog.Designer.cs
r7555 r7557 1 namespace HeuristicLab.Clients.Access {1 namespace HeuristicLab.Clients.Access.Views { 2 2 partial class ClientInformationDialog { 3 3 /// <summary> … … 24 24 /// </summary> 25 25 private void InitializeComponent() { 26 this.clientView = new HeuristicLab.Clients.Access. ClientView();26 this.clientView = new HeuristicLab.Clients.Access.Views.ClientView(); 27 27 this.SuspendLayout(); 28 28 // -
branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/ClientViews/ClientInformationDialog.cs
r7555 r7557 22 22 using System.Windows.Forms; 23 23 24 namespace HeuristicLab.Clients.Access {24 namespace HeuristicLab.Clients.Access.Views { 25 25 public partial class ClientInformationDialog : Form { 26 26 public ClientInformationDialog() { -
branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/ClientViews/ClientRegistrationDialog.Designer.cs
r7555 r7557 1 namespace HeuristicLab.Clients.Access {1 namespace HeuristicLab.Clients.Access.Views { 2 2 partial class ClientRegistrationDialog { 3 3 /// <summary> … … 26 26 this.btnCollectInformation = new System.Windows.Forms.Button(); 27 27 this.richTextBox1 = new System.Windows.Forms.RichTextBox(); 28 this.clientView = new HeuristicLab.Clients.Access.ClientView();29 28 this.progressBar = new System.Windows.Forms.ProgressBar(); 30 29 this.btnRegisterClient = new System.Windows.Forms.Button(); 31 30 this.btnCancel = new System.Windows.Forms.Button(); 31 this.clientView = new HeuristicLab.Clients.Access.Views.ClientView(); 32 32 this.SuspendLayout(); 33 33 // 34 34 // btnCollectInformation 35 35 // 36 this.btnCollectInformation.Location = new System.Drawing.Point(12, 114); 36 this.btnCollectInformation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 37 this.btnCollectInformation.Location = new System.Drawing.Point(12, 220); 37 38 this.btnCollectInformation.Name = "btnCollectInformation"; 38 39 this.btnCollectInformation.Size = new System.Drawing.Size(111, 23); 39 40 this.btnCollectInformation.TabIndex = 1; 40 this.btnCollectInformation.Text = "Collect information";41 this.btnCollectInformation.Text = "Collect Information"; 41 42 this.btnCollectInformation.UseVisualStyleBackColor = true; 42 43 this.btnCollectInformation.Click += new System.EventHandler(this.btnCollectInformation_Click); … … 44 45 // richTextBox1 45 46 // 46 this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 47 | System.Windows.Forms.AnchorStyles.Right))); 47 this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 48 | System.Windows.Forms.AnchorStyles.Left) 49 | System.Windows.Forms.AnchorStyles.Right))); 50 this.richTextBox1.BackColor = System.Drawing.SystemColors.Control; 51 this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; 48 52 this.richTextBox1.Location = new System.Drawing.Point(12, 12); 49 53 this.richTextBox1.Name = "richTextBox1"; 50 this.richTextBox1.Size = new System.Drawing.Size( 638, 96);54 this.richTextBox1.Size = new System.Drawing.Size(769, 202); 51 55 this.richTextBox1.TabIndex = 2; 52 56 this.richTextBox1.Text = ""; 53 // 54 // clientView 55 // 56 this.clientView.Caption = "Client View"; 57 this.clientView.Content = null; 58 this.clientView.Location = new System.Drawing.Point(12, 143); 59 this.clientView.Name = "clientView"; 60 this.clientView.ReadOnly = false; 61 this.clientView.Size = new System.Drawing.Size(638, 340); 62 this.clientView.TabIndex = 3; 57 this.richTextBox1.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.richTextBox1_LinkClicked); 63 58 // 64 59 // progressBar 65 60 // 66 this.progressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles. Top | System.Windows.Forms.AnchorStyles.Left)67 68 this.progressBar.Location = new System.Drawing.Point(1 30, 114);61 this.progressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 62 | System.Windows.Forms.AnchorStyles.Right))); 63 this.progressBar.Location = new System.Drawing.Point(129, 220); 69 64 this.progressBar.Name = "progressBar"; 70 this.progressBar.Size = new System.Drawing.Size( 520, 23);65 this.progressBar.Size = new System.Drawing.Size(651, 23); 71 66 this.progressBar.Style = System.Windows.Forms.ProgressBarStyle.Continuous; 72 67 this.progressBar.TabIndex = 4; … … 75 70 // btnRegisterClient 76 71 // 72 this.btnRegisterClient.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 77 73 this.btnRegisterClient.Enabled = false; 78 this.btnRegisterClient.Location = new System.Drawing.Point(12, 5 16);74 this.btnRegisterClient.Location = new System.Drawing.Point(12, 595); 79 75 this.btnRegisterClient.Name = "btnRegisterClient"; 80 76 this.btnRegisterClient.Size = new System.Drawing.Size(88, 23); … … 86 82 // btnCancel 87 83 // 84 this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 88 85 this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; 89 this.btnCancel.Location = new System.Drawing.Point( 574, 516);86 this.btnCancel.Location = new System.Drawing.Point(705, 595); 90 87 this.btnCancel.Name = "btnCancel"; 91 88 this.btnCancel.Size = new System.Drawing.Size(75, 23); … … 94 91 this.btnCancel.UseVisualStyleBackColor = true; 95 92 // 93 // clientView 94 // 95 this.clientView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 96 | System.Windows.Forms.AnchorStyles.Right))); 97 this.clientView.Caption = "Client View"; 98 this.clientView.Content = null; 99 this.clientView.Location = new System.Drawing.Point(11, 249); 100 this.clientView.Name = "clientView"; 101 this.clientView.ReadOnly = false; 102 this.clientView.Size = new System.Drawing.Size(769, 340); 103 this.clientView.TabIndex = 3; 104 // 96 105 // ClientRegistrationDialog 97 106 // … … 99 108 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 100 109 this.CancelButton = this.btnCancel; 101 this.ClientSize = new System.Drawing.Size( 662, 552);110 this.ClientSize = new System.Drawing.Size(793, 631); 102 111 this.Controls.Add(this.btnCancel); 103 112 this.Controls.Add(this.btnRegisterClient); -
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 } -
branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/ClientViews/ClientView.Designer.cs
r7555 r7557 1 namespace HeuristicLab.Clients.Access {1 namespace HeuristicLab.Clients.Access.Views { 2 2 partial class ClientView { 3 3 /// <summary> -
branches/ClientUserManagement/HeuristicLab.Clients.Access.Views/3.3/ClientViews/ClientView.cs
r7555 r7557 23 23 using HeuristicLab.MainForm; 24 24 25 namespace HeuristicLab.Clients.Access {25 namespace HeuristicLab.Clients.Access.Views { 26 26 [View("Client View")] 27 27 [Content(typeof(Client), true)]
Note: See TracChangeset
for help on using the changeset viewer.