public FigureForm() { InitializeComponent(); view = new CustomGLControl.CustomGL(this) { Location = new Point(0, toolbar.Height), Size = new Size(ClientSize.Width, ClientSize.Height - toolbar.Height), Name = "GLview" }; Controls.Add(view); }
public LineSelectTool(CustomGL targetControl) : base(targetControl) { }
public DataDisplayTool(CustomGL targetControl) : base(targetControl) { }
public RectSelectTool(CustomGL targetControl) : base(targetControl) { LineColor = new Vector4(1, 0, 0, 1); }
protected UITool(CustomGL targetControl) { this.targetControl = targetControl; }