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(); }
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(); }
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(); }
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(); }