- 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>
162 lines
6.6 KiB
C#
162 lines
6.6 KiB
C#
namespace PolyTraderSharp.Ui.Views
|
|
{
|
|
partial class TerminalView
|
|
{
|
|
/// <summary>Erforderliche Designer-Variable.</summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Vom Komponenten-Designer generierter Code
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.pnlTop = new System.Windows.Forms.Panel();
|
|
this.btnAutoscroll = new System.Windows.Forms.Button();
|
|
this.cbLogLevel = new System.Windows.Forms.ComboBox();
|
|
this.lblFilter = new System.Windows.Forms.Label();
|
|
this.rtbTerminal = new System.Windows.Forms.RichTextBox();
|
|
this.contextMenuTerminal = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.miCopy = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.miSelectAll = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.miCopyAll = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.miSep1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.miClear = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.pnlTop.SuspendLayout();
|
|
this.contextMenuTerminal.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// pnlTop
|
|
//
|
|
this.pnlTop.Controls.Add(this.btnAutoscroll);
|
|
this.pnlTop.Controls.Add(this.cbLogLevel);
|
|
this.pnlTop.Controls.Add(this.lblFilter);
|
|
this.pnlTop.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.pnlTop.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlTop.Name = "pnlTop";
|
|
this.pnlTop.Size = new System.Drawing.Size(900, 36);
|
|
this.pnlTop.TabIndex = 0;
|
|
//
|
|
// btnAutoscroll
|
|
//
|
|
this.btnAutoscroll.BackColor = System.Drawing.Color.LightGreen;
|
|
this.btnAutoscroll.Location = new System.Drawing.Point(224, 5);
|
|
this.btnAutoscroll.Name = "btnAutoscroll";
|
|
this.btnAutoscroll.Size = new System.Drawing.Size(150, 26);
|
|
this.btnAutoscroll.TabIndex = 2;
|
|
this.btnAutoscroll.Text = "Stop Autoscroll";
|
|
this.btnAutoscroll.UseVisualStyleBackColor = false;
|
|
//
|
|
// cbLogLevel
|
|
//
|
|
this.cbLogLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbLogLevel.Items.AddRange(new object[] {
|
|
"Alle",
|
|
"Debug",
|
|
"Info",
|
|
"Warning",
|
|
"Error",
|
|
"Trade",
|
|
"TradeReasoning"});
|
|
this.cbLogLevel.Location = new System.Drawing.Point(52, 6);
|
|
this.cbLogLevel.Name = "cbLogLevel";
|
|
this.cbLogLevel.Size = new System.Drawing.Size(160, 23);
|
|
this.cbLogLevel.TabIndex = 1;
|
|
//
|
|
// lblFilter
|
|
//
|
|
this.lblFilter.AutoSize = true;
|
|
this.lblFilter.Location = new System.Drawing.Point(8, 10);
|
|
this.lblFilter.Name = "lblFilter";
|
|
this.lblFilter.Size = new System.Drawing.Size(38, 15);
|
|
this.lblFilter.TabIndex = 0;
|
|
this.lblFilter.Text = "Level:";
|
|
//
|
|
// rtbTerminal
|
|
//
|
|
this.rtbTerminal.BackColor = System.Drawing.Color.Black;
|
|
this.rtbTerminal.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.rtbTerminal.ForeColor = System.Drawing.Color.White;
|
|
this.rtbTerminal.Location = new System.Drawing.Point(0, 36);
|
|
this.rtbTerminal.Name = "rtbTerminal";
|
|
this.rtbTerminal.ReadOnly = true;
|
|
this.rtbTerminal.Size = new System.Drawing.Size(900, 464);
|
|
this.rtbTerminal.TabIndex = 1;
|
|
this.rtbTerminal.Text = "";
|
|
this.rtbTerminal.ContextMenuStrip = this.contextMenuTerminal;
|
|
//
|
|
// contextMenuTerminal
|
|
//
|
|
this.contextMenuTerminal.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.miCopy,
|
|
this.miSelectAll,
|
|
this.miCopyAll,
|
|
this.miSep1,
|
|
this.miClear});
|
|
this.contextMenuTerminal.Name = "contextMenuTerminal";
|
|
//
|
|
// miCopy
|
|
//
|
|
this.miCopy.Name = "miCopy";
|
|
this.miCopy.ShortcutKeyDisplayString = "Strg+C";
|
|
this.miCopy.Text = "Kopieren";
|
|
//
|
|
// miSelectAll
|
|
//
|
|
this.miSelectAll.Name = "miSelectAll";
|
|
this.miSelectAll.ShortcutKeyDisplayString = "Strg+A";
|
|
this.miSelectAll.Text = "Alles auswählen";
|
|
//
|
|
// miCopyAll
|
|
//
|
|
this.miCopyAll.Name = "miCopyAll";
|
|
this.miCopyAll.Text = "Alles kopieren";
|
|
//
|
|
// miSep1
|
|
//
|
|
this.miSep1.Name = "miSep1";
|
|
//
|
|
// miClear
|
|
//
|
|
this.miClear.Name = "miClear";
|
|
this.miClear.Text = "Terminal leeren";
|
|
//
|
|
// TerminalView
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.Controls.Add(this.rtbTerminal);
|
|
this.Controls.Add(this.pnlTop);
|
|
this.ClientSize = new System.Drawing.Size(1000, 650);
|
|
this.Name = "TerminalView";
|
|
this.Text = "Terminal / Logs";
|
|
this.pnlTop.ResumeLayout(false);
|
|
this.pnlTop.PerformLayout();
|
|
this.contextMenuTerminal.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel pnlTop;
|
|
private System.Windows.Forms.Label lblFilter;
|
|
private System.Windows.Forms.ComboBox cbLogLevel;
|
|
private System.Windows.Forms.Button btnAutoscroll;
|
|
private System.Windows.Forms.RichTextBox rtbTerminal;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuTerminal;
|
|
private System.Windows.Forms.ToolStripMenuItem miCopy;
|
|
private System.Windows.Forms.ToolStripMenuItem miSelectAll;
|
|
private System.Windows.Forms.ToolStripMenuItem miCopyAll;
|
|
private System.Windows.Forms.ToolStripSeparator miSep1;
|
|
private System.Windows.Forms.ToolStripMenuItem miClear;
|
|
}
|
|
}
|