Download spriteraddinsample.zip, last updated 10/09/2011 (7.84 KB)

Download
  • md5: ab1f57172df929dbeec123cbcbf1e931
using Cyotek.ApplicationServices;

namespace Cyotek.Spriter.Addin.ProjectPropertiesEditor
{
  [AutoLoad]
  public class ProjectPropertiesCommand : CommandBase
  {
  #region  Public Constructors  

    public ProjectPropertiesCommand()
      : base("Addin.ProjectPropertiesEditor")
    {
      this.Text = "Ad&vanced...";
    }

  #endregion  Public Constructors  

  #region  Public Overridden Methods  

    public override void Execute()
    {
      using (PropertiesDialog dialog = new PropertiesDialog(ServiceManager.Current.GetService<Project>()))
        dialog.ShowDialog(this.Application.MainForm);
    }

  #endregion  Public Overridden Methods  
  }
}

Donate

Donate