Cyotek.Spriter.Addin.ProjectPropertiesEditor/PropertiesDialog.cs
Download
Donate
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Contents of spriteraddinsample.zip/Cyotek.Spriter.Addin.ProjectPropertiesEditor/PropertiesDialog.cs
using System;
using System.Windows.Forms;
namespace Cyotek.Spriter.Addin.ProjectPropertiesEditor
{
public partial class PropertiesDialog : Form
{
#region Public Constructors
public PropertiesDialog()
{
InitializeComponent();
}
public PropertiesDialog(object propertiesObject)
: this()
{
if (propertiesObject == null)
throw new ArgumentNullException("propertiesObject");
propertyGrid.SelectedObject = propertiesObject;
}
#endregion Public Constructors
#region Event Handlers
private void closeButton_Click(object sender, EventArgs e)
{
this.Close();
}
#endregion Event Handlers
}
}
Files
- Cyotek.Spriter.Addin.ProjectPropertiesEditor
