AddVhost() public méthode

public AddVhost ( string DocRoot, string SrvName ) : void
DocRoot string
SrvName string
Résultat void
Exemple #1
0
 private void Ok_Click(object sender, EventArgs e)
 {
     Vhosts vhostsList = new Vhosts();
     vhostsList.AddVhost(DocumentRoot.Text, ServerName.Text);
     vhostsList.ToFile();
     this.Close();
 }
Exemple #2
0
        private void Ok_Click(object sender, EventArgs e)
        {
            Vhosts vhostsList = new Vhosts();

            vhostsList.AddVhost(DocumentRoot.Text, ServerName.Text);
            vhostsList.ToFile();
            this.Close();
        }