protected override void Start() { base.Start(); GwenChild = AltGUIHelper.Create_AwesomiumControl(GetOrCreateGwenCanvas()); Child.BackColor = Alt.Sketch.Color.FromArgb(96, Alt.Sketch.Color.DodgerBlue); }
protected override void Start() { base.Start(); Child = AltGUIHelper.Create_QuickFontControl(); Child.Paint += QuickFont_OnPaint; }
public void SetPlotDefaultBackColor() { Alt.GUI.NPlot.Temporary.Gwen.PlotSurface2DControl plotSurface = PlotSurface; if (plotSurface == null) { return; } AltGUIHelper.SetNPlotSurfaceDefaultBackColor(plotSurface); }
protected override void Start() { base.Start(); GwenChild = AltGUIHelper.Create_HtmlLabel(GetOrCreateGwenCanvas()); Alt.GUI.HtmlRenderer.Temporary.Gwen.HtmlLabel htmlLabel = HtmlLabel; if (htmlLabel == null) { return; } htmlLabel.RenderError += OnRenderError; htmlLabel.LinkClicked += OnLinkClicked; htmlLabel.StylesheetLoad += OnStylesheetLoad; htmlLabel.ImageLoad += OnImageLoad; }
protected void Start(Alt.GUI.NPlot.Temporary.Gwen.PlotSurface2DControl plotSurface) { if (plotSurface == null) { return; } plotSurface.Clear(); PlotDataSet(plotSurface.Inner); plotSurface.AddInteraction(new Alt.GUI.NPlot.Temporary.Gwen.PlotSurface2DControl.Interactions.HorizontalDrag()); plotSurface.AddInteraction(new Alt.GUI.NPlot.Temporary.Gwen.PlotSurface2DControl.Interactions.VerticalDrag()); plotSurface.AddInteraction(new Alt.GUI.NPlot.Temporary.Gwen.PlotSurface2DControl.Interactions.AxisDrag(true)); plotSurface.Refresh(); AltGUIHelper.SetNPlotSurfaceDefaultBackColor(plotSurface); }
protected override void Start() { base.Start(); GwenChild = AltGUIHelper.Create_FarseerPhysicsContainer(GetOrCreateGwenCanvas()); AltGUIHelper.FarseerPhysicsContainer farseerPhysicsContainer = FarseerPhysicsContainer; if (farseerPhysicsContainer == null) { return; } farseerPhysicsContainer.Paint += FarseerPhysicsContainer_OnPaint; farseerPhysicsContainer.MouseDown += RaiseFarseerPhysicsMouseDown; farseerPhysicsContainer.MouseUp += RaiseFarseerPhysicsMouseUp; farseerPhysicsContainer.MouseMove += RaiseFarseerPhysicsMouseMove; farseerPhysicsContainer.Focus(); }
protected override void Start() { base.Start(); GwenChild = AltGUIHelper.Create_Box2DContainer(GetOrCreateGwenCanvas(), DebugDraw); AltGUIHelper.Box2DContainer box2DContainer = Box2DContainer; if (box2DContainer == null) { return; } m_InfoFont = new Alt.Sketch.Font("Arial", 10.01, Alt.Sketch.FontStyle.Bold); box2DContainer.Paint += Box2DContainer_OnPaint; box2DContainer.MouseDown += RaiseBox2DMouseDown; box2DContainer.MouseUp += RaiseBox2DMouseUp; box2DContainer.MouseMove += RaiseBox2DMouseMove; box2DContainer.Focus(); }
protected override void Start() { base.Start(); Child = AltGUIHelper.Create_ICSharpCodeTextEditorControl(); }
protected override void Start() { base.Start(); GwenChild = AltGUIHelper.Create_NPlotSurface(GetOrCreateGwenCanvas()); }
protected override void Start() { base.Start(); GwenChild = AltGUIHelper.Create_ZedGraphControl(GetOrCreateGwenCanvas()); }
protected override void Start() { base.Start(); Child = AltGUIHelper.Create_SVGControl(); }
protected override void Start() { base.Start(); Child = AltGUIHelper.Create_PictureBox(); }