UltimateZoneBuilder/Source/Plugins/USDF/ToolsForm.cs
2010-08-23 17:35:33 +00:00

71 lines
1.4 KiB
C#

#region === Copyright (c) 2010 Pascal van der Heiden ===
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.ComponentModel;
using System.Windows.Forms;
using CodeImp.DoomBuilder.Windows;
#endregion
namespace CodeImp.DoomBuilder.USDF
{
public partial class ToolsForm : Form
{
#region ================== Constants
#endregion
#region ================== Variables
#endregion
#region ================== Properties
#endregion
#region ================== Constructor / Destructor
// Constructor
public ToolsForm()
{
InitializeComponent();
General.Interface.AddButton(dialogbutton, ToolbarSection.Script);
General.Interface.AddMenu(dialogitem, MenuSection.ViewScriptEdit);
}
// Disposer
protected override void Dispose(bool disposing)
{
if(disposing && (components != null))
{
components.Dispose();
}
General.Interface.RemoveButton(dialogbutton);
General.Interface.RemoveMenu(dialogitem);
base.Dispose(disposing);
}
#endregion
#region ================== Methods
// This invokes an action from control event
private void InvokeTaggedAction(object sender, EventArgs e)
{
General.Interface.InvokeTaggedAction(sender, e);
}
#endregion
#region ================== Events
#endregion
}
}