UltimateZoneBuilder/Source/Plugins/ZDoomUSDF/ToolsForm.cs
codeimp b2f672c94f Added 'conversation' UDMF field to Things in ZDoom configurations
Added the ability for plugins to choose the toolbar section in which to add a button
Added beginning of ZDoom USDF conversation editor plugin
2010-08-22 20:56:52 +00:00

69 lines
1.3 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.ZDoomUSDF
{
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);
}
// Disposer
protected override void Dispose(bool disposing)
{
if(disposing && (components != null))
{
components.Dispose();
General.Interface.RemoveButton(dialogbutton);
}
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
}
}