Exemple #1
0
        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);
        }
Exemple #2
0
 public LineSelectTool(CustomGL targetControl) : base(targetControl)
 {
 }
Exemple #3
0
 public DataDisplayTool(CustomGL targetControl) : base(targetControl)
 {
 }
Exemple #4
0
 public RectSelectTool(CustomGL targetControl) : base(targetControl)
 {
     LineColor = new Vector4(1, 0, 0, 1);
 }
Exemple #5
0
 protected UITool(CustomGL targetControl)
 {
     this.targetControl = targetControl;
 }