Beispiel #1
0
        public OpenGLtest2()
        {
            instance = this;

            InitializeComponent();

            core.OnMapOpen();
        }
        public OpenGLtest2()
        {
            instance = this;

            InitializeComponent();

            core.OnMapOpen();
        }
        public temp()
        {
            InitializeComponent();

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

                this.Controls.Add(ogl);

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

            MissionPlanner.Utilities.Tracking.AddPage(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.ToString(), System.Reflection.MethodBase.GetCurrentMethod().Name);
        }
Beispiel #4
0
        public OpenGLtest2()
        {
            instance = this;

            InitializeComponent();

            core.OnMapOpen();

            type = GMap.NET.MapProviders.GoogleSatelliteMapProvider.Instance;
            prj  = type.Projection;

            this.Invalidate();

            Thread bg = new Thread(imageLoader)
            {
                IsBackground = true
            };

            bg.Start();
        }
        public temp()
        {
            InitializeComponent();

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

                    this.Controls.Add(ogl);

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

            Tracking.AddPage(
                MethodBase.GetCurrentMethod().DeclaringType.ToString(),
                MethodBase.GetCurrentMethod().Name);
        }