Files
OpenRA/SequenceEditor/Form1.cs
2009-10-29 22:49:49 +13:00

34 lines
674 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using OpenRa.FileFormats;
namespace SequenceEditor
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
Text += " - " + Program.UnitName;
}
void toolStripButton1_Click(object sender, EventArgs e)
{
var shp = GetTextForm.GetString( "Add SHP...", "" );
if (shp == null) return;
Program.LoadAndResolve(shp);
}
void toolStripButton2_Click(object sender, EventArgs e)
{
Program.Save();
}
}
}