UI: Terminal-Kopierfunktion (Kontextmenue) + Jobs-Toolstrip (via Designer)

- TerminalView: ContextMenuStrip (Kopieren/Alles auswaehlen/Alles kopieren/Terminal leeren)
  am rtbTerminal - macht das Kopieren entdeckbar (Ctrl+C funktioniert zusaetzlich nativ).
- JobsView: ToolStrip 'toolStripJobs' (docked Top) mit Starter-Button 'Aktualisieren'
  (dgvJobs.Refresh) - weitere Job-Steuerelemente folgen nach und nach.
Beide via Designer (.Designer.cs), Logik im Code-Behind. Build 0 Fehler, --smoke-ui ok.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Richard
2026-07-15 09:39:35 +02:00
co-authored by Claude Opus 4.8
parent 4df07bd3d2
commit 0aedddabe8
4 changed files with 94 additions and 0 deletions
+25
View File
@@ -25,7 +25,10 @@ namespace PolyTraderSharp.Ui.Views
this.col_dgv_jobs_Enabled = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.col_dgv_jobs_Run = new System.Windows.Forms.DataGridViewButtonColumn();
this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStripJobs = new System.Windows.Forms.ToolStrip();
this.tsJobsRefresh = new System.Windows.Forms.ToolStripButton();
((System.ComponentModel.ISupportInitialize)(this.dgvJobs)).BeginInit();
this.toolStripJobs.SuspendLayout();
this.SuspendLayout();
//
// dgvJobs
@@ -104,15 +107,35 @@ namespace PolyTraderSharp.Ui.Views
this.colDescription.Name = "colDescription";
this.colDescription.ReadOnly = true;
//
// toolStripJobs
//
this.toolStripJobs.ImageScalingSize = new System.Drawing.Size(24, 24);
this.toolStripJobs.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsJobsRefresh});
this.toolStripJobs.Location = new System.Drawing.Point(0, 0);
this.toolStripJobs.Name = "toolStripJobs";
this.toolStripJobs.Size = new System.Drawing.Size(1000, 25);
this.toolStripJobs.TabIndex = 1;
//
// tsJobsRefresh
//
this.tsJobsRefresh.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tsJobsRefresh.Name = "tsJobsRefresh";
this.tsJobsRefresh.Text = "Aktualisieren";
this.tsJobsRefresh.ToolTipText = "Job-Liste neu zeichnen (Status/Zeiten aktualisieren).";
//
// JobsView
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.dgvJobs);
this.Controls.Add(this.toolStripJobs);
this.ClientSize = new System.Drawing.Size(1000, 500);
this.Name = "JobsView";
this.Text = "Server Jobs";
((System.ComponentModel.ISupportInitialize)(this.dgvJobs)).EndInit();
this.toolStripJobs.ResumeLayout(false);
this.toolStripJobs.PerformLayout();
this.ResumeLayout(false);
}
@@ -126,5 +149,7 @@ namespace PolyTraderSharp.Ui.Views
private System.Windows.Forms.DataGridViewCheckBoxColumn col_dgv_jobs_Enabled;
private System.Windows.Forms.DataGridViewButtonColumn col_dgv_jobs_Run;
private System.Windows.Forms.DataGridViewTextBoxColumn colDescription;
private System.Windows.Forms.ToolStrip toolStripJobs;
private System.Windows.Forms.ToolStripButton tsJobsRefresh;
}
}