Changeset 1087
- Timestamp:
- 01/07/09 16:52:16 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Client.Console
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Console/HiveClientConsole.Designer.cs
r1010 r1087 55 55 this.chProgress = new System.Windows.Forms.ColumnHeader(); 56 56 this.gbCommon = new System.Windows.Forms.GroupBox(); 57 this.pbGraph = new System.Windows.Forms.PictureBox(); 57 58 this.lbJobsAborted = new System.Windows.Forms.Label(); 58 59 this.lbJobdone = new System.Windows.Forms.Label(); … … 86 87 this.lbServerIPCaption = new System.Windows.Forms.Label(); 87 88 this.lbPortCaption = new System.Windows.Forms.Label(); 88 this. pbGraph = new System.Windows.Forms.PictureBox();89 this.btn_clientShutdown = new System.Windows.Forms.Button(); 89 90 this.tcClientConsole.SuspendLayout(); 90 91 this.tpConnection.SuspendLayout(); 91 92 this.gbJobCommon.SuspendLayout(); 92 93 this.gbCommon.SuspendLayout(); 94 ((System.ComponentModel.ISupportInitialize)(this.pbGraph)).BeginInit(); 93 95 this.gbEventLog.SuspendLayout(); 94 96 this.tabPage2.SuspendLayout(); 95 97 this.gbOnlineTime.SuspendLayout(); 96 98 this.gbServerConnection.SuspendLayout(); 97 ((System.ComponentModel.ISupportInitialize)(this.pbGraph)).BeginInit();98 99 this.SuspendLayout(); 99 100 // … … 184 185 this.gbCommon.Text = "Common"; 185 186 // 187 // pbGraph 188 // 189 this.pbGraph.Location = new System.Drawing.Point(292, 19); 190 this.pbGraph.Name = "pbGraph"; 191 this.pbGraph.Size = new System.Drawing.Size(112, 108); 192 this.pbGraph.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 193 this.pbGraph.TabIndex = 21; 194 this.pbGraph.TabStop = false; 195 // 186 196 // lbJobsAborted 187 197 // … … 366 376 this.gbOnlineTime.BackColor = System.Drawing.SystemColors.Control; 367 377 this.gbOnlineTime.Controls.Add(this.label1); 368 this.gbOnlineTime.Location = new System.Drawing.Point(9, 1 17);378 this.gbOnlineTime.Location = new System.Drawing.Point(9, 127); 369 379 this.gbOnlineTime.Name = "gbOnlineTime"; 370 this.gbOnlineTime.Size = new System.Drawing.Size(409, 3 54);380 this.gbOnlineTime.Size = new System.Drawing.Size(409, 344); 371 381 this.gbOnlineTime.TabIndex = 4; 372 382 this.gbOnlineTime.TabStop = false; … … 385 395 // gbServerConnection 386 396 // 397 this.gbServerConnection.Controls.Add(this.btn_clientShutdown); 387 398 this.gbServerConnection.Controls.Add(this.lbStatus); 388 399 this.gbServerConnection.Controls.Add(this.lbStatusCaption); … … 395 406 this.gbServerConnection.Location = new System.Drawing.Point(8, 6); 396 407 this.gbServerConnection.Name = "gbServerConnection"; 397 this.gbServerConnection.Size = new System.Drawing.Size(410, 1 05);408 this.gbServerConnection.Size = new System.Drawing.Size(410, 115); 398 409 this.gbServerConnection.TabIndex = 2; 399 410 this.gbServerConnection.TabStop = false; … … 470 481 this.lbPortCaption.Text = "Port:"; 471 482 // 472 // pbGraph 473 // 474 this.pbGraph.Location = new System.Drawing.Point(292, 19); 475 this.pbGraph.Name = "pbGraph"; 476 this.pbGraph.Size = new System.Drawing.Size(112, 108); 477 this.pbGraph.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; 478 this.pbGraph.TabIndex = 21; 479 this.pbGraph.TabStop = false; 483 // btn_clientShutdown 484 // 485 this.btn_clientShutdown.Location = new System.Drawing.Point(257, 80); 486 this.btn_clientShutdown.Name = "btn_clientShutdown"; 487 this.btn_clientShutdown.Size = new System.Drawing.Size(147, 23); 488 this.btn_clientShutdown.TabIndex = 8; 489 this.btn_clientShutdown.Text = "Shutdown Client"; 490 this.btn_clientShutdown.UseVisualStyleBackColor = true; 491 this.btn_clientShutdown.Click += new System.EventHandler(this.btn_clientShutdown_Click); 480 492 // 481 493 // HiveClientConsole … … 495 507 this.gbCommon.ResumeLayout(false); 496 508 this.gbCommon.PerformLayout(); 509 ((System.ComponentModel.ISupportInitialize)(this.pbGraph)).EndInit(); 497 510 this.gbEventLog.ResumeLayout(false); 498 511 this.tabPage2.ResumeLayout(false); … … 501 514 this.gbServerConnection.ResumeLayout(false); 502 515 this.gbServerConnection.PerformLayout(); 503 ((System.ComponentModel.ISupportInitialize)(this.pbGraph)).EndInit();504 516 this.ResumeLayout(false); 505 517 … … 548 560 private System.Windows.Forms.Label label1; 549 561 private System.Windows.Forms.PictureBox pbGraph; 562 private System.Windows.Forms.Button btn_clientShutdown; 550 563 } 551 564 } -
trunk/sources/HeuristicLab.Hive.Client.Console/HiveClientConsole.cs
r1080 r1087 166 166 done = allProgress / jobs.Length; 167 167 168 myPane.AddPieSlice(done, Color.Green, 0 .1, "");169 myPane.AddPieSlice(1-done, Color.Red, 0 .1, "");168 myPane.AddPieSlice(done, Color.Green, 0, ""); 169 myPane.AddPieSlice(1-done, Color.Red, 0, ""); 170 170 } 171 171 //Hides the slice labels … … 318 318 } 319 319 320 private void btn_clientShutdown_Click(object sender, EventArgs e) { 321 DialogResult res = MessageBox.Show("Do you really want to shutdown the Hive Client?", "Hive Client Console", MessageBoxButtons.YesNo, MessageBoxIcon.Question); 322 if (res == DialogResult.Yes) { 323 cccc.ShutdownClient(); 324 this.Close(); 325 } 326 } 327 320 328 #endregion 329 321 330 } 322 331 } -
trunk/sources/HeuristicLab.Hive.Client.Console/HiveClientConsole.resx
r1002 r1087 127 127 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABS 128 128 CgAAAk1TRnQBSQFMAgEBAgEAAQQBAAEEAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA 129 AwABEAMAAQEBAAEgBgABECoAAUMCAQF0AU kCCQHxAwoB/wFfAgMB1AEgAgEBLCwAAUMCAQF0AUkCCQHx130 Aw oB/wFfAgMB1AEgAgEBLKQAAUcCCgHyAZMBZAEKAf8BvwF9AQoB/wG9AXoBCgH/A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fAB/wILAcwB/wEWAgsB/qAAAUYCAQF9AwsB/wFcAUMBCwH/AX0BXAELAf8BPQEu 168 AQsB/wEWAgsB/gEUAgEBGiQAAUYCAQF9AwsB/wILAV8B/wILAYEB/wILAT8B/wEWAgsB/gEUAgEBGv8A 169 169 kQABQgFNAT4HAAE+AwABKAMAAUADAAEQAwABAQEAAQEFAAGAFwAD/wEAAfwBHwH8AR8EAAHwAQcB8AEH 170 170 BAAB4AEDAeABAwQAAcABAQHAAQEEAAGAAQEBgAEBBAABgAEAAYAFAAGAAQABgAUAAYABAAGABQABgAEA -
trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/Reference.cs
r1002 r1087 353 353 354 354 HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result); 355 356 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/ShutdownClient", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/ShutdownClientResponse")] 357 void ShutdownClient(); 358 359 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/ShutdownClient", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/ShutdownClientResponse")] 360 System.IAsyncResult BeginShutdownClient(System.AsyncCallback callback, object asyncState); 361 362 void EndShutdownClient(System.IAsyncResult result); 355 363 } 356 364 … … 450 458 private System.Threading.SendOrPostCallback onGetCurrentConnectionCompletedDelegate; 451 459 460 private BeginOperationDelegate onBeginShutdownClientDelegate; 461 462 private EndOperationDelegate onEndShutdownClientDelegate; 463 464 private System.Threading.SendOrPostCallback onShutdownClientCompletedDelegate; 465 452 466 public ClientConsoleCommunicatorClient() { 453 467 } … … 478 492 479 493 public event System.EventHandler<GetCurrentConnectionCompletedEventArgs> GetCurrentConnectionCompleted; 494 495 public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> ShutdownClientCompleted; 480 496 481 497 public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons GetStatusInfos() { … … 718 734 base.InvokeAsync(this.onBeginGetCurrentConnectionDelegate, null, this.onEndGetCurrentConnectionDelegate, this.onGetCurrentConnectionCompletedDelegate, userState); 719 735 } 736 737 public void ShutdownClient() { 738 base.Channel.ShutdownClient(); 739 } 740 741 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] 742 public System.IAsyncResult BeginShutdownClient(System.AsyncCallback callback, object asyncState) { 743 return base.Channel.BeginShutdownClient(callback, asyncState); 744 } 745 746 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] 747 public void EndShutdownClient(System.IAsyncResult result) { 748 base.Channel.EndShutdownClient(result); 749 } 750 751 private System.IAsyncResult OnBeginShutdownClient(object[] inValues, System.AsyncCallback callback, object asyncState) { 752 return this.BeginShutdownClient(callback, asyncState); 753 } 754 755 private object[] OnEndShutdownClient(System.IAsyncResult result) { 756 this.EndShutdownClient(result); 757 return null; 758 } 759 760 private void OnShutdownClientCompleted(object state) { 761 if ((this.ShutdownClientCompleted != null)) { 762 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); 763 this.ShutdownClientCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState)); 764 } 765 } 766 767 public void ShutdownClientAsync() { 768 this.ShutdownClientAsync(null); 769 } 770 771 public void ShutdownClientAsync(object userState) { 772 if ((this.onBeginShutdownClientDelegate == null)) { 773 this.onBeginShutdownClientDelegate = new BeginOperationDelegate(this.OnBeginShutdownClient); 774 } 775 if ((this.onEndShutdownClientDelegate == null)) { 776 this.onEndShutdownClientDelegate = new EndOperationDelegate(this.OnEndShutdownClient); 777 } 778 if ((this.onShutdownClientCompletedDelegate == null)) { 779 this.onShutdownClientCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnShutdownClientCompleted); 780 } 781 base.InvokeAsync(this.onBeginShutdownClientDelegate, null, this.onEndShutdownClientDelegate, this.onShutdownClientCompletedDelegate, userState); 782 } 720 783 } 721 784 } -
trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/service.wsdl
r973 r1087 72 72 <wsdl:part name="parameters" element="tns:GetCurrentConnectionResponse" /> 73 73 </wsdl:message> 74 <wsdl:message name="IClientConsoleCommunicator_ShutdownClient_InputMessage"> 75 <wsdl:part name="parameters" element="tns:ShutdownClient" /> 76 </wsdl:message> 77 <wsdl:message name="IClientConsoleCommunicator_ShutdownClient_OutputMessage"> 78 <wsdl:part name="parameters" element="tns:ShutdownClientResponse" /> 79 </wsdl:message> 74 80 <wsdl:portType name="IClientConsoleCommunicator"> 75 81 <wsdl:operation name="GetStatusInfos"> … … 92 98 <wsdl:input wsaw:Action="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnection" message="tns:IClientConsoleCommunicator_GetCurrentConnection_InputMessage" /> 93 99 <wsdl:output wsaw:Action="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnectionResponse" message="tns:IClientConsoleCommunicator_GetCurrentConnection_OutputMessage" /> 100 </wsdl:operation> 101 <wsdl:operation name="ShutdownClient"> 102 <wsdl:input wsaw:Action="http://tempuri.org/IClientConsoleCommunicator/ShutdownClient" message="tns:IClientConsoleCommunicator_ShutdownClient_InputMessage" /> 103 <wsdl:output wsaw:Action="http://tempuri.org/IClientConsoleCommunicator/ShutdownClientResponse" message="tns:IClientConsoleCommunicator_ShutdownClient_OutputMessage" /> 94 104 </wsdl:operation> 95 105 </wsdl:portType> … … 143 153 </wsdl:output> 144 154 </wsdl:operation> 155 <wsdl:operation name="ShutdownClient"> 156 <soap12:operation soapAction="http://tempuri.org/IClientConsoleCommunicator/ShutdownClient" style="document" /> 157 <wsdl:input> 158 <soap12:body use="literal" /> 159 </wsdl:input> 160 <wsdl:output> 161 <soap12:body use="literal" /> 162 </wsdl:output> 163 </wsdl:operation> 145 164 </wsdl:binding> 146 165 <wsdl:service name="ClientConsoleCommunicator"> -
trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/service.xsd
r973 r1087 60 60 </xs:complexType> 61 61 </xs:element> 62 <xs:element name="ShutdownClient"> 63 <xs:complexType> 64 <xs:sequence /> 65 </xs:complexType> 66 </xs:element> 67 <xs:element name="ShutdownClientResponse"> 68 <xs:complexType> 69 <xs:sequence /> 70 </xs:complexType> 71 </xs:element> 62 72 </xs:schema>
Note: See TracChangeset
for help on using the changeset viewer.