public ConfigurationComboBox()
            : base(0.5f, 0.5f, 1.0f, 0f)
        {
            LeftPadding = 3;
            RightPadding = 3;
            combo = Gtk.ComboBox.NewText ();
            combo.Changed += new EventHandler (OnChanged);
            Add (combo);
            ShowAll ();

            onActiveConfigurationChanged = (ConfigurationEventHandler) Runtime.DispatchService.GuiDispatch (new ConfigurationEventHandler (OnActiveConfigurationChanged));
            onConfigurationsChanged = (ConfigurationEventHandler) Runtime.DispatchService.GuiDispatch (new ConfigurationEventHandler (OnConfigurationsChanged));

            Runtime.ProjectService.CombineOpened += (CombineEventHandler) Runtime.DispatchService.GuiDispatch (new CombineEventHandler (OpenCombine));
            Runtime.ProjectService.CombineClosed += (CombineEventHandler) Runtime.DispatchService.GuiDispatch (new CombineEventHandler (CloseCombine));
            Reset ();
        }
 public NUnitAssemblyGroupNodeBuilder()
 {
     configsChanged = (ConfigurationEventHandler)DispatchService.GuiDispatch(new ConfigurationEventHandler(OnConfigurationsChanged));
 }
		public NUnitAssemblyGroupNodeBuilder ()
		{
			configsChanged = (ConfigurationEventHandler) DispatchService.GuiDispatch (new ConfigurationEventHandler (OnConfigurationsChanged));
		}