- 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>
130 lines
5.1 KiB
C#
130 lines
5.1 KiB
C#
namespace PolyTraderSharp.Ui
|
|
{
|
|
partial class LauncherForm
|
|
{
|
|
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.menuStrip = new System.Windows.Forms.MenuStrip();
|
|
this.miDatei = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.miLegacy = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.miBeenden = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.lstViews = new System.Windows.Forms.ListView();
|
|
this.colName = new System.Windows.Forms.ColumnHeader();
|
|
this.pnlBottom = new System.Windows.Forms.Panel();
|
|
this.btnOpen = new System.Windows.Forms.Button();
|
|
this.menuStrip.SuspendLayout();
|
|
this.pnlBottom.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// menuStrip
|
|
//
|
|
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.miDatei});
|
|
this.menuStrip.Location = new System.Drawing.Point(0, 0);
|
|
this.menuStrip.Name = "menuStrip";
|
|
this.menuStrip.Size = new System.Drawing.Size(360, 24);
|
|
this.menuStrip.TabIndex = 0;
|
|
//
|
|
// miDatei
|
|
//
|
|
this.miDatei.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.miLegacy,
|
|
this.miBeenden});
|
|
this.miDatei.Name = "miDatei";
|
|
this.miDatei.Text = "Datei";
|
|
//
|
|
// miLegacy
|
|
//
|
|
this.miLegacy.Name = "miLegacy";
|
|
this.miLegacy.Text = "Legacy-UI (alte Tabs)";
|
|
//
|
|
// miBeenden
|
|
//
|
|
this.miBeenden.Name = "miBeenden";
|
|
this.miBeenden.Text = "Beenden";
|
|
//
|
|
// lstViews
|
|
//
|
|
this.lstViews.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.colName});
|
|
this.lstViews.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lstViews.FullRowSelect = true;
|
|
this.lstViews.HideSelection = false;
|
|
this.lstViews.Location = new System.Drawing.Point(0, 24);
|
|
this.lstViews.MultiSelect = false;
|
|
this.lstViews.Name = "lstViews";
|
|
this.lstViews.Size = new System.Drawing.Size(360, 420);
|
|
this.lstViews.TabIndex = 1;
|
|
this.lstViews.UseCompatibleStateImageBehavior = false;
|
|
this.lstViews.View = System.Windows.Forms.View.Details;
|
|
//
|
|
// colName
|
|
//
|
|
this.colName.Text = "Ansicht";
|
|
this.colName.Width = 330;
|
|
//
|
|
// pnlBottom
|
|
//
|
|
this.pnlBottom.Controls.Add(this.btnOpen);
|
|
this.pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.pnlBottom.Location = new System.Drawing.Point(0, 444);
|
|
this.pnlBottom.Name = "pnlBottom";
|
|
this.pnlBottom.Size = new System.Drawing.Size(360, 44);
|
|
this.pnlBottom.TabIndex = 2;
|
|
//
|
|
// btnOpen
|
|
//
|
|
this.btnOpen.Location = new System.Drawing.Point(12, 8);
|
|
this.btnOpen.Name = "btnOpen";
|
|
this.btnOpen.Size = new System.Drawing.Size(336, 30);
|
|
this.btnOpen.TabIndex = 0;
|
|
this.btnOpen.Text = "Öffnen";
|
|
this.btnOpen.UseVisualStyleBackColor = true;
|
|
//
|
|
// LauncherForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(360, 488);
|
|
this.Controls.Add(this.lstViews);
|
|
this.Controls.Add(this.pnlBottom);
|
|
this.Controls.Add(this.menuStrip);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.MainMenuStrip = this.menuStrip;
|
|
this.MaximizeBox = false;
|
|
this.Name = "LauncherForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "PolyTrader";
|
|
this.menuStrip.ResumeLayout(false);
|
|
this.menuStrip.PerformLayout();
|
|
this.pnlBottom.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.MenuStrip menuStrip;
|
|
private System.Windows.Forms.ToolStripMenuItem miDatei;
|
|
private System.Windows.Forms.ToolStripMenuItem miLegacy;
|
|
private System.Windows.Forms.ToolStripMenuItem miBeenden;
|
|
private System.Windows.Forms.ListView lstViews;
|
|
private System.Windows.Forms.ColumnHeader colName;
|
|
private System.Windows.Forms.Panel pnlBottom;
|
|
private System.Windows.Forms.Button btnOpen;
|
|
}
|
|
}
|