public PhotoshopProxy()
        {
            /*
             * Ensure that the static members are initialized correctly
             *
             * */

            m_app2        = new Application();
            m_app         = new PhotoshopTypeLibrary.PhotoshopApplication();
            m_app.Visible = 1;

            m_control = m_app.MakeControlObject();

            //WORKITEM: throw exception if either of these are null
        }
 public static PhotoshopTypeLibrary.IActionDescriptor GetActionProperty(this PhotoshopTypeLibrary.IActionControl ctrl, IActionReference ref1)
 {
     PhotoshopTypeLibrary.IActionDescriptor result;
     ctrl.GetActionProperty(ref1, out result);
     return(result);
 }