public GeneticProgrammingController(IReferView frmPrincipal, ConfigController configController) { singleton = this; this.frmPrincipal = frmPrincipal; this.configController = configController; gpRunner = new BTGPRunner(configController.config, this); }
public TradeSystemController(IReferView frmPrincipal, ConfigController configController) { this.frmPrincipal = frmPrincipal; this.configController = configController; holder = TradeSystemHolder.LoadSaved(); vc = new VariavelController(this, frmPrincipal); UpdateUI(); }
public TerraDrawerMultiThread(Panel panelDraw, IReferView refer, int memorySize) { drawer = new TerraDrawer(panelDraw, refer, memorySize); actions = new List <DelayedDraw>(); actionsRecycled = new List <DelayedDraw>(); //DrawRect(0, 0, 0, drawer.width, drawer.height); AddDelayed("DrawRect", 0, 0, 0, drawer.width, drawer.height); }
public FrontController(IReferView frmFront, ConfigController configController) { this.frmFront = frmFront; this.configController = configController; frontData = FrontData.LoadSaved(); //precisa ser mesmo dia... o preço será sugerido para comprar configController.config.flagCompraMesmoDia = true; configController.config.flagVendaMesmoDia = true; }
public TerraDrawer(Panel panelDraw, IReferView refer, int memorySize) { this.panelDraw = panelDraw; this.refer = refer; canvas = new ShapeContainer(); canvas.Parent = panelDraw; shapes = new List <Shape>(); graphicsCanvas = canvas.CreateGraphics(); this.width = TierraConsts.GRAPH_OFFSET * 2 + TierraConsts.GRAPH_WIDTH * TierraConsts.GRAPH_SIZE; this.height = TierraConsts.GRAPH_OFFSET * 2 + (memorySize / TierraConsts.GRAPH_WIDTH) * TierraConsts.GRAPH_SIZE; img = new Bitmap(this.width, this.height); graphics = Graphics.FromImage(img); this.clip = new Rectangle(0, 0, this.width, this.height); }
public ConfigController(IReferView frmPrincipal) { this.frmPrincipal = frmPrincipal; facade = new FacadeBacktester(); facadeValidation = new FacadeBacktester(); config = Config.LoadSaved(); /*List<string> papeis = new List<string>(); * foreach (string papel in config.papeis) * { * papeis.Add(papel); * } * config.papeis = papeis;*/ UpdateUI(); ReloadPapeis(); }
public void setRefer(IReferView referView) { this.referView = referView; }
public VariavelController(TradeSystemController tradeSystemController, IReferView frmPrincipal) { this.tsC = tradeSystemController; this.frmPrincipal = frmPrincipal; }
public TierraController(IReferView frmPrincipal, IViewLife drawer) { this.frmPrincipal = frmPrincipal; this.drawer = drawer; }