Phase 5-UI: Designer-first — Launcher + TerminalView
- LauncherForm ist jetzt ein echtes Designer-Formular (LauncherForm.Designer.cs): ListView + MenuStrip + Button im Designer platziert/bearbeitbar. Zur Laufzeit werden nur noch ListView-Eintraege/Gruppen (DATEN) aus den registrierten Views befuellt + Events verdrahtet — keine Steuerelemente mehr im Code erzeugt. - TerminalView: Combo-Items, Button-Text/-Farbe in den Designer verlagert; Konstruktor verdrahtet nur noch Verhalten. - Inhaerente Ausnahme (Modul-System): die konkreten View-Eintraege sind Daten, keine vorplatzierbaren Controls -> daher datengetriebene ListView. - Build 0 Fehler. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
b0b65faf74
commit
1781d71983
Generated
+10
-1
@@ -39,16 +39,25 @@ namespace PolyTraderSharp.Ui.Views
|
||||
//
|
||||
// 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 = true;
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user