Exemple #1
0
        private void btnAppPoolIds_Click(object sender, EventArgs e)
        {
            frmWebSites frm = new frmWebSites();

            frm.StartPosition = FormStartPosition.CenterParent;
            frm.Show();
        }
Exemple #2
0
        private void 拆分应用程序池ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (dgvProcess.Rows.Count == 0)
            {
                return;
            }
            string      Intro = dgvProcess["Intro", dgvProcess.CurrentCell.RowIndex].Value.ToString();
            frmWebSites frm   = new frmWebSites();

            frm.InAppPoolId = Intro;
            if (frm.ShowDialog() == DialogResult.Yes)
            {
                int ProcessId = Convert.ToInt32(dgvProcess["ProcessId", dgvProcess.CurrentCell.RowIndex].Value);
                Process.GetProcessById(ProcessId).Kill();
            }
        }
Exemple #3
0
 private void 拆分应用程序池ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (dgvProcess.Rows.Count == 0)
     {
         return;
     }
     string Intro = dgvProcess["Intro", dgvProcess.CurrentCell.RowIndex].Value.ToString();
     frmWebSites frm = new frmWebSites();
     frm.InAppPoolId = Intro;
     if (frm.ShowDialog() == DialogResult.Yes)
     {
         int ProcessId = Convert.ToInt32(dgvProcess["ProcessId", dgvProcess.CurrentCell.RowIndex].Value);
         Process.GetProcessById(ProcessId).Kill();
     }
 }
Exemple #4
0
 private void btnAppPoolIds_Click(object sender, EventArgs e)
 {
     frmWebSites frm = new frmWebSites();
     frm.StartPosition = FormStartPosition.CenterParent;
     frm.Show();
 }