private void RenameConfiguration(string oldName)
        {
            RenameConfigurationDialog dlg = new RenameConfigurationDialog(project, oldName);

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                project.Configs[oldName].Name = dlg.ConfigurationName;
                FillListBox();
            }
        }
 private void RenameConfiguration(string oldName)
 {
     using (RenameConfigurationDialog dlg =
                new RenameConfigurationDialog(project, oldName))
     {
         this.Site.Container.Add(dlg);
         if (dlg.ShowDialog() == DialogResult.OK)
         {
             project.Configs[oldName].Name = dlg.ConfigurationName;
             FillListBox();
         }
     }
 }
		private void RenameConfiguration( string oldName )
		{
			using( RenameConfigurationDialog dlg = 
					   new RenameConfigurationDialog( project, oldName ) )
			{
				this.Site.Container.Add( dlg );
				if ( dlg.ShowDialog() == DialogResult.OK )
				{
					project.Configs[oldName].Name = dlg.ConfigurationName;
					FillListBox();
				}
			}
		}