mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 20:32:34 +00:00
4ae985d630
- no more mousebutton-specific code in the editing modes (now all bound by actions) - some progress on the drawing editing mode
43 lines
1.2 KiB
C#
43 lines
1.2 KiB
C#
|
|
#region ================== Copyright (c) 2007 Pascal vd Heiden
|
|
|
|
/*
|
|
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
|
|
* This program is released under GNU General Public License
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#endregion
|
|
|
|
#region ================== Namespaces
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Text;
|
|
using System.Reflection;
|
|
|
|
#endregion
|
|
|
|
namespace CodeImp.DoomBuilder.Controls
|
|
{
|
|
/// <summary>
|
|
/// This binds a method to an action which is then called when the action is started.
|
|
/// </summary>
|
|
public class BeginActionAttribute : ActionAttribute
|
|
{
|
|
/// <summary>
|
|
/// This binds a method to an action which is then called when the action is started.
|
|
/// </summary>
|
|
/// <param name="action">The action name as defined in Actions.cfg resource.</param>
|
|
public BeginActionAttribute(string action) : base(action)
|
|
{
|
|
}
|
|
}
|
|
}
|