예제 #1
0
        //模板管理
        private void button5_Click(object sender, EventArgs e)
        {
            HostTabsViewFrm frm = new HostTabsViewFrm("huawei/template/list.html");

            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
예제 #2
0
        //固件升级 - 升级任务管理
        private void button8_Click(object sender, EventArgs e)
        {
            HostTabsViewFrm frm = new HostTabsViewFrm("huawei/firmware/listFirmwareTask.html");

            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
예제 #3
0
        //软件源管理
        private void button4_Click(object sender, EventArgs e)
        {
            HostTabsViewFrm frm = new HostTabsViewFrm("huawei/softwareManager/softManager.html");

            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
예제 #4
0
        //eSight配置
        private void button1_Click(object sender, EventArgs e)
        {
            HostTabsViewFrm frm = new HostTabsViewFrm("huawei/eSight/eSightConfig.html");

            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
예제 #5
0
        //
        private void button8_Click(object sender, EventArgs e)
        {
            HostTabsViewFrm frm = new HostTabsViewFrm("huawei/upgradePackageWarehouse/index.html");

            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
예제 #6
0
        //配置管理
        private void button7_Click(object sender, EventArgs e)
        {
            HostTabsViewFrm frm = new HostTabsViewFrm("huawei/configuration/index.html");

            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
예제 #7
0
        private void button11_Click(object sender, EventArgs e)
        {
            HostTabsViewFrm frm = new HostTabsViewFrm("huawei/deviceVersionStatus/index.html");

            frm.WindowState = FormWindowState.Maximized;
            frm.Show();
        }
예제 #8
0
 /// <summary>
 /// Initializes CefSharp .
 /// Need to Initialize and Shutdown Cef on the same thread.
 /// 在线程中初始化cef,并在应用程序退出时,在该线程shutdown Cef
 /// </summary>
 /// <param name="form">The form.</param>
 public static void Init(HostTabsViewFrm form)
 {
     if (cefInitThread == null)
     {
         method        = new ParamThread(form);
         cefInitThread = new Thread(new ThreadStart(method.DoInit));
         cefInitThread.Start();
     }
 }
예제 #9
0
 //包含参数的构造函数
 public ParamThread(HostTabsViewFrm _form)
 {
     this.form = _form;
 }