Ejemplo n.º 1
0
        public temp()
        {
            InitializeComponent();

            //if (System.Diagnostics.Debugger.IsAttached)
            {
                try
                {
                    var ogl = new OpenGLtest2();

                    //Controls.Add(ogl);

                    ogl.Dock = DockStyle.Fill;

                    ogl.Click += delegate(object sender, EventArgs args)
                    {
                        tableLayoutPanel1.Visible     = !tableLayoutPanel1.Visible;
                        controlSensorsStatus1.Visible = !controlSensorsStatus1.Visible;
                    };
                }
                catch
                {
                }
            }

            Tracking.AddPage(
                MethodBase.GetCurrentMethod().DeclaringType.ToString(),
                MethodBase.GetCurrentMethod().Name);
        }
Ejemplo n.º 2
0
        public temp()
        {
            InitializeComponent();

            //if (System.Diagnostics.Debugger.IsAttached)
            {
                try
                {
                    var ogl = new OpenGLtest2();

                    Controls.Add(ogl);

                    ogl.Dock = DockStyle.Fill;
                }
                catch
                {
                }
            }

            Tracking.AddPage(
                MethodBase.GetCurrentMethod().DeclaringType.ToString(),
                MethodBase.GetCurrentMethod().Name);
        }
Ejemplo n.º 3
0
        private void but_3dmap_Click(object sender, EventArgs e)
        {
            var ogl = new OpenGLtest2();

            ogl.ShowUserControl();
        }