- Fenster-Menue: WindowMenu fuellt die oberste MenuStrip mit Top-Level-Eintraegen nebeneinander (mit Icon) statt Untermenue "Fenster"; ModuleView.Icon zentral in der App zugewiesen (AssignMenuIcons). Kein miFenster mehr im Launcher-Designer. - Sicheres Beenden: ShutdownConfirmDialog (10s-Timer sperrt "Jetzt beenden", Abbrechen jederzeit) via IModuleUiHost.RequestShutdown(). Nur der Launcher (Hauptprozess) bietet "Beenden"; andere Fenster nur "Fenster schliessen" (kein App-Shutdown, Module laufen weiter). Launcher-Schliessen-X routet ueber dieselbe Abfrage. - Modul-Aktivierung (restart-basiert): ServerSettings.DisabledModules, in Program.Main vor der DI-Registrierung gefiltert -> deaktivierte Module werden nicht geladen. Dashboard-Tab "Module" zeigt Status + schaltet um (Hinweis: greift nach Neustart). Optionaler IPolyTraderModule.GetActivationBlocker fuer "nicht aktivierbar"-Info. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
624 lines
26 KiB
C#
624 lines
26 KiB
C#
namespace PolyTraderSharp.Ui.Views
|
|
{
|
|
partial class DashboardView
|
|
{
|
|
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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DashboardView));
|
|
toolStripDash = new ToolStrip();
|
|
tslKonto = new ToolStripLabel();
|
|
cbAccount = new ToolStripComboBox();
|
|
tslModul = new ToolStripLabel();
|
|
cbModule = new ToolStripComboBox();
|
|
tslArt = new ToolStripLabel();
|
|
cbMode = new ToolStripComboBox();
|
|
tslZeit = new ToolStripLabel();
|
|
cbRange = new ToolStripComboBox();
|
|
tsRefresh = new ToolStripButton();
|
|
tabControlDash = new TabControl();
|
|
tabDashboard = new TabPage();
|
|
picEquity = new PictureBox();
|
|
pnlChartsBottom = new Panel();
|
|
picDay = new PictureBox();
|
|
picModule = new PictureBox();
|
|
flpKpis = new FlowLayoutPanel();
|
|
lblKpiPnl = new Label();
|
|
lblKpiWin = new Label();
|
|
lblKpiTrades = new Label();
|
|
lblKpiAvg = new Label();
|
|
lblKpiPf = new Label();
|
|
tabHistory = new TabPage();
|
|
dgvTrades = new DataGridView();
|
|
colModule = new DataGridViewTextBoxColumn();
|
|
colAccount = new DataGridViewTextBoxColumn();
|
|
colMarket = new DataGridViewTextBoxColumn();
|
|
colOutcome = new DataGridViewTextBoxColumn();
|
|
colSide = new DataGridViewTextBoxColumn();
|
|
colEntry = new DataGridViewTextBoxColumn();
|
|
colExit = new DataGridViewTextBoxColumn();
|
|
colSize = new DataGridViewTextBoxColumn();
|
|
colPnl = new DataGridViewTextBoxColumn();
|
|
colPnlPct = new DataGridViewTextBoxColumn();
|
|
colClosedAt = new DataGridViewTextBoxColumn();
|
|
pnlHistFilters = new Panel();
|
|
cbWinLoss = new ComboBox();
|
|
lblErgebnis = new Label();
|
|
tbSearch = new TextBox();
|
|
lblSuche = new Label();
|
|
tabModules = new TabPage();
|
|
dgvModules = new DataGridView();
|
|
colModName = new DataGridViewTextBoxColumn();
|
|
colModStatus = new DataGridViewTextBoxColumn();
|
|
colModHint = new DataGridViewTextBoxColumn();
|
|
colModAction = new DataGridViewButtonColumn();
|
|
lblModulesInfo = new Label();
|
|
toolStripDash.SuspendLayout();
|
|
tabControlDash.SuspendLayout();
|
|
tabModules.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dgvModules).BeginInit();
|
|
tabDashboard.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)picEquity).BeginInit();
|
|
pnlChartsBottom.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)picDay).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)picModule).BeginInit();
|
|
flpKpis.SuspendLayout();
|
|
tabHistory.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dgvTrades).BeginInit();
|
|
pnlHistFilters.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// toolStripDash
|
|
//
|
|
toolStripDash.ImageScalingSize = new Size(24, 24);
|
|
toolStripDash.Items.AddRange(new ToolStripItem[] { tslKonto, cbAccount, tslModul, cbModule, tslArt, cbMode, tslZeit, cbRange, tsRefresh });
|
|
toolStripDash.Location = new Point(0, 0);
|
|
toolStripDash.Name = "toolStripDash";
|
|
toolStripDash.Padding = new Padding(0, 0, 3, 0);
|
|
toolStripDash.Size = new Size(1714, 34);
|
|
toolStripDash.TabIndex = 0;
|
|
//
|
|
// tslKonto
|
|
//
|
|
tslKonto.Name = "tslKonto";
|
|
tslKonto.Size = new Size(64, 29);
|
|
tslKonto.Text = "Konto:";
|
|
//
|
|
// cbAccount
|
|
//
|
|
cbAccount.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
cbAccount.Name = "cbAccount";
|
|
cbAccount.Size = new Size(241, 34);
|
|
//
|
|
// tslModul
|
|
//
|
|
tslModul.Name = "tslModul";
|
|
tslModul.Size = new Size(68, 29);
|
|
tslModul.Text = "Modul:";
|
|
//
|
|
// cbModule
|
|
//
|
|
cbModule.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
cbModule.Name = "cbModule";
|
|
cbModule.Size = new Size(213, 34);
|
|
//
|
|
// tslArt
|
|
//
|
|
tslArt.Name = "tslArt";
|
|
tslArt.Size = new Size(40, 29);
|
|
tslArt.Text = "Art:";
|
|
//
|
|
// cbMode
|
|
//
|
|
cbMode.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
cbMode.Name = "cbMode";
|
|
cbMode.Size = new Size(141, 34);
|
|
//
|
|
// tslZeit
|
|
//
|
|
tslZeit.Name = "tslZeit";
|
|
tslZeit.Size = new Size(86, 29);
|
|
tslZeit.Text = "Zeitraum:";
|
|
//
|
|
// cbRange
|
|
//
|
|
cbRange.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
cbRange.Name = "cbRange";
|
|
cbRange.Size = new Size(155, 34);
|
|
//
|
|
// tsRefresh
|
|
//
|
|
tsRefresh.DisplayStyle = ToolStripItemDisplayStyle.Text;
|
|
tsRefresh.Name = "tsRefresh";
|
|
tsRefresh.Size = new Size(116, 29);
|
|
tsRefresh.Text = "Aktualisieren";
|
|
//
|
|
// tabControlDash
|
|
//
|
|
tabControlDash.Controls.Add(tabDashboard);
|
|
tabControlDash.Controls.Add(tabHistory);
|
|
tabControlDash.Controls.Add(tabModules);
|
|
tabControlDash.Dock = DockStyle.Fill;
|
|
tabControlDash.Location = new Point(0, 34);
|
|
tabControlDash.Margin = new Padding(4, 5, 4, 5);
|
|
tabControlDash.Name = "tabControlDash";
|
|
tabControlDash.SelectedIndex = 0;
|
|
tabControlDash.Size = new Size(1714, 1049);
|
|
tabControlDash.TabIndex = 1;
|
|
//
|
|
// tabDashboard
|
|
//
|
|
tabDashboard.Controls.Add(picEquity);
|
|
tabDashboard.Controls.Add(pnlChartsBottom);
|
|
tabDashboard.Controls.Add(flpKpis);
|
|
tabDashboard.Location = new Point(4, 34);
|
|
tabDashboard.Margin = new Padding(4, 5, 4, 5);
|
|
tabDashboard.Name = "tabDashboard";
|
|
tabDashboard.Padding = new Padding(4, 5, 4, 5);
|
|
tabDashboard.Size = new Size(1706, 1011);
|
|
tabDashboard.TabIndex = 0;
|
|
tabDashboard.Text = "Dashboard";
|
|
tabDashboard.UseVisualStyleBackColor = true;
|
|
//
|
|
// picEquity
|
|
//
|
|
picEquity.BackColor = Color.White;
|
|
picEquity.Dock = DockStyle.Fill;
|
|
picEquity.Location = new Point(4, 132);
|
|
picEquity.Margin = new Padding(4, 5, 4, 5);
|
|
picEquity.Name = "picEquity";
|
|
picEquity.Size = new Size(1698, 474);
|
|
picEquity.SizeMode = PictureBoxSizeMode.Zoom;
|
|
picEquity.TabIndex = 2;
|
|
picEquity.TabStop = false;
|
|
//
|
|
// pnlChartsBottom
|
|
//
|
|
pnlChartsBottom.Controls.Add(picDay);
|
|
pnlChartsBottom.Controls.Add(picModule);
|
|
pnlChartsBottom.Dock = DockStyle.Bottom;
|
|
pnlChartsBottom.Location = new Point(4, 606);
|
|
pnlChartsBottom.Margin = new Padding(4, 5, 4, 5);
|
|
pnlChartsBottom.Name = "pnlChartsBottom";
|
|
pnlChartsBottom.Size = new Size(1698, 400);
|
|
pnlChartsBottom.TabIndex = 1;
|
|
//
|
|
// picDay
|
|
//
|
|
picDay.BackColor = Color.White;
|
|
picDay.Dock = DockStyle.Fill;
|
|
picDay.Location = new Point(847, 0);
|
|
picDay.Margin = new Padding(4, 5, 4, 5);
|
|
picDay.Name = "picDay";
|
|
picDay.Size = new Size(851, 400);
|
|
picDay.SizeMode = PictureBoxSizeMode.Zoom;
|
|
picDay.TabIndex = 1;
|
|
picDay.TabStop = false;
|
|
//
|
|
// picModule
|
|
//
|
|
picModule.BackColor = Color.White;
|
|
picModule.Dock = DockStyle.Left;
|
|
picModule.Location = new Point(0, 0);
|
|
picModule.Margin = new Padding(4, 5, 4, 5);
|
|
picModule.Name = "picModule";
|
|
picModule.Size = new Size(847, 400);
|
|
picModule.SizeMode = PictureBoxSizeMode.Zoom;
|
|
picModule.TabIndex = 0;
|
|
picModule.TabStop = false;
|
|
//
|
|
// flpKpis
|
|
//
|
|
flpKpis.Controls.Add(lblKpiPnl);
|
|
flpKpis.Controls.Add(lblKpiWin);
|
|
flpKpis.Controls.Add(lblKpiTrades);
|
|
flpKpis.Controls.Add(lblKpiAvg);
|
|
flpKpis.Controls.Add(lblKpiPf);
|
|
flpKpis.Dock = DockStyle.Top;
|
|
flpKpis.Location = new Point(4, 5);
|
|
flpKpis.Margin = new Padding(4, 5, 4, 5);
|
|
flpKpis.Name = "flpKpis";
|
|
flpKpis.Padding = new Padding(6, 7, 6, 7);
|
|
flpKpis.Size = new Size(1698, 127);
|
|
flpKpis.TabIndex = 0;
|
|
flpKpis.WrapContents = false;
|
|
//
|
|
// lblKpiPnl
|
|
//
|
|
lblKpiPnl.BorderStyle = BorderStyle.FixedSingle;
|
|
lblKpiPnl.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
|
lblKpiPnl.Location = new Point(12, 14);
|
|
lblKpiPnl.Margin = new Padding(6, 7, 6, 7);
|
|
lblKpiPnl.MinimumSize = new Size(271, 92);
|
|
lblKpiPnl.Name = "lblKpiPnl";
|
|
lblKpiPnl.Padding = new Padding(11, 13, 11, 13);
|
|
lblKpiPnl.Size = new Size(271, 92);
|
|
lblKpiPnl.TabIndex = 0;
|
|
lblKpiPnl.Text = "Netto-PnL\n—";
|
|
lblKpiPnl.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// lblKpiWin
|
|
//
|
|
lblKpiWin.BorderStyle = BorderStyle.FixedSingle;
|
|
lblKpiWin.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
|
lblKpiWin.Location = new Point(295, 14);
|
|
lblKpiWin.Margin = new Padding(6, 7, 6, 7);
|
|
lblKpiWin.MinimumSize = new Size(213, 92);
|
|
lblKpiWin.Name = "lblKpiWin";
|
|
lblKpiWin.Padding = new Padding(11, 13, 11, 13);
|
|
lblKpiWin.Size = new Size(213, 92);
|
|
lblKpiWin.TabIndex = 1;
|
|
lblKpiWin.Text = "Winrate\n—";
|
|
lblKpiWin.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// lblKpiTrades
|
|
//
|
|
lblKpiTrades.BorderStyle = BorderStyle.FixedSingle;
|
|
lblKpiTrades.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
|
lblKpiTrades.Location = new Point(520, 14);
|
|
lblKpiTrades.Margin = new Padding(6, 7, 6, 7);
|
|
lblKpiTrades.MinimumSize = new Size(185, 92);
|
|
lblKpiTrades.Name = "lblKpiTrades";
|
|
lblKpiTrades.Padding = new Padding(11, 13, 11, 13);
|
|
lblKpiTrades.Size = new Size(185, 92);
|
|
lblKpiTrades.TabIndex = 2;
|
|
lblKpiTrades.Text = "Trades\n—";
|
|
lblKpiTrades.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// lblKpiAvg
|
|
//
|
|
lblKpiAvg.BorderStyle = BorderStyle.FixedSingle;
|
|
lblKpiAvg.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
|
lblKpiAvg.Location = new Point(717, 14);
|
|
lblKpiAvg.Margin = new Padding(6, 7, 6, 7);
|
|
lblKpiAvg.MinimumSize = new Size(242, 92);
|
|
lblKpiAvg.Name = "lblKpiAvg";
|
|
lblKpiAvg.Padding = new Padding(11, 13, 11, 13);
|
|
lblKpiAvg.Size = new Size(242, 92);
|
|
lblKpiAvg.TabIndex = 3;
|
|
lblKpiAvg.Text = "Ø PnL/Trade\n—";
|
|
lblKpiAvg.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// lblKpiPf
|
|
//
|
|
lblKpiPf.BorderStyle = BorderStyle.FixedSingle;
|
|
lblKpiPf.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
|
lblKpiPf.Location = new Point(971, 14);
|
|
lblKpiPf.Margin = new Padding(6, 7, 6, 7);
|
|
lblKpiPf.MinimumSize = new Size(213, 92);
|
|
lblKpiPf.Name = "lblKpiPf";
|
|
lblKpiPf.Padding = new Padding(11, 13, 11, 13);
|
|
lblKpiPf.Size = new Size(213, 92);
|
|
lblKpiPf.TabIndex = 4;
|
|
lblKpiPf.Text = "Profit-Faktor\n—";
|
|
lblKpiPf.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// tabHistory
|
|
//
|
|
tabHistory.Controls.Add(dgvTrades);
|
|
tabHistory.Controls.Add(pnlHistFilters);
|
|
tabHistory.Location = new Point(4, 34);
|
|
tabHistory.Margin = new Padding(4, 5, 4, 5);
|
|
tabHistory.Name = "tabHistory";
|
|
tabHistory.Padding = new Padding(4, 5, 4, 5);
|
|
tabHistory.Size = new Size(1706, 1000);
|
|
tabHistory.TabIndex = 1;
|
|
tabHistory.Text = "Tradehistorie";
|
|
tabHistory.UseVisualStyleBackColor = true;
|
|
//
|
|
// dgvTrades
|
|
//
|
|
dgvTrades.AllowUserToAddRows = false;
|
|
dgvTrades.AllowUserToDeleteRows = false;
|
|
dgvTrades.AutoGenerateColumns = false;
|
|
dgvTrades.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dgvTrades.Columns.AddRange(new DataGridViewColumn[] { colModule, colAccount, colMarket, colOutcome, colSide, colEntry, colExit, colSize, colPnl, colPnlPct, colClosedAt });
|
|
dgvTrades.Dock = DockStyle.Fill;
|
|
dgvTrades.Location = new Point(4, 65);
|
|
dgvTrades.Margin = new Padding(4, 5, 4, 5);
|
|
dgvTrades.Name = "dgvTrades";
|
|
dgvTrades.ReadOnly = true;
|
|
dgvTrades.RowHeadersVisible = false;
|
|
dgvTrades.RowHeadersWidth = 62;
|
|
dgvTrades.Size = new Size(1698, 930);
|
|
dgvTrades.TabIndex = 1;
|
|
//
|
|
// colModule
|
|
//
|
|
colModule.DataPropertyName = "Module";
|
|
colModule.HeaderText = "Modul";
|
|
colModule.Name = "colModule";
|
|
colModule.Width = 110;
|
|
//
|
|
// colAccount
|
|
//
|
|
colAccount.DataPropertyName = "Account";
|
|
colAccount.HeaderText = "Konto";
|
|
colAccount.Name = "colAccount";
|
|
colAccount.Width = 130;
|
|
//
|
|
// colMarket
|
|
//
|
|
colMarket.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
colMarket.DataPropertyName = "Market";
|
|
colMarket.HeaderText = "Markt";
|
|
colMarket.Name = "colMarket";
|
|
//
|
|
// colOutcome
|
|
//
|
|
colOutcome.DataPropertyName = "Outcome";
|
|
colOutcome.HeaderText = "Outcome";
|
|
colOutcome.Name = "colOutcome";
|
|
colOutcome.Width = 80;
|
|
//
|
|
// colSide
|
|
//
|
|
colSide.DataPropertyName = "Side";
|
|
colSide.HeaderText = "Side";
|
|
colSide.Name = "colSide";
|
|
colSide.Width = 60;
|
|
//
|
|
// colEntry
|
|
//
|
|
colEntry.DataPropertyName = "EntryPrice";
|
|
colEntry.HeaderText = "Entry";
|
|
colEntry.Name = "colEntry";
|
|
colEntry.Width = 70;
|
|
//
|
|
// colExit
|
|
//
|
|
colExit.DataPropertyName = "ExitPrice";
|
|
colExit.HeaderText = "Exit";
|
|
colExit.Name = "colExit";
|
|
colExit.Width = 70;
|
|
//
|
|
// colSize
|
|
//
|
|
colSize.DataPropertyName = "Size";
|
|
colSize.HeaderText = "Size";
|
|
colSize.Name = "colSize";
|
|
colSize.Width = 70;
|
|
//
|
|
// colPnl
|
|
//
|
|
colPnl.DataPropertyName = "RealizedPnl";
|
|
colPnl.HeaderText = "PnL";
|
|
colPnl.Name = "colPnl";
|
|
colPnl.Width = 80;
|
|
//
|
|
// colPnlPct
|
|
//
|
|
colPnlPct.DataPropertyName = "PnlPercent";
|
|
colPnlPct.HeaderText = "PnL %";
|
|
colPnlPct.Name = "colPnlPct";
|
|
colPnlPct.Width = 70;
|
|
//
|
|
// colClosedAt
|
|
//
|
|
colClosedAt.DataPropertyName = "ClosedAt";
|
|
colClosedAt.HeaderText = "Geschlossen";
|
|
colClosedAt.Name = "colClosedAt";
|
|
colClosedAt.Width = 140;
|
|
//
|
|
// pnlHistFilters
|
|
//
|
|
pnlHistFilters.Controls.Add(cbWinLoss);
|
|
pnlHistFilters.Controls.Add(lblErgebnis);
|
|
pnlHistFilters.Controls.Add(tbSearch);
|
|
pnlHistFilters.Controls.Add(lblSuche);
|
|
pnlHistFilters.Dock = DockStyle.Top;
|
|
pnlHistFilters.Location = new Point(4, 5);
|
|
pnlHistFilters.Margin = new Padding(4, 5, 4, 5);
|
|
pnlHistFilters.Name = "pnlHistFilters";
|
|
pnlHistFilters.Size = new Size(1698, 60);
|
|
pnlHistFilters.TabIndex = 0;
|
|
//
|
|
// cbWinLoss
|
|
//
|
|
cbWinLoss.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
cbWinLoss.Location = new Point(606, 10);
|
|
cbWinLoss.Margin = new Padding(4, 5, 4, 5);
|
|
cbWinLoss.Name = "cbWinLoss";
|
|
cbWinLoss.Size = new Size(213, 33);
|
|
cbWinLoss.TabIndex = 3;
|
|
//
|
|
// lblErgebnis
|
|
//
|
|
lblErgebnis.AutoSize = true;
|
|
lblErgebnis.Location = new Point(514, 15);
|
|
lblErgebnis.Margin = new Padding(4, 0, 4, 0);
|
|
lblErgebnis.Name = "lblErgebnis";
|
|
lblErgebnis.Size = new Size(84, 25);
|
|
lblErgebnis.TabIndex = 2;
|
|
lblErgebnis.Text = "Ergebnis:";
|
|
//
|
|
// tbSearch
|
|
//
|
|
tbSearch.Location = new Point(81, 10);
|
|
tbSearch.Margin = new Padding(4, 5, 4, 5);
|
|
tbSearch.Name = "tbSearch";
|
|
tbSearch.PlaceholderText = "Markt / Outcome …";
|
|
tbSearch.Size = new Size(398, 31);
|
|
tbSearch.TabIndex = 1;
|
|
//
|
|
// lblSuche
|
|
//
|
|
lblSuche.AutoSize = true;
|
|
lblSuche.Location = new Point(9, 15);
|
|
lblSuche.Margin = new Padding(4, 0, 4, 0);
|
|
lblSuche.Name = "lblSuche";
|
|
lblSuche.Size = new Size(63, 25);
|
|
lblSuche.TabIndex = 0;
|
|
lblSuche.Text = "Suche:";
|
|
//
|
|
// tabModules
|
|
//
|
|
tabModules.Controls.Add(dgvModules);
|
|
tabModules.Controls.Add(lblModulesInfo);
|
|
tabModules.Location = new Point(4, 34);
|
|
tabModules.Margin = new Padding(4, 5, 4, 5);
|
|
tabModules.Name = "tabModules";
|
|
tabModules.Padding = new Padding(12, 12, 12, 12);
|
|
tabModules.Size = new Size(1706, 1000);
|
|
tabModules.TabIndex = 2;
|
|
tabModules.Text = "Module";
|
|
tabModules.UseVisualStyleBackColor = true;
|
|
//
|
|
// lblModulesInfo
|
|
//
|
|
lblModulesInfo.Dock = DockStyle.Top;
|
|
lblModulesInfo.Font = new Font("Segoe UI", 10F);
|
|
lblModulesInfo.Location = new Point(12, 12);
|
|
lblModulesInfo.Name = "lblModulesInfo";
|
|
lblModulesInfo.Padding = new Padding(4, 8, 4, 12);
|
|
lblModulesInfo.Size = new Size(1682, 56);
|
|
lblModulesInfo.TabIndex = 0;
|
|
lblModulesInfo.Text = "Module aktivieren/deaktivieren. Änderungen greifen nach dem nächsten Neustart von PolyTrader.";
|
|
//
|
|
// dgvModules
|
|
//
|
|
dgvModules.AllowUserToAddRows = false;
|
|
dgvModules.AllowUserToDeleteRows = false;
|
|
dgvModules.AllowUserToResizeRows = false;
|
|
dgvModules.AutoGenerateColumns = false;
|
|
dgvModules.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dgvModules.Columns.AddRange(new DataGridViewColumn[] { colModName, colModStatus, colModHint, colModAction });
|
|
dgvModules.Dock = DockStyle.Fill;
|
|
dgvModules.Location = new Point(12, 68);
|
|
dgvModules.Margin = new Padding(4, 5, 4, 5);
|
|
dgvModules.Name = "dgvModules";
|
|
dgvModules.ReadOnly = true;
|
|
dgvModules.RowHeadersVisible = false;
|
|
dgvModules.RowHeadersWidth = 62;
|
|
dgvModules.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dgvModules.Size = new Size(1682, 920);
|
|
dgvModules.TabIndex = 1;
|
|
//
|
|
// colModName
|
|
//
|
|
colModName.DataPropertyName = "Modul";
|
|
colModName.HeaderText = "Modul";
|
|
colModName.Name = "colModName";
|
|
colModName.ReadOnly = true;
|
|
colModName.Width = 220;
|
|
//
|
|
// colModStatus
|
|
//
|
|
colModStatus.DataPropertyName = "Status";
|
|
colModStatus.HeaderText = "Status";
|
|
colModStatus.Name = "colModStatus";
|
|
colModStatus.ReadOnly = true;
|
|
colModStatus.Width = 260;
|
|
//
|
|
// colModHint
|
|
//
|
|
colModHint.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
colModHint.DataPropertyName = "Hinweis";
|
|
colModHint.HeaderText = "Hinweis";
|
|
colModHint.Name = "colModHint";
|
|
colModHint.ReadOnly = true;
|
|
//
|
|
// colModAction
|
|
//
|
|
colModAction.DataPropertyName = "Aktion";
|
|
colModAction.HeaderText = "Aktion";
|
|
colModAction.Name = "colModAction";
|
|
colModAction.ReadOnly = true;
|
|
colModAction.Text = "Umschalten";
|
|
colModAction.UseColumnTextForButtonValue = false;
|
|
colModAction.Width = 160;
|
|
//
|
|
// DashboardView
|
|
//
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1714, 1083);
|
|
Controls.Add(tabControlDash);
|
|
Controls.Add(toolStripDash);
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
|
Margin = new Padding(4, 5, 4, 5);
|
|
Name = "DashboardView";
|
|
Text = "Dashboard";
|
|
toolStripDash.ResumeLayout(false);
|
|
toolStripDash.PerformLayout();
|
|
tabControlDash.ResumeLayout(false);
|
|
tabDashboard.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)picEquity).EndInit();
|
|
pnlChartsBottom.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)picDay).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)picModule).EndInit();
|
|
flpKpis.ResumeLayout(false);
|
|
tabHistory.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dgvTrades).EndInit();
|
|
pnlHistFilters.ResumeLayout(false);
|
|
pnlHistFilters.PerformLayout();
|
|
tabModules.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dgvModules).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ToolStrip toolStripDash;
|
|
private System.Windows.Forms.ToolStripLabel tslKonto;
|
|
private System.Windows.Forms.ToolStripComboBox cbAccount;
|
|
private System.Windows.Forms.ToolStripLabel tslModul;
|
|
private System.Windows.Forms.ToolStripComboBox cbModule;
|
|
private System.Windows.Forms.ToolStripLabel tslArt;
|
|
private System.Windows.Forms.ToolStripComboBox cbMode;
|
|
private System.Windows.Forms.ToolStripLabel tslZeit;
|
|
private System.Windows.Forms.ToolStripComboBox cbRange;
|
|
private System.Windows.Forms.ToolStripButton tsRefresh;
|
|
private System.Windows.Forms.TabControl tabControlDash;
|
|
private System.Windows.Forms.TabPage tabDashboard;
|
|
private System.Windows.Forms.FlowLayoutPanel flpKpis;
|
|
private System.Windows.Forms.Label lblKpiPnl;
|
|
private System.Windows.Forms.Label lblKpiWin;
|
|
private System.Windows.Forms.Label lblKpiTrades;
|
|
private System.Windows.Forms.Label lblKpiAvg;
|
|
private System.Windows.Forms.Label lblKpiPf;
|
|
private System.Windows.Forms.Panel pnlChartsBottom;
|
|
private System.Windows.Forms.PictureBox picModule;
|
|
private System.Windows.Forms.PictureBox picDay;
|
|
private System.Windows.Forms.PictureBox picEquity;
|
|
private System.Windows.Forms.TabPage tabHistory;
|
|
private System.Windows.Forms.Panel pnlHistFilters;
|
|
private System.Windows.Forms.Label lblSuche;
|
|
private System.Windows.Forms.TextBox tbSearch;
|
|
private System.Windows.Forms.Label lblErgebnis;
|
|
private System.Windows.Forms.ComboBox cbWinLoss;
|
|
private System.Windows.Forms.DataGridView dgvTrades;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colModule;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colAccount;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colMarket;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colOutcome;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colSide;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colEntry;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colExit;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colSize;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colPnl;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colPnlPct;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colClosedAt;
|
|
private System.Windows.Forms.TabPage tabModules;
|
|
private System.Windows.Forms.Label lblModulesInfo;
|
|
private System.Windows.Forms.DataGridView dgvModules;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colModName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colModStatus;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colModHint;
|
|
private System.Windows.Forms.DataGridViewButtonColumn colModAction;
|
|
}
|
|
}
|