Download spriteraddinsample.zip version , last updated 10 September 2011 (7.84 KB)

Download 

Preview

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  
  }
}

Donate

Donate