示例#1
0
        private void groupBox3_Enter_1(object sender, EventArgs e)
        {
            grapic          = new GrapicWindowForm(DefaultGraphSettings.GetSettings("Accelerometer"));
            grapic.TopLevel = false;
            groupBox3.Controls.Add(grapic);
            grapic.FormBorderStyle = FormBorderStyle.None;
            grapic.Dock            = DockStyle.Fill;

            grapic.Show();
        }
示例#2
0
文件: FormIMU.cs 项目: hipnuc/Uranus
        public void OpenGraph(string name)
        {
            if (DefaultGraphSettings.GetSettings(name) == null)
            {
                return;
            }

            GrapicWindowForm graph = new GrapicWindowForm(DefaultGraphSettings.GetSettings(name));

            Active_GraphWindows.Add(name, graph);

            Active_GraphWindows[name].FormClosed += Graph_FormClosed;
            Active_GraphWindows[name].Show();
        }
示例#3
0
        public void OpenGraph(string name)
        {
            if (DefaultGraphSettings.GetSettings(name) == null)
            {
                return;
            }

            GrapicWindowForm graph = new GrapicWindowForm(DefaultGraphSettings.GetSettings(name)); //生成窗体结构

            Active_GraphWindows.Add(name, graph);                                                  //添加数据

            graph.TopLevel = false;
            groupBox3.Controls.Add(graph);
            graph.FormBorderStyle = FormBorderStyle.None;
            graph.Dock            = DockStyle.Fill;
            graph.Show();
        }
示例#4
0
        public void OpenGraph(string name)
        {
            if (DefaultGraphSettings.GetSettings(name) == null)
            {
                return;
            }

            GrapicWindowForm graph = new GrapicWindowForm(DefaultGraphSettings.GetSettings(name));

            Active_GraphWindows.Add(name, graph);

            //Active_GraphWindows[name].FormClosed += Graph_FormClosed;
            //  Active_GraphWindows[name].Show();
            //grapic = new GrapicWindowForm(DefaultGraphSettings.GetSettings("Accelerometer"));
            graph.TopLevel = false;
            groupBox3.Controls.Add(graph);

            graph.FormBorderStyle = FormBorderStyle.None;
            graph.Dock            = DockStyle.Fill;
            graph.Show();
        }