Ejemplo n.º 1
0
        private void btnSetting_Click(object sender, EventArgs e)
        {
            FrmDevSetting frmdev = new FrmDevSetting();

            frmdev.ShowDialog();
            loadTitle();
        }
Ejemplo n.º 2
0
        private void tsRun2_Click(object sender, EventArgs e)
        {
            if (griddev.CurrentCell == null)
            {
                return;
            }
            List <PluginClass> plist = griddev.DataSource as List <PluginClass>;
            PluginClass        pc    = plist[griddev.CurrentCell.RowIndex];

            if (pc.plugintype == "WinformModulePlugin" || pc.plugintype == "WcfModulePlugin")
            {
                if (pc.name != entryplugin)
                {
                    FrmDevSetting frmdev = new FrmDevSetting();
                    frmdev.ShowDialog();
                    loadTitle();
                    return;
                }

                if (pc.plugintype == "WcfModulePlugin")
                {
                    CommonHelper.OpenProcess(CommonHelper.AppRootPath + "\\WCF服务主机.bat");
                }
                CommonHelper.OpenProcess(CommonHelper.AppRootPath + "\\EFWWin.bat");
            }
            else if (pc.plugintype == "WebModulePlugin")
            {
                CommonHelper.OpenProcess(CommonHelper.AppRootPath + "\\NetWebServer.exe");
            }
        }