Exemple #1
0
 /// <summary>
 /// Edits the environment variable.
 /// </summary>
 /// <param name="varName">Name of the variable.</param>
 /// <param name="varType">Type of the variable.</param>
 private void EditEnvVar(
     string varName, EnvironmentVariableTarget varType)
 {
     this.frmEditVariable = new FrmEditEnvVar(varName, varType);
     this.frmEditVariable.ShowDialog();
     this.frmEditVariable.Dispose();
 }
Exemple #2
0
 /// <summary>
 /// Edits the environment variable.
 /// </summary>
 /// <param name="varName">Name of the variable.</param>
 /// <param name="varType">Type of the variable.</param>
 private void EditEnvVar(
     string varName, EnvironmentVariableTarget varType)
 {
     this.frmEditVariable = new FrmEditEnvVar(varName, varType);
     this.frmEditVariable.ShowDialog();
     this.frmEditVariable.Dispose();
 }