Phase 5-UI: JobsView extrahiert + Trading-Toggle in die Quickbar
- Neue JobsView (UserControl + Designer): DataGridView an JobManager.Jobs, Run-Now/Aktiv-Verhalten wie bisheriger Jobs-Tab. btn_jobs in toolstrip_windows, als View "core.jobs" registriert. - Trading-Toggle aus frm_main uebernommen: btn_liveTrading + btn_demoTrading in toolstrip_quickbar; Zyklus Inactive->SellOnly->Active mit Farb-/Textstatus, synchron zum TradingState (auch bei externen Aenderungen via 1s-Timer). - 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
f112668147
commit
8e2a92ad2e
+15
@@ -161,6 +161,21 @@ internal static class Program
|
||||
return view;
|
||||
}
|
||||
});
|
||||
uiHost.RegisterView(new PolyTrader.Core.Modularity.ModuleView
|
||||
{
|
||||
Id = "core.jobs",
|
||||
Title = "Server Jobs",
|
||||
Group = "Core",
|
||||
Order = 30,
|
||||
PreferredWidth = 1000,
|
||||
PreferredHeight = 500,
|
||||
CreateControl = () =>
|
||||
{
|
||||
var view = new PolyTraderSharp.Ui.Views.JobsView();
|
||||
view.Initialize(viewServices.GetRequiredService<JobManager>());
|
||||
return view;
|
||||
}
|
||||
});
|
||||
// TODO Phase 5-UI: registrierte IPolyTraderModule durchlaufen und module.RegisterUi(uiHost) aufrufen.
|
||||
|
||||
var launcher = AppHost.Services.GetRequiredService<PolyTraderSharp.Ui.LauncherForm>();
|
||||
|
||||
Reference in New Issue
Block a user