Changeset 7403
- Timestamp:
- 01/24/12 13:49:23 (13 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/HeuristicLab.Clients.Hive.CloudManager-3.3.csproj
r7339 r7403 100 100 <DependentUpon>CloudResourcesView.cs</DependentUpon> 101 101 </Compile> 102 <Compile Include="Views\DeploymentView.cs"> 103 <SubType>UserControl</SubType> 104 </Compile> 105 <Compile Include="Views\DeploymentView.Designer.cs"> 106 <DependentUpon>DeploymentView.cs</DependentUpon> 107 </Compile> 102 108 <Compile Include="Views\HiveCloudManagerView.cs"> 103 109 <SubType>UserControl</SubType> … … 105 111 <Compile Include="Views\HiveCloudManagerView.Designer.cs"> 106 112 <DependentUpon>HiveCloudManagerView.cs</DependentUpon> 113 </Compile> 114 <Compile Include="Views\HostedServiceView.cs"> 115 <SubType>UserControl</SubType> 116 </Compile> 117 <Compile Include="Views\HostedServiceView.Designer.cs"> 118 <DependentUpon>HostedServiceView.cs</DependentUpon> 107 119 </Compile> 108 120 <Compile Include="Views\SubscriptionView.cs"> … … 185 197 <DependentUpon>CloudResourcesView.cs</DependentUpon> 186 198 </EmbeddedResource> 199 <EmbeddedResource Include="Views\DeploymentView.resx"> 200 <DependentUpon>DeploymentView.cs</DependentUpon> 201 </EmbeddedResource> 187 202 <EmbeddedResource Include="Views\HiveCloudManagerView.resx"> 188 203 <DependentUpon>HiveCloudManagerView.cs</DependentUpon> 204 </EmbeddedResource> 205 <EmbeddedResource Include="Views\HostedServiceView.resx"> 206 <DependentUpon>HostedServiceView.cs</DependentUpon> 189 207 </EmbeddedResource> 190 208 <EmbeddedResource Include="Views\SubscriptionView.resx"> -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Views/CloudResourcesView.Designer.cs
r7389 r7403 23 23 this.treeCloudResources = new System.Windows.Forms.TreeView(); 24 24 this.imageListCloudResources = new System.Windows.Forms.ImageList(this.components); 25 this.subscriptionView = new HeuristicLab.Clients.Hive.CloudManager.Views.SubscriptionView(); 25 this.gbDetails = new System.Windows.Forms.GroupBox(); 26 this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); 26 27 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); 27 28 this.splitContainer1.Panel1.SuspendLayout(); 28 29 this.splitContainer1.Panel2.SuspendLayout(); 29 30 this.splitContainer1.SuspendLayout(); 31 this.gbDetails.SuspendLayout(); 30 32 this.SuspendLayout(); 31 33 // … … 47 49 // splitContainer1.Panel2 48 50 // 49 this.splitContainer1.Panel2.Controls.Add(this. subscriptionView);51 this.splitContainer1.Panel2.Controls.Add(this.gbDetails); 50 52 this.splitContainer1.Size = new System.Drawing.Size(804, 497); 51 53 this.splitContainer1.SplitterDistance = 275; … … 119 121 this.imageListCloudResources.TransparentColor = System.Drawing.Color.Transparent; 120 122 // 121 // subscriptionView123 // gbDetails 122 124 // 123 this.subscriptionView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 125 this.gbDetails.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 126 | System.Windows.Forms.AnchorStyles.Left) 124 127 | System.Windows.Forms.AnchorStyles.Right))); 125 this.subscriptionView.Caption = "SubscriptionView"; 126 this.subscriptionView.Content = null; 127 this.subscriptionView.Location = new System.Drawing.Point(6, 34); 128 this.subscriptionView.Name = "subscriptionView"; 129 this.subscriptionView.ReadOnly = false; 130 this.subscriptionView.Size = new System.Drawing.Size(516, 207); 131 this.subscriptionView.TabIndex = 0; 128 this.gbDetails.Controls.Add(this.viewHost); 129 this.gbDetails.Location = new System.Drawing.Point(4, 34); 130 this.gbDetails.Name = "gbDetails"; 131 this.gbDetails.Size = new System.Drawing.Size(518, 460); 132 this.gbDetails.TabIndex = 1; 133 this.gbDetails.TabStop = false; 134 this.gbDetails.Text = "Details"; 135 // 136 // viewHost 137 // 138 this.viewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 139 | System.Windows.Forms.AnchorStyles.Left) 140 | System.Windows.Forms.AnchorStyles.Right))); 141 this.viewHost.Caption = "View"; 142 this.viewHost.Content = null; 143 this.viewHost.Enabled = false; 144 this.viewHost.Location = new System.Drawing.Point(6, 12); 145 this.viewHost.Name = "viewHost"; 146 this.viewHost.ReadOnly = false; 147 this.viewHost.Size = new System.Drawing.Size(506, 442); 148 this.viewHost.TabIndex = 0; 149 this.viewHost.ViewsLabelVisible = true; 150 this.viewHost.ViewType = null; 132 151 // 133 152 // CloudResourcesView … … 143 162 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); 144 163 this.splitContainer1.ResumeLayout(false); 164 this.gbDetails.ResumeLayout(false); 145 165 this.ResumeLayout(false); 146 166 … … 157 177 private System.Windows.Forms.Label lblRefresh; 158 178 private System.Windows.Forms.ImageList imageListCloudResources; 159 private SubscriptionView subscriptionView; 179 private System.Windows.Forms.GroupBox gbDetails; 180 private MainForm.WindowsForms.ViewHost viewHost; 160 181 } 161 182 } -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Views/CloudResourcesView.cs
r7389 r7403 99 99 SetEnabledStateOfControls(); 100 100 if (Content == null) { 101 subscriptionView.Content = null;101 viewHost.Content = null; 102 102 treeCloudResources.Nodes.Clear(); 103 103 } else { … … 112 112 113 113 foreach (HostedService s in HostedServices) { 114 if (s.Subscription Id== sub.SubscriptionID) {114 if (s.Subscription.SubscriptionID == sub.SubscriptionID) { 115 115 TreeNode nodeServ = new TreeNode(); 116 116 nodeServ.Tag = s; … … 207 207 208 208 private void treeCloudResources_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e) { 209 if (e.Node.Tag is Subscription) { 210 subscriptionView.Visible = true; 211 subscriptionView.Content = (Subscription)e.Node.Tag; 212 } else { 213 subscriptionView.Visible = false; 214 215 } 209 viewHost.Content = (IContent)e.Node.Tag; 216 210 } 217 211 } -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Views/HostedServiceView.Designer.cs
r7390 r7403 40 40 this.txtServiceName.Location = new System.Drawing.Point(86, 3); 41 41 this.txtServiceName.Name = "txtServiceName"; 42 this.txtServiceName.ReadOnly = true; 42 43 this.txtServiceName.Size = new System.Drawing.Size(348, 20); 43 44 this.txtServiceName.TabIndex = 0; … … 76 77 this.txtUrl.Location = new System.Drawing.Point(86, 30); 77 78 this.txtUrl.Name = "txtUrl"; 79 this.txtUrl.ReadOnly = true; 78 80 this.txtUrl.Size = new System.Drawing.Size(348, 20); 79 81 this.txtUrl.TabIndex = 4; … … 85 87 this.txtLocation.Location = new System.Drawing.Point(86, 57); 86 88 this.txtLocation.Name = "txtLocation"; 89 this.txtLocation.ReadOnly = true; 87 90 this.txtLocation.Size = new System.Drawing.Size(348, 20); 88 91 this.txtLocation.TabIndex = 5; … … 103 106 this.txtCoresUsed.Location = new System.Drawing.Point(86, 83); 104 107 this.txtCoresUsed.Name = "txtCoresUsed"; 108 this.txtCoresUsed.ReadOnly = true; 105 109 this.txtCoresUsed.Size = new System.Drawing.Size(348, 20); 106 110 this.txtCoresUsed.TabIndex = 7;
Note: See TracChangeset
for help on using the changeset viewer.