Moving back to trunk!

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1602 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-01-24 19:24:36 +00:00
commit 8d458998a1
332 changed files with 17647 additions and 9466 deletions

View file

@ -19,7 +19,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace Greenshot.Helpers {
@ -28,13 +27,10 @@ namespace Greenshot.Helpers {
/// (parent) OwnerItems are ENabled with ToolStripItems,
/// (child) DropDownItems are ENabled and DISabled with ToolStripItems.
/// </summary>
public class ToolStripItemEndisabler {
public static class ToolStripItemEndisabler {
[Flags]
enum PropagationMode {NONE=0, CHILDREN=1, ANCESTORS=2};
private ToolStripItemEndisabler() {
}
/// <summary>
/// Enables all of a ToolStrip's children (recursively),
/// but not the ToolStrip itself