예제 #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
파일: FormIMU.cs 프로젝트: bai-bit/c-sharp
        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();
        }