public void methodon(String t, String parent)
        {
            if (t == "查看")
            {
                UserControl系统信息1.Init(0);
                panelback.Visible = false;
                panelback.Controls.Clear();
                UserControl系统信息1.Dock = DockStyle.Fill;
                panelback.Controls.Add(UserControl系统信息1);
                panelback.Visible = true;
            }

            if (t == "启动")
            {
                UserControl安全1.Init(0);
                panelback.Visible = false;
                panelback.Controls.Clear();
                UserControl安全1.Dock = DockStyle.Fill;
                panelback.Controls.Add(UserControl安全1);
                panelback.Visible = true;
            }

            if (t == "系统")
            {
                UserControl系统选项1.Init(0);
                panelback.Visible = false;
                panelback.Controls.Clear();
                UserControl系统选项1.Dock = DockStyle.Fill;
                panelback.Controls.Add(UserControl系统选项1);
                panelback.Visible = true;
            }

            if (t == "选项")
            {
                UserControl系统设置1.Init(0);
                panelback.Visible = false;
                panelback.Controls.Clear();
                UserControl系统设置1.Dock = DockStyle.Fill;
                panelback.Controls.Add(UserControl系统设置1);
                panelback.Visible = true;
            }

            if (t == "传感器")
            {
                UserControl系统设置1.Init(1);
                panelback.Visible = false;
                panelback.Controls.Clear();
                UserControl系统设置1.Dock = DockStyle.Fill;
                panelback.Controls.Add(UserControl系统设置1);
                panelback.Visible = true;
            }
        }
        public void methodon(String t, String parent)
        {
            string _temp = "";

            if(GlobeVal.mysys.language ==0)
            {
                _temp = "查看";
            }
            else
            {
                _temp = "View";
            }

            if (t == _temp )
            {

                UserControl系统信息1.Init(0);
                panelback.Visible = false;
                panelback.Controls.Clear();
                UserControl系统信息1.Dock = DockStyle.Fill;
                panelback.Controls.Add(UserControl系统信息1);
                panelback.Visible = true;
            }

            if (GlobeVal.mysys.language == 0)
            {
                _temp = "启动";
            }
            else
            {
                _temp = "Setup";
            }

            if (t == _temp )
            {

                UserControl安全1.Init(0);
                panelback.Visible = false;
                panelback.Controls.Clear();
                UserControl安全1.Dock = DockStyle.Fill;
                panelback.Controls.Add(UserControl安全1);
                panelback.Visible = true;
            }

            if (GlobeVal.mysys.language == 0)
            {
                _temp = "系统";
            }
            else
            {
                _temp = "System";
            }


            if (t == _temp)
            {

                UserControl系统选项1.Init(0);
                panelback.Visible = false;
                panelback.Controls.Clear();
                UserControl系统选项1.Dock = DockStyle.Fill;
               
                panelback.Controls.Add(UserControl系统选项1);
                panelback.Visible = true;
            }

            if (GlobeVal.mysys.language == 0)
            {
                _temp = "选项";
            }
            else
            {
                _temp = "Options";
            }


            if (t ==_temp )
            {
               
                UserControl系统设置1.initgrid();
                UserControl系统设置1.Init(0);
                panelback.Visible = false;
                panelback.Controls.Clear();
                UserControl系统设置1.Dock = DockStyle.Fill;
                
                panelback.Controls.Add(UserControl系统设置1);
                panelback.Visible = true;
            }

            if (t == "传感器")
            {
                UserControl系统设置1.Init(1);
                panelback.Visible = false;
                panelback.Controls.Clear();
                UserControl系统设置1.Dock = DockStyle.Fill;
                panelback.Controls.Add(UserControl系统设置1);
                panelback.Visible = true;
            }

        }