~charlie.poole/nunitv2/equality-handlers

« back to all changes in this revision

Viewing changes to src/GuiComponents/UiKit/ConfigurationEditor.cs

  • Committer: Charlie Poole
  • Date: 2011-03-29 21:54:46 UTC
  • mfrom: (3257.4.15 standalone-editor)
  • Revision ID: charlie@nunit.org-20110329215446-pu1r6okg4www4zat
Remove integrated project editor and substitute new standalone editor

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
        /// ConfigurationEditor form is designed for adding, deleting
19
19
        /// and renaming configurations from a project.
20
20
        /// </summary>
21
 
        public class ConfigurationEditor : System.Windows.Forms.Form
 
21
    public class ConfigurationEditor : NUnitFormBase
22
22
        {
23
23
                #region Instance Variables
24
24
 
191
191
                        if ( project.Configs.Count == 1 )
192
192
                        {
193
193
                                string msg = "Removing the last configuration will make the project unloadable until you add another configuration.\r\rAre you sure you want to remove the configuration?";
194
 
                                
195
 
                                if( UserMessage.Ask( msg, "Remove Configuration" ) == DialogResult.No )
 
194
 
 
195
                if (MessageDisplay.Ask(msg) == DialogResult.No)
196
196
                                        return;
197
197
                        }
198
198